On Thu, May 21, 2009 at 5:19 PM, Earwin Burrfoot <ear...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org