More in this section

Forums / Developing with Sitefinity / indexing Generic content based custom module

indexing Generic content based custom module

5 posts, 0 answered
  1. Kameo
    Kameo avatar
    13 posts
    Registered:
    23 Feb 2006
    05 Nov 2008
    Link to this post
    I created a module based on the Products example.  I set up an index that has PageIndex indexing All Pages automatically.  I've added a list component that lists all the items from my custom module.  I've enabled paging so only the first 10 items in the list show up.

    The items on the first page show up in search results but if I search for words that should pull up results on the 2nd page of the list they never show.

    How do I index the data in my Custom module?  I've set all the metaFields to be searchable.
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    05 Nov 2008
    Link to this post
    Hi Kameo,

    You would need to create a new IndexingProvider for your module. Please refer to the forum post Indexing troubles for more information, because there is a discussion for the same problems.

    Kind regards,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Kameo
    Kameo avatar
    13 posts
    Registered:
    23 Feb 2006
    05 Nov 2008
    Link to this post
    Hi Georgi,

    Thank you for the link.  I tried to use that earlier but it doesn't work.  Maybe it's the wrong version (i'm using 3.5 community). 

    The error I get says:

    'CustomIndex.CustomIndexerInfo' does not
    implement interface member 'Telerik.Framework.Search.IIndexerInfo.Culture'

    I looked at the documentation and it does not refer to that interface.  I took a guess that culture was a string and added it.  Then I get the error:

    does not implement interface member 'Telerik.Framework.Search.IIndexerInfo.ItemID'

     
    which is also not in the documentation.  I assume that is a Guid so I added a property that gets and sets a private variable that's a guid.  I got the code to compile and indexing shows more pages being searched and more words being indexed but searching still does not display data from my custom module. 
  4. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    05 Nov 2008
    Link to this post
    Hi Team,

    Yes, I confirm the CustomIndex Provider found to index external Modules not compile in new v35sp0 and sp1, working fine in old v32_1616. Could you help to fix plz. Regards
  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    06 Nov 2008
    Link to this post
    Hi,

    We just posted an example which will help you in our Blogs - In the mean time series (part 4): BONUS TRACK - "Products" module – implementing search index.

    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
5 posts, 0 answered