Have you tried explicitly setting norms on/off the way you want with
Field.setOmitNorms(boolean)?


--
Ian.

On Thu, Nov 18, 2010 at 12:54 AM, Pulkit Singhal
<[email protected]> wrote:
> Based on my experimentation and what it says in the Lucene 2nd edition book:
> "Using a KeywordAnalyzer on special fields during indexing would
> eliminate the use of Index.NOT_ANALYZED_NO_NORMS during indexing and
> replace it with Index.ANALYZED."
>
> I guess that there is no way to use KeywordAnalyzer during indexing
> and get NORMS.
>
> So much for being elegant, if someone has some way to make it happen,
> please let me know.
>
> Thanks.
>
> On Wed, Nov 17, 2010 at 7:09 PM, Pulkit Singhal <[email protected]> 
> wrote:
>> Greetings!
>>
>> When using KeywordAnalyzer for indexing a field which has the
>> Field.Index.ANALYZED option selected.
>>
>> Does the use of KeywordAnalyzer automatically mean that there is no
>> point in trying to set the index-time boosts on that field in the
>> document because it will be treated as a full token but without any
>> NORMS?
>>
>> Or does the fact that I said used ANALYZED instead of
>> ANALYZED_NO_NORMS make some difference and I can get the index-time
>> boosts information stored the way I want?\
>> Even though I'm using a KeywordAnalyzer ...
>>
>> Thanks for reading through my confusing question :)
>>
>> - Pulkit
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to