I have some issues working with Examine right now and not most of the threat are not solved ones. Anyways hope that one will be.
After switching from XSLTSearch to Examine i notice am not getting the right output. For example if i search for the word "Pizza" it returns some values but in the case of lower case "pizza" it returns "0".
Is there a way of solving this ?
I did try using ToLower() or ToLowerInvariant() but nothing works. Is there a way of matching the cases?
var searcher = ExamineManager.Instance.SearchProviderCollection["Searcher"]; var searchCriteria = searcher.CreateSearchCriteria(BooleanOperation.Or);
What analyzer are you using for indexing / searching? Check your config files by default everything thing should be in index lowercase so searches should be case insensitive.
Not umbracoSettings but the ExamineSettings.config the index provider being used for the search what is the analyzer set to ? In fact if you just paste the contents of that file here and let me know which searcher you are using.
Matching case with Examine
Hi everyone,
I have some issues working with Examine right now and not most of the threat are not solved ones. Anyways hope that one will be.
After switching from XSLTSearch to Examine i notice am not getting the right output. For example if i search for the word "Pizza" it returns some values but in the case of lower case "pizza" it returns "0".
Is there a way of solving this ?
I did try using ToLower() or ToLowerInvariant() but nothing works. Is there a way of matching the cases?
//fuji
I someone got it working using Fuzzy()
Fuji,
What analyzer are you using for indexing / searching? Check your config files by default everything thing should be in index lowercase so searches should be case insensitive.
Regards
Ismail
Hi Ismail,
What should i look for in umbracoSettings.config ?
Not umbracoSettings but the ExamineSettings.config the index provider being used for the search what is the analyzer set to ? In fact if you just paste the contents of that file here and let me know which searcher you are using.
Regards
Ismail
is working on a reply...