You need to change your similarity object to be more sensitive at the
short end. This is a patch about how to do this:
http://issues.apache.org/jira/browse/LUCENE-2187
It involves Lucene coding.
On Fri, Mar 12, 2010 at 3:19 AM, muneeb wrote:
>
> Ah I see.
> Thanks very much Jay for your explan
Ah I see.
Thanks very much Jay for your explanation, it really helped a lot.
I guess I have to deal with this in some other way, since I am working with
short titles and I really want short titles to appear at top. Can you
suggest anything to bring titles with length 3 to appear before titles wi
The fieldNorm is computed like this: fieldNorm = lengthNorm * documentBoost
* documentFieldBoosts
and the lengthNorm is: lengthNorm = 1/(numTermsInField)**.5
[note that the value is encoded as a single byte, so there is some precision
loss]
So the values are not pre-set for the lengthNorm, but
:
: Did you reindex after setting omitNorms to false? I'm not sure whether or
: not it is needed, but it makes sense.
Yes i deleted the old index and reindexed it.
Just to add another fact, that the titlles length is less than 10. I am not
sure if solr has pre-set values for length normalizatio
Did you reindex after setting omitNorms to false? I'm not sure whether or
not it is needed, but it makes sense.
On Thu, Mar 11, 2010 at 5:34 PM, muneeb wrote:
>
> Hi,
>
> In my schema, the document title field has "omitNorms=false", which, if I
> am
> not wrong, causes length of titles to be cou