Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query DSL: Support SpanMultiTermQueryWrapper #2400

Closed
speedplane opened this Issue Nov 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@speedplane
Copy link
Contributor

commented Nov 12, 2012

Elasticsearch does not support lucene's SpanMultiTermQueryWrapper. This lucene query allows users to form complicated queries such as wildcards or prefix queries embedded within span queries. These complex queries are regularly used in certain fields (e.g., legal research) and adding support for it would open ES up to a new field.

Unfortunately, adding support is not possible using a plugin because the plugin system offers no way to install new query types as plugins. All of the QueryBuilders are hard-coded in QueryBuilders.java.

This is not a bug, but a feature request to expose SpanMultiTermQueryWrapper to ES's query API.

Some additional information on this feature request can be found here:
https://groups.google.com/forum/?fromgroups=#!topic/elasticsearch/vHQh0ARaAHY

spinscale added a commit that referenced this issue May 3, 2013

Support SpanMultiTerm, closes #2610, #2400
This adds support for lucene span multi term queries. This lucene query
allows users to form complicated queries such as wildcards or prefix
queries embedded within span queries.
@spinscale

This comment has been minimized.

Copy link
Member

commented May 3, 2013

Closed by e30aa6b (specified it wrong in the commit message)

@spinscale spinscale closed this May 3, 2013

spinscale added a commit that referenced this issue May 13, 2013

Support SpanMultiTerm, closes #2610, #2400
This adds support for lucene span multi term queries. This lucene query
allows users to form complicated queries such as wildcards or prefix
queries embedded within span queries.

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Support SpanMultiTerm, closes elastic#2610, elastic#2400
This adds support for lucene span multi term queries. This lucene query
allows users to form complicated queries such as wildcards or prefix
queries embedded within span queries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.