Name | Type | Default value | Description |
---|---|---|---|
name | string | Name of the meta subject of the operation. Not required when this is inside a 'Meta' tag. | |
minLength | int | 100 | Minimum length of the snippet (in characters). |
maxLength | int | 150 | Maximum length of the snippet (in characters). |
maxSentenceSegmentLength | int | 150 | Maximum length of sentence segments in the snippet (in characters). |
minNbWordsInRelevantSentence | int | 10 | Minimum number of words for a sentence to be considered for snippetization |
maxSentenceSegments | int | 3 | Maximum number of sentence segments in the snippet. |
maxBytesToProcess | int | 131072 | Maximum number of bytes to process in the input text. The remaining bytes are not taken into account for the snippet operation. (0=deactivated) |
removeDuplicateSegments | boolean | Remove duplicate segments from the snippet. Using this option with a large number of segments may have a negative impact on performance. | |
maxConsecutiveSeparators | int | 0 | Maximum number of consecutive separators. When there are more than this number of separators, they are replaced with a single space character. |
splitOnSentences | boolean | True | Don't span over sentence boundaries. |
highlight | boolean | True | Highlight the snippet's tokens matching the query. |
minimalPatternHighlight | boolean | If true, only highlights the alphanumerical part of the pattern. For example, *foo* will only highlight foo in the word football. | |
relaxAndNodesPolicy | enum(never, toplevel, always) | toplevel | Relax query AND nodes (handle them as if they were OR nodes). Value can be null or one of • never • toplevel • always |
ifMeta | string | Fallback meta if one of the ifMetasMatch meta matches the query. | |
ifMetasMatch | string | Comma-separated list of metas to test against the user query. If a match is found, the summary is filled with the ifMeta value. | |
highlightFacetIds | string | Comma-separated list of facets id for which you want to highlight the values of the refines in the current meta. | |
highlightExtraPrefixHandlers | string | Comma-separated list of prefix handlers for which you want to highlight the query in the current meta. eg: if highlightExtraPrefixHandlers="spellslike" spellslike:foo will highlight foo and its alternate forms in the current meta | |
analysisConfig | string | Analysis config in which analysisPipeline is searched for tokenization config and extra semantic processors. | |
analysisPipeline | string | Pipeline in analysisConfig searched for tokenization config and extra semantic processors. |