I am struggling to make boosting work the way I want it to in Elastic
Search.
Let's say I have some profiles indexed containing gender, interests
and age, and let's say that I find it most relevant that the gender
matches, then the interest and the least important criterium is the
user's age. I was expecting the below query to result in an ordering
of the matching profiles according to the just mentioned principle,
but when I execute it I get some males first and then I get the female
Anna of the age 50 before the female Maria who likes cars... why
doesn't Maria get a higher score than Anna??
Do you find Maria when you search only for cars ? Do you use default mapping ?
Did you try to activate explain to see how ES (Lucene) computes results scores ?
I am struggling to make boosting work the way I want it to in Elastic
Search.
Let's say I have some profiles indexed containing gender, interests
and age, and let's say that I find it most relevant that the gender
matches, then the interest and the least important criterium is the
user's age. I was expecting the below query to result in an ordering
of the matching profiles according to the just mentioned principle,
but when I execute it I get some males first and then I get the female
Anna of the age 50 before the female Maria who likes cars... why
doesn't Maria get a higher score than Anna??
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.