We're experiencing strange problems with content and are using Luke to help us find the reason. If a word is cased ie"Djärvt" Examine does not find it unless we add a trailing *.
We have an article with the Header "Djärvt och spännande" but the follwoing search does not give us the article:
Header:Djärvt (no results)
However - if we add a trailing * we get the article fine:
Header:Djärvt* Header:Djärv*
Searching for the other words also works fine:
Header:spännande Header:och
For a search for another article with the Header "Domotex mässa i Hannover", the following returns nothing:
Header:Domotex (no results) Header:Hannover (no results)
If you're using an english analyzere with non english caracters you'll probably have things going a bit funky. You should have a look for an analyzer in your desired language
Problems with Examine and caseing
We're experiencing strange problems with content and are using Luke to help us find the reason. If a word is cased ie"Djärvt" Examine does not find it unless we add a trailing *.
We have an article with the Header "Djärvt och spännande" but the follwoing search does not give us the article:
However - if we add a trailing * we get the article fine:
Searching for the other words also works fine:
For a search for another article with the Header "Domotex mässa i Hannover", the following returns nothing:
however this searches returns the article
Any ideas?
Thanks
Hi Jonas,
Have you tried using the fuzzy() method on the text you searching?
Example here - bottom of the page
or this post http://our.umbraco.org/forum/developers/extending-umbraco/14451-Examine-Search-NOT-EXACT-Word
Tom
If you're using an english analyzere with non english caracters you'll probably have things going a bit funky. You should have a look for an analyzer in your desired language
Hi Tom and Slace, thanks for your answers
it was simply the analyzer that was set to WhitespaceAnalyzer for the indexer, and hence using another in Luke got me strange results. I changed back to StandardAnalyzer and it works good now (I think). StandardAnalyzer "should cover most european languages", right? (http://our.umbraco.org/forum/developers/extending-umbraco/2223-Lucene-search-and-special-characters- )
regards
Jonas
is working on a reply...