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

Forums / General Discussions / need to modify search criteria

need to modify search criteria

2 posts, 0 answered
  1. Shekar
    Shekar avatar
    35 posts
    Registered:
    11 Mar 2011
    18 Mar 2011
    Link to this post
    i have integrated the searchbox control in to a page in sitefinity, and when i am trying to search for keyword like 'TEST', the search is fetching all the pages which contains exact keywords 'TEST', but i want the searchbox to get all the pages which contains any match of the keyword like 'WEEKLYTEST', 'TESTBY' or '*TEST*', kindly suggest.

    Thanks in Advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    18 Mar 2011
    Link to this post
    Hi Shekar,

    It is possible, but you need to invoke the term you are looking form in the query string when the search button is clicked. Please take a look at

    http://lucene.apache.org/java/2_4_0/queryparsersyntax.html - Fields section

    Greetings,
    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered