Thanks for the info. But do you know where this is actually perform in
Lucene? I mean the method involved, that will calculate the value before
storing it into the index. I track it to one method known as lengthNorm() in
DefaultSimilarity.java, but the value is different from what is stored in
the index


Doron Cohen-2 wrote:
> 
> Norms information comes mainly from lengths of documents - allowing the
> search time scoring to take into account the effect of document lengths
> (actually
> field length within a document). In practice, norms stored within the
> index
> may include
> other information, such as index time boosts - for a document, for a
> field.
> A single
> byte is stored for each field, - so for this the actual value is
> compressed.
> At search
> time, norms are loaded into memory, and so consume 1 byte for each
> document.
> It is possible to disable norms for a field while indexing. This is
> explained
> better in the javadoc for Similarity, and here:
>  http://lucene.apache.org/java/2_3_2/scoring.html
> 
> Doron
> 
> On Mon, Aug 18, 2008 at 5:59 AM, blazingwolf7
> <[EMAIL PROTECTED]>wrote:
> 
>>
>> Hi,
>>
>> I am currently using Lucene for indexing. After a index a file, I will
>> use
>> LUKE to open it and check the index. And there is 1 part that I am
>> curious
>> about. In Luke, under the Document tab, I randomly select a document and
>> display it. At the bottom will be 4 columns, Field, ITSVopLBC, Norm and
>> String Value.
>>
>> I am wondering, what is Norm for? And where is it created during indexing
>> time? Which method calculates it?
>>
>> Could anyone advise me on this? Thanks for the help
>> --
>> View this message in context:
>> http://www.nabble.com/Index-of-Lucene-tp19025490p19025490.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Index-of-Lucene-tp19025490p19025890.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to