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
Closed

Query DSL: Support SpanMultiTermQueryWrapper #2400

speedplane opened this issue Nov 12, 2012 · 1 comment

Comments

@speedplane
Copy link
Contributor

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

@ghost ghost mentioned this issue Feb 2, 2013
spinscale pushed a commit that referenced this issue May 3, 2013
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
Copy link
Contributor

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

spinscale pushed a commit that referenced this issue May 13, 2013
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
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
Projects
None yet
Development

No branches or pull requests

2 participants