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

Forums / General Discussions / Search Text contains instead of equals

Search Text contains instead of equals

2 posts, 1 answered
  1. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    19 Jan 2012
    Link to this post
    I have some content on my site, a news article named "Living Well" for example, and if I search for "Living" or "Well" (not case sensitive), I'm able to find the news article. But my big problem is if I search for "ing" I get nothing in return.

    How do I change the search from returning only results where the words are equal instead of where the word contains my search text?
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    21 Jan 2012
    Link to this post
    Hello,

    For our search functionality we use Lucene, which supports wild card queries( * and ?). For example searches for book* will find documents containing terms such as book, bookstore, booklet, etc. Searches for mi*pelling will match both misspelling as well as mispelling. Searching for  Bra?il will match both Brasil and Brazil.

    Kind regards,
    Boyan Barnev
    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
    Answered
2 posts, 1 answered