lengthnorm again

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

lengthnorm again

Zhao, Xin
Hi,
I am sure this is a question been asked before. :-) I have done some research too, but still don't quite understand. I indexed 20 terms under field name "mesh", and set the boost accordingly from 20 to 1.(just some arbitrary numbers) But when I checked the index from Luke, the boosts all appear to be 1. I saw the pervious post said it is because the boost shows in Luke is the product of index-time boost and lengthnorm. But if it is the case, aren't they supposed to be different instead of value "1"? I guess I still don't fully understand 'lengthnorm".
Thank you,
Xin
Reply | Threaded
Open this post in threaded view
|

Re: lengthnorm again

Yonik Seeley
On 7/13/06, Zhao, Xin <[hidden email]> wrote:
> Hi,
> I am sure this is a question been asked before. :-) I have done some research too, but still don't quite understand. I indexed 20 terms under field name "mesh", and set the boost accordingly from 20 to 1.(just some arbitrary numbers) But when I checked the index from Luke, the boosts all appear to be 1. I saw the pervious post said it is because the boost shows in Luke is the product of index-time boost and lengthnorm. But if it is the case, aren't they supposed to be different instead of value "1"? I guess I still don't fully understand 'lengthnorm".

I can't explain what you are seeing, but it sounds like your
understanding of what it should be is correct.
I guess you are either misinterpreting Luke's output,  not indexing
the docs correctly, or perhaps luke has a bug.
Did you index the terms with different boosts in separate documents?
There is only one norm per document for a specific indexed field.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]