I'd like to demote documents that are missing a specific field (either
"url" or "custom-url"), because documents with URLs are more relevant.
(Or, equivalently, promote documents that contain at least one of these
fields.)
I'd like to demote documents that are missing a specific field
(either "url" or "custom-url"), because documents with URLs are more
relevant.
(Or, equivalently, promote documents that contain at least one of
these fields.)
Muchas gracias senor Gormley, exactly what I needed! I guess the "either
url or custom-url" part can be accomplished using an OR filter with two
"exists" parts.
On Thursday, July 19, 2012 11:56:17 AM UTC+2, Clinton Gormley wrote:
On Thu, 2012-07-19 at 02:43 -0700, Crwe wrote:
Hello all,
I'd like to demote documents that are missing a specific field
(either "url" or "custom-url"), because documents with URLs are more
relevant.
(Or, equivalently, promote documents that contain at least one of
these fields.)
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.