Every scalar field type can declare the NullAnalyzer to prevent the field from being indexed. Text fields can assign the
OpaqueTextAnalyzer to index the entire field as a single value instead of being tokenized into terms, or they can assign the
HTMLAnalyzer to index the field as HTML text. Binary fields are not indexed and must always use the
NullAnalyzer.
Using the TextAnalyzer, each unique term is indexed once (“a”, “happy”, “is”, etc.), and each whole value (“life is a beach”) is also indexed. Therefore phrase clauses such as
Quotes:Happy will select the object, as will equality searches such as
Quotes="life is a beach". If the analyzer is set to
OpaqueTextAnalyzer, only whole values are indexed, hence the equality clause will select the object but the term clause won’t. Details of each analyzer are described in the next sections.