i have got index created using standardanalyzer and my searcher is also using standard analyzer. I perform search and i get no results. The generated query looks like this
if i paste the query into luke i get as expected results. I am passing form field values to the search results page via a query string so i have something like
i url encode and on the results page i url decode. If i ammend the query string directoryType and remove +centre i get results. Anyone seen this before?
Not sure if you saw this post, but if the two terms for which you are searching aren't close together, examine may not return it as a hit since it doesn't implement PhraseQuery. We've had to manually break the search terms up and use a GroupedOr().
examine term with space issue
i have got index created using standardanalyzer and my searcher is also using standard analyzer. I perform search and i get no results. The generated query looks like this
if i paste the query into luke i get as expected results. I am passing form field values to the search results page via a query string so i have something like
i url encode and on the results page i url decode. If i ammend the query string directoryType and remove +centre i get results. Anyone seen this before?
Regards
Ismail
Ismail,
Not sure if you saw this post, but if the two terms for which you are searching aren't close together, examine may not return it as a hit since it doesn't implement PhraseQuery. We've had to manually break the search terms up and use a GroupedOr().
http://our.umbraco.org/forum/developers/extending-umbraco/13786-Examine-Multiple-search-terms-vs-Phrases
--Chris
Chris,
Many thanks that works a treat #h5yr!!!
Regards
Ismail
is working on a reply...