Elastic Search does not currently (as of 0.18.4) support field collapsing. Is there a good way to simulate this, as to avoid N search queries?
相关问题
- What is the best way to do a search in a large fil
- JCR-SQL - contains function doesn't escape spe
- not found value index error on elastic4s
- How to change the first two uppercase characters o
- Search Multiple Arrays for
相关文章
- es 单字段多分词器时,textField.keyword无法高亮
- What is the complexity of bisect algorithm?
- ElasticSearch: How to search for a value in any fi
- What are the disadvantages of ElasticSearch Doc Va
- Solr - _version_ field must exist in schema and be
- Visual Studio: Is there an incremental search for
- NoNodeAvailableException[None of the configured no
- Types cannot be provided in put mapping requests,
Probably not the answer you're looking for but: As far as I know, and according to this ticket, the only real workaround is to select a larger result set and group on the client side.
Depending on what your use case is you might find parent/child support or nested types useful instead.
You can find more about parent/child support here: https://github.com/elasticsearch/elasticsearch/issues/553 (and then in corresponding query/filter doc pages)
As for nested types, check here: http://www.elasticsearch.org/guide/reference/mapping/nested-type.html