MatchPhrasePrefixFieldOptions
org.sagebionetworks.repo.model.search.dsl.MatchPhrasePrefixFieldOptions
Per-field options for a match_phrase_prefix clause. Carried as the value of the field-keyed match_phrase_prefix map (the map key is the column name).
| Field | Type | Description |
|---|---|---|
| boost | NUMBER | Optional. Multiplier for the relevance score of this clause. Default 1.0. |
| _name | STRING | Optional. Label echoed back in matched-queries metadata. |
| zero_terms_query | STRING | Optional. Behavior when the analyzer removes all tokens: none (default) or all. |
| query | OBJECT | Required. The phrase whose last term is treated as a prefix. A string. |
| analyzer | STRING | Optional. Analyzer used to tokenize the phrase. Defaults to the field's search analyzer. |
| slop | INTEGER | Optional. Number of positions allowed between matching terms. Default 0. |
| max_expansions | INTEGER | Optional. Maximum number of terms the last (prefix) term expands into. Default 50. |