Which search function are you talking about, free text search or FindPageWithCriteria ?
Hi,
I am using free test search. I am using the following code to perform search on the contents.
<EPiServer:SearchDataSource ID="SearchDataSource" runat="server" EnableVisibleInMenu="true">
<SelectParameters>
<EPiServer:PropertyParameter Name="PageLink" PropertyName="SearchRoot" />
<asp:controlparameter name="SearchQuery" controlid="SearchText" propertyname="Text" />
</SelectParameters>
<Criteria>
<EPiServer:PropertyCriteriaControl ID="PropertyCriteriaControl1" Name="RemoveFromSearch"
Condition="NotEqual" runat="server" Type="Boolean" Value="True">
</EPiServer:PropertyCriteriaControl>
</Criteria>
</EPiServer:SearchDataSource>
If you wan't to change the free text indexing you need to change the regular expression that we use for indexing content into words. Its defined in web.config as "indexingTextRegExp". Its kind of complex so you need some kind of debugging tool for regular expressions so that you can test it.
Hi,
EPiServer search feature ignores searching special characters like %, @, & etc. I have created content with these special characters in different pages. If my search query is "_", episerver returns all the results. This is a strange behaviour as I believe all search engines should return the results of our search query provided it is available.
Request you all to provide some answers for this query.
Thanks,
Siva