I'm looking for a way to force specific selected documents to rank first
for a given query.
Is there a simple way to do this?
If not, what is the best complicated approach to take?
It seems like it might be possible to do this using native script fields.
I'm very new to Elasticsearch, and I don't completely understand script
fields - if you have a script field doesn't it mean that script has to be
executed for every single document in the index for every query? That
doesn't seem very performant for anything but the smallest index. What am I
missing there?
I'm looking for a way to force specific selected documents to rank first
for a given query.
Is there a simple way to do this?
If not, what is the best complicated approach to take?
It seems like it might be possible to do this using native script fields.
I'm very new to Elasticsearch, and I don't completely understand script
fields - if you have a script field doesn't it mean that script has to be
executed for every single document in the index for every query? That
doesn't seem very performant for anything but the smallest index. What am I
missing there?
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.