Re: multi_field sort and search issue
Accidentally hit submit early. I have a very similar mapping where multi_field is working fine. All the mapping information is on the SO thread as well as explains and other results. Any help that any of you can provide, I would greatly appreciate. On Monday, March 10, 2014 5:07:03 PM UTC-4, James Reynolds wrote: > > I have a question up on SO here: > > For some reason, I can't sort or search in a multi_field in one particular > index: > > > http://stackoverflow.com/questions/22305891/elasticsearch-multi-field-type-search-and-sort-issue > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6f218489-9bda-4632-85b9-af2964a74316%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
multi_field sort and search issue
I have a question up on SO here: For some reason, I can't sort or search in a multi_field in one particular index: http://stackoverflow.com/questions/22305891/elasticsearch-multi-field-type-search-and-sort-issue -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cc2af6b7-f819-4be6-9180-3a0ca7fcef72%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
exists filter
I'm trying to run a query that looks sort of like this: { "filter": { "term": { "b_id": "6" }, "constant_score": { "filter": { "exists": { "field": "rear_placement" } } } }, "fields": [ "rear_placement", "price", "controller", "name", "short_name", "nm" ], "sort": [ "rear_placement" ] } When I add the "constant score" bit the "fields" do not return. Only _source. Removing the constant score exists bit, the six fields above return without issue. It isn't the end of the world for me to return the entire document in this case, I was just wondering what the deal is with this and if there is something I'm doing wrong. James -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a06d4480-16bb-426e-b97a-467b2cd5bf9f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.