QuestionQ10

Given a scenario, identify how to troubleshoot and debug AEM Sites solutions

A client is encountering issues with certain query results:

  • Many of the client’s industry terms share the same meaning, and users do not always search using the exact wording.
  • Many users search by entering short phrases rather than exact keywords, for example: “cats and dogs”.

Which index analyzers should the AEM developer recommend?

  • A
    1. Add a Mapping filter to the current indexes2. Add a Stop filter to the current indexes
  • B
    1. Tokenize the current indexes with a Keyword tokenizer2. Add a Mapping filter to the current indexes
  • C
    1. Add a Synonym filter to the current indexes2. Add a Stop filter to the current indexes
  • D
    1. Add a Synonym filter to the current indexes2. Add a LowerCase filter to the current indexes
Explanation

A Synonym filter expands or normalizes equivalent industry terminology so searches using alternate wording can match the same content. A Stop filter removes common non-meaningful words such as conjunctions from short phrases, preserving the important search terms. AEM’s Oak Lucene analyzer configuration supports both synonym and stop-word filtering.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!