+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Search Index options to index text from content blocks

Search Index options to index text from content blocks

7 posts, 0 answered
  1. readonlychild
    readonlychild avatar
    67 posts
    Registered:
    26 May 2011
    31 Jan 2013
    Link to this post

    Can't seem to figure out how to make the sitefinity search functionality to index content inside content blocks...

    Is it possible with the out-of-the-box features ?

    What does "Static HTML" mean ?

    I just get hits when the "searchQuery" in in the Meta Fields...

    Another issue that could be brought up, is that it only hits complete words and does not do "contains", I guess this is standard Lucene behavior... :(


    P.S. Searching in the forums seems to not work...

  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    05 Feb 2013
    Link to this post
    Hello Ernesto,

    The purpose of the "Static HTML" option you mentioned is exactly what you want to achieve. It will index the html output on the page. Since content blocks render a div with content, this option will index the content of the content blocks on the pages, as well.
     
    As for the search, since we're using Lucene as a search engine, you can perform Wildcard search, as well as fuzzy search.

    Regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Neha
    Neha avatar
    7 posts
    Registered:
    21 May 2013
    11 Nov 2013 in reply to Jen Peleva
    Link to this post
    Hi,
    i am facing the same issue with "Search Index options to index text from content blocks"  (for sitefinity 6.0.4210.0)and i am doing below setting for resolving this issue.. 
    1)first i create on simple page by using our normal template(don't containing any complicated structure)
    2)taken content block on the same, edited that, and put text "Myhomepage" on that. put this keyword in keyword section(titles and property )
    3)Advaced setting for the same.(snapshotattched).
    4)reindexed my search index.
    after all it should search "Myhomepage" keyword but it's throwing error below:

    exception:
    Sequence contains no matching element
    could you please suggest me correct way for the same as its on high priority?

  4. Neha
    Neha avatar
    7 posts
    Registered:
    21 May 2013
    12 Nov 2013 in reply to Neha
    Link to this post
    Anyone ?
  5. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    14 Nov 2013
    Link to this post
    Hello Neha,

    The settings you have already done are correct. In addition you need to add also 'Keywords' in the advanced settings of your Search index. To do so you need to go on:
    Administration > Search Indexes > <your search index> > Advances section, add 'Keywords'.

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Neha
    Neha avatar
    7 posts
    Registered:
    21 May 2013
    14 Nov 2013 in reply to Svetoslav Manchev
    Link to this post
    Hi Svetoslav ,

    thanks a lot for your response. let me try this hope it should work.
    is it correct way to put each and every keyword to "titles and property section" ?
    as i had done in second step of my post i.e.
    2)taken content block on the same, edited that, and put text
    "Myhomepage" on that. put this keyword in keyword section(titles and
    property )
      as it can be hectic work to putting all bundles of keywords all of my website.

    is it feasible way to do the same for searching the content of content block?

    thanks in advance!
  7. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    29 Nov 2016
    18 Nov 2013
    Link to this post
    Hello,

    You need to put a keywords of each page that you want to be indexed (and re-index after each newly added indexes on it).

    When content block (news, events, etc) need to be indexed - their main page should be defined in the Search index.

    More information about the Search index could be found in the Sitefinity documentation.

    Regards,
    Svetoslav Manchev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
7 posts, 0 answered