Analyzers

To specify how the search engine handles words/phrases you use analyzers.

We recommend the following analyzers:

  • KeywordAnalyzer - splits words and phrases based on keywords
  • WhitespaceAnalyzer - splts words and phrases based on whitespace
  • StandardAnalyzer - splits words and phrases based on whitespace, hyphen, comma, full stop, recognizes e-mail addresses and domain names etc.

The standard analyzer is used by default in Litium Studio if no other analyzer is specified. The analyzer can be specified with or without "analyzer" in the name.

In Litium Studio the specification is set in the Tag.

var term = "min söksträng";
request.FilterTags.Add(new Tag(FieldNames.Body, term) { Analyzer = "whitespace" });
Is this page helpful?
Thank you for your feedback!