More in this section

Forums / Developing with Sitefinity / Search only accepts full words

Search only accepts full words

2 posts, 0 answered
  1. Damian
    Damian avatar
    42 posts
    Registered:
    25 Mar 2008
    14 May 2008
    Link to this post
    Hello,

    The Search index only seems to come up with results if full words are entered correctly.  Is there any way of setting up wildcards so say if some typed ent they would get all results like entered and maybe even ones like scent.  i.e *ent* or ent* ?

    Thanks Damian
  2. Atanas
    Atanas avatar
    7 posts
    Registered:
    20 Oct 2015
    15 May 2008
    Link to this post
    Hello Damian,

    In fact, our Search index works with wildcards. If you search for: ent*, en*, e*, ent?, en?? or e?t, it will work. The only odd behaviour is that only the page title is shown without the highlighted content that matches your search. This is a because the highlighter doesn't support such wildcards highlighting and it may take us some time to implement.
    Please notice that if you put ? or * in front of the search term, it won't work (*ent, ?nt and etc.). This is by design and it is not supported.
     
    Kind regards,
    Atanas
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered