lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: FieldType refactoring?
Date Thu, 20 Oct 2011 22:40:27 GMT
On Thu, Oct 20, 2011 at 10:35 PM, Robert Muir <rcmuir@gmail.com> wrote:
> On Thu, Oct 20, 2011 at 8:16 PM, Michael McCandless
> <lucene@mikemccandless.com> wrote:
>
>> We'd need checking in FT's ctor to catch wrong pairings, eg you cannot
>> turn ont POSITIONS unless you also turn on FREQS, and at least DOCS
>> must be set if INDEXED is set.
>>
>
> What is the problem with the enum? it prevents these inconsistencies...
+1 to stick to enums here!

>
>
> --
> lucidimagination.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

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


Mime
View raw message