Hi,
I indexed the following document in ES.
{
"content_id": 1,
"options": ["CD14", "CD2", "CD235a", "CD20", "CD11b", "CD19", "CD7",
"CD56", "CD10", "CD8", "CD3", "CD4"]
}
Then I did a simple search using the query_string query.
{
"explain": true,
"query": {
"query_string": {
"fields": [ "options" ],
"query": "cd4",
"default_operator": "and",
"use_dis_max": false
}
}
}
I got the result with score = 0.076713204 and fieldNorm = 0.25.
Then I changed the boosting of the "options" field to 2 and tried again.
This time got score = 314.2173 and fieldNorm = 1024.
When the boost is 3, I got score = 40219.812 and fieldNorm = 131072.
When the boost is 4, I got score = 1287034 and fieldNorm = 4194304.
The tf and idf values was the same on all cases with tf = 1, idf
= 0.30685282.
Here the fieldNorm value increases exponentially giving me very high scores.
My understanding is that the fieldNorm should be linearly proportional to
the boost value.
Can somebody please explain me how the above numbers for fieldNorm are
calculated?
Thanks.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.