I am searching product documents, using a custom document type. I have tried all of the difference analyzer types, finally settling on "Subset". The string I am looking for is in the format XX-1234. I would assume based on the description of the "Subset" type that this should match any of the following:
However, the only string that gives a match is XX-1234. This occurs both with my search results AND when using the Search Preview. The document types are and paths are also set correctly. Am I missing something? I feel like this should just work.
Is the field tokenized?
Yes. At the moment I have tried the "set automatically" setting which made most fields tokenized.
Did you try to add CMSSubsetAnalyzerWordRegex web.config key to your web.config file? It sets a regular expression that determines which characters are allowed inside the "words" processed by search indexes with Subset and Starts with analyzers. Please for more information visit https://docs.kentico.com/display/K81/Reference+-+Web.config+application+keys#Reference-Web.configapplicationkeys-Smartsearchsettings
Regards, Roman Konicek
Please, sign in to be able to submit a new answer.