I would like to put some items first in my search results. Let me explain by giving an example.
Example:
Let's say I have a forum with pinned items. The pinned items has an order.
Now, when I search, I would like to force these pinned items to always appear on the top, in the correct order.
Yes, I could handle it on the client side but it would be nice to have it in the ES query. It makes pagination and so on a bit easier.
I know the items when I perform the query so I guess I can boost them a lot to push them to the top. I just have to make sure they end up in the correct order.
I just wanted to check if there was a better way to do it.
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.