I have a set of documents that have a field user_verified that is either
true or false. When executing a disjunction max query I want documents
where the user_verified is true to be given a boost.
I thought the answer was constant_score, but I have really failed to figure
out how to make this work. I am missing something fundmental. Here is the
php code that creates a QueryDSL
I have tried a bunch of combinations and have really failed to figure it
out. Any help would be greatly appreciated.
I have a set of documents that have a field user_verified that is either
true or false. When executing a disjunction max query I want documents
where the user_verified is true to be given a boost.
I thought the answer was constant_score, but I have really failed to
figure out how to make this work. I am missing something fundmental. Here
is the php code that creates a QueryDSL
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.