lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lucene's default settings & back compatibility
Date Thu, 21 May 2009 21:27:17 GMT
On Thu, May 21, 2009 at 5:19 PM, Earwin Burrfoot <earwin@gmail.com> wrote:
>> Why not store an "actsAs" in the index, just for the changes that
>> affect what's in the index?  Ie the index records the
>> version that created it, and by default TokenStreams emulate their
>> behavior as of that version?
>
> Because you don't always have access to index at the time you create
> your TokenStreams?

Such places would have to pass in their own actsAs when they ask the
Analyzer for the tokenStream?

Ie, the benefit of this approach vs the single global default is it'd
be per-instance.

Mike

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


Mime
View raw message