It worked. Thank you very much.
* copying the final code for future referece:
POST test/tst/_search
{
"query": {
"function_score": {
"boost_mode": "replace",
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
Hello Pablo ,
Lucene ( the underlying library library on which ES is build upon) has only
key value concept and it does not keep object level information.
This means that on Lucene side , data would be stored as
fsot.testObjects : [ "test1" , "test2" ]
And there is not field names as fsot on luc
Hey guys,
I am trying to use the function score but I am getting the following error:
ElasticsearchIllegalArgumentException[No field found for [fsot] in mapping
with types [tst]];
I have used function score before and it worked like a charm so I started
digging what was wrong. I found out that it