lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Case Sensitivity
Date Fri, 19 Sep 2008 12:11:49 GMT

Anthony Urso wrote:

> On Thu, Aug 28, 2008 at 11:16 AM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>>
>> Yonik Seeley wrote:
>>>
>>> I wasn't originally going to add a Field.Index at all for omitNorms,
>>> but Doug suggested it.
>>> The problem with this type-safe way of doing things is the
>>> combinatorial explosion.
>>
>> Yeah I realize that.  Now that we have omitTF as an option we could  
>> really
>> go crazy ;)
>>
>> I figured since we already have NOT_ANALYZED_NO_NORMS we may as  
>> well round
>> it out with ANALYZED_NO_NORMS, and then stop there.  Plus, people  
>> have been
>> surprised that you could do ANALYZED_NO_NORMS, yet it is useful.
>
> Why not make this flag field into a bitmap?

I think that makes sense, at some point in the future (when we clean  
up Fieldable/AbstractField/Field?).  This way you can OR together  
things like NORMS/NO_NORMS, ANALYZED/NOT_ANALYZED, INCLUDE_TF/OMIT_TF,  
etc.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message