Skip to content

Limit the number of analyzed tokens during highlighting #27517

@mayya-sharipova

Description

@mayya-sharipova

Limit the number of analyzed tokens during highlighting.
The maximum number is be 10K, and could be modified through an index setting.
If the limit is exceeded, return a flag that highlights are returned with partial results

This limit does NOT apply if documents used postings, indexed with offsets or term vectors.

relates to #27038
depending on the implementation approach, can be a duplicate of #26515

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions