More in this section

Forums / Developing with Sitefinity / search exact phrase

search exact phrase

2 posts, 0 answered
  1. Gokhan
    Gokhan avatar
    32 posts
    11 Jul 2008
    21 Sep 2009
    Link to this post
    is it supported on version 3.7 or will be supported on future releases? Thank you 
  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    26 Sep 2009
    Link to this post
    Hi Gokhan,

    This is possible in the current version of Sitefinity.

    Edit the SearchResult control, Validation->EscapeSpecialCharacters should be set to False. By doing so, the regular expressions defined in the web.config file:
            <add matchPattern="\A[\*\?\~][^\s]*" replacementString="" enabled="true" matchAlert="You can not start your query using wildcards, modify your query and try again.." /> 
            <add matchPattern="[\!\^\(\)\{\}\[\]]" replacementString="" enabled="true" matchAlert="Strange characters should be enclosed between double quotation, modify your query and try again.." /> 
    will become active. You can tweak them to allow the special characters - for example quotes (for phrase search) or */? for wildcard searches. 

    Let me know if you need any further information. 

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered