On Thu, Oct 20, 2011 at 4:35 PM, Robert Muir <[email protected]> wrote:
> On Thu, Oct 20, 2011 at 8:16 PM, Michael McCandless
> <[email protected]> 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...

True, I agree it gives better static checking, so that's great.

Similarly for term vectors configuration.

Mike McCandless

http://blog.mikemccandless.com

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

Reply via email to