For each of the field->value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the value.
For each of the field->value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the value. Returns a map from the fields to the produced token sequences.
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given reader, returning the produced token sequence.
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given string, returning the produced token sequence.
Java-friendly version: for each of the field->value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the value.
Java-friendly version: for each of the field->value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the value. Returns a map from the fields to the produced token sequences.
Java-friendly version: looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given reader, returning the produced token sequence.
Java-friendly version: looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given string, returning the produced token sequence.
For each of the field->multi-value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the each of the values.
For each of the field->multi-value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on the each of the values. Returns a map from the fields to the flattened concatenation of the produced token sequences.
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on each of the given values, and returns the flattened concatenation of the produced token sequence.
Java-friendly version: for each of the field->multi-value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on each of the values.
Java-friendly version: for each of the field->multi-value pairs in fieldValues, looks up the analyzer mapped to the field from the configured analysis schema, and uses it to perform analysis on each of the values. Returns a map from the fields to the flattened concatenation of the produced token sequences.
Java-friendly version: looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on each of the given values, and returns the flattened concatenation of the produced token sequence.
Returns the analyzer mapped to the given field in the configured analysis schema, if any.
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given reader, and returns a PreAnalyzedField-compatible JSON string with the following serialized attributes:
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given reader, and returns a PreAnalyzedField-compatible JSON string with the following serialized attributes:
- CharTermAttribute (token text), - OffsetAttribute (start and end position) - PositionIncrementAttribute (token position relative to the previous token)
If stored = true, the original reader input value, read into a string, will be included as a value to be stored. (Note that the Solr schema for the destination Solr field must be configured to store the value; if it is not, then the stored value included in the JSON will be ignored by Solr.)
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given string, and returns a PreAnalyzedField-compatible JSON string with the following serialized attributes:
Looks up the analyzer mapped to the given field from the configured analysis schema, uses it to perform analysis on the given string, and returns a PreAnalyzedField-compatible JSON string with the following serialized attributes:
If stored = true, the original string input value will be included as a value to be stored. (Note that the Solr schema for the destination Solr field must be configured to store the value; if it is not, then the stored value included in the JSON will be ignored by Solr.)
Looks up the analyzer mapped to fieldName
and returns a org.apache.lucene.analysis.TokenStream
for the analyzer to tokenize the contents of reader
.
Looks up the analyzer mapped to fieldName
and returns a org.apache.lucene.analysis.TokenStream
for the analyzer to tokenize the contents of text
.
This class allows simple access to custom Lucene text processing pipelines, a.k.a. text analyzers, which are specified via a JSON schema that hosts named analyzer specifications and mappings from field name(s) to analyzer(s).
Here's an example schema with descriptions inline as comments: