Smart Search Analyzer Type Question

Vic Carter asked on October 7, 2014 18:17

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:

XX XX- 1234 -1234 XX-1234

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.

Recent Answers


Yehuda Lando answered on October 7, 2014 20:37

Is the field tokenized?

0 votesVote for this answer Mark as a Correct answer

Vic Carter answered on October 7, 2014 21:25 (last edited on October 7, 2014 21:25)

Yes. At the moment I have tried the "set automatically" setting which made most fields tokenized.

0 votesVote for this answer Mark as a Correct answer

Roman Koníček answered on November 30, 2014 11:30

Hi,

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

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.