Hi!
In our productsearch we have a problem, when searching for something with colon in it. It returns no result. How do I fix this?
Ex. when searching for micro 4:3 we get no result but there is a product with that name.
And when searching for it were using:
When handling searches it is both the search and the index creation that may need to get another analyzer so not the indexing is removing the : and then you not is able to find that even if you search with whitespace-analyzer.
Wildcard searches and fuzzyness can’t be combined. Fuzzyness can only be used if you search for a term without placeholder (wildcard, question-mark etc) characters.
Using * in front of word is the best thing you can do to if you want bad performance for the search. In most case that will not get any relevant hits anyway.
It does not exists a general rule that exists for all search cases. Sometimes it works with only changing the analyzer for the search, sometimes you need to add an IIndexingProviderPreProcessor that will change how the things are indexed because the indexing is also using analyzers and also the indexing analyzer may need to be changed from the standard analyzer one.