I have some trouble with building a query in elasticsearch..
My requirements are:
Documents have 4 fields:
Field_A
Field_B
Field_C
Field_D
I would like to build an absolut scoring, that DOESN'T take the
elasticsearch scoring into account.
If the search query matches one field, then it should always get the same
specific score, e.g.:
Match in Field_A = 4.0
Match in Field_B = 3.0
Match in Field_C = 2.0
Match in Field_D = 1.0
How would a search query be built to meet those requirements? I have tried
building it with function score but unfortunately I couldn't get very far
with the poor documentation for that query...
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.