: is there some way to change this default value (preferably from outside via
: a properties file or something similar)
It's based on the FieldCache, which thinking about it a bit: the defualts
come from the default values of int[], float[], etc... I seem to recall a
discussion in the past
thanks hoss,
will surely do that.
-umar
On Thu, Jun 5, 2008 at 4:35 AM, Chris Hostetter [EMAIL PROTECTED]
wrote:
: I am using function queries to rank the results,
: if some/ allthe fields (used in the function ) are missing from the
document
: what will be the ranking behavior for such
i ran a test.
the value for the field is taken to be 0 for the documents which dont have
that field.
This will return a correct result
1. if the documents are to be put in the end of the sort, AND
2. all the values are positive.
is there some way to change this default value (preferably from
: I am using function queries to rank the results,
: if some/ allthe fields (used in the function ) are missing from the document
: what will be the ranking behavior for such documents?
Off the top of my head, I believe it's zero, but an easy way to check is
to run a simple linear function
Hi,
I am using function queries to rank the results,
if some/ allthe fields (used in the function ) are missing from the document
what will be the ranking behavior for such documents?
thanks
-umar