I have a question.
For example, there are documents as following.
- Love is blue.
- Blue is love.
- Red is not love.
In this case if I apply indexOf('Love'), result is as following.
- Love is blue = index 0
- Love is blue = index 8
- Love is blue = index 12
Finally, I would like to compute score like following pseudo syntax.
script : "_score * sentence.indexOf(keyword)"
In ElasticSearch, is this possible?
Please give me some advice.
Thanks for reading.
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.
For more options, visit https://groups.google.com/groups/opt_out.