according to martijin's remarks on
https://groups.google.com/forum/#!topic/elasticsearch/A5DSgvnTnC0
and also this issue
https://github.com/elasticsearch/elasticsearch/issues/3752 ,
search results should be sortable by _boost field.
my particular setup:
{
"product": {
"properties": {
"_boost": {
"type": "float",
"null_value": 1.0,
"index": "not_analyzed"
}
}
}
when using a match_all query, I can sort for any numeric field, but the
"_boost", that does not work. I'm using 0.90.10
Also, I don't know if this is related, but when I try to get the mapping
via localhost:9200/index_name/_mapping , the _boost field doesn't show up.
I guess it's because of its special nature.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e22fe979-1978-4e5d-8a7c-73a6dd238cdf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.