The Lucene norms, if set, are 1/number of terms in the field.
I cannot find a function that makes norms available. Yo gurus- is this
impossible, a bad idea, or just an oversight?
On Tue, Nov 24, 2009 at 6:06 AM, Tomasz Kępski wrote:
> Hi,
>
>> I think i'm reading he question differently then Gra
Hi,
I think i'm reading he question differently then Grant -- his suggestion
applies when you are searching in the description field, and don't want
documents with shorter descriptions to score higher when the same terms
match the same number of times (the default behavior of lengthNorm)
my
: > I would like to boost documents with longer descriptions to move down
documents with 0 length description,
: > I'm wondering if there is possibility to boost document basing on the field
length while searching or the only way is to store field length as an int in a
separate field while inde
On Nov 23, 2009, at 8:01 AM, Tomasz Kępski wrote:
> Hi,
>
> I would like to boost documents with longer descriptions to move down
> documents with 0 length description,
> I'm wondering if there is possibility to boost document basing on the field
> length while searching or the only way is to
Hi,
I would like to boost documents with longer descriptions to move down
documents with 0 length description,
I'm wondering if there is possibility to boost document basing on the
field length while searching or the only way is to store field length as
an int in a separate field while indexin