I have an App Search engine that has product data registered. Records with product images have their URLs stored, and records without them have nulls stored.
Of these, I want to preferentially display the records for which the product image is set, and put the records without the product image in the back.
I would calculate an additional field and add it to your data when indexing named "has_product_image" (or something similar). Ex: has_product_image: "true"
I would then apply a value boost that boosts on the value "true" on the field has_product_image
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.