Expand my Community achievements bar.

Get ready! An upgraded Experience League Community experience is coming in January.

How can we use 2 different analyzer in a query Index?

Avatar

Community Advisor

Hello

 

We are currently using the Standard Analyzer for our content search to enable stopwords and keywords.

Our primary issue is that the Standard Analyzer is not returning expected results for multi-part terms (e.g., ABC_DEF) when searching for individual components like "ABC" or "DEF". Interestingly, the content is successfully returned when we switch to the Out-of-the-Box (OOTB) analyzer.

 

Option-1:

Can we set Standard Analyzer as the default for the entire index, while simultaneously being able to apply the OOTB analyzer to specific properties within that same index (e.g., cq:name and description of assets).

 

Is there a configuration to achieve this hybrid analyzer setup?


Option-2: Is there a way to configure Standard Analyzer that it considers ABC_DEF as "ABC" & "DEF"


Aanchal Sikka

0 Replies