Skip to content

Add wildcard and prefix intervals #43198

@romseygeek

Description

@romseygeek

We should expose the wildcard and prefix IntervalSource implementations
as providers in elasticsearch.

{ "prefix" : {
    "term" : term prefix,
    "analyzer" : optional analyzer (uses normalize() function),
    "use_field" : optional field switch
}}
{ "wildcard" : {
    "term" : term glob,
    "analyzer" : optional analyzer (uses normalize() function),
    "use_field" : optional field switch
}}

Span queries also allow you to wrap regexp and term range queries, and we can
consider adding these here as well, although they will also require some work in
lucene.

The prefix source can piggy-back on text fields index_prefixes functionality to
rewrite to simple term intervals sources

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions