I'm trying to search the _all field and I'm finding that the field boosts
aren't reflected in the score each document receives.
According to the Elasticsearch documentation:
"One of the nice features of the _all field is that it takes into account
specific fields boost levels. Meaning that if a title field is boosted more
than content, the title (part) in the _all field will mean more than the
content (part) in the _all field."
When I do a query, I'm getting the same score for each document, regardless
of the boost. This seems to have something to do with my custom analyzers.
If I use the standard analyzer, the boost works correctly.
Here's my mapping, data, and query. I'm searching for the word "test".
Since field1 has a large boost, the document containing the word "test" in
field1 should have a higher score right?
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 firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d6e430e9-ceae-49ff-8d48-b621ffb513cc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.