lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@osafoundation.org>
Subject Re: Proposal about Version API "relaxation"
Date Wed, 14 Apr 2010 16:59:51 GMT

On Apr 14, 2010, at 7:45, Yonik Seeley <yonik@lucidimagination.com>  
wrote:

> On Wed, Apr 14, 2010 at 10:39 AM, DM Smith <dmsmith555@gmail.com>  
> wrote:
>> Maybe have the index store the version(s) and use that when  
>> constructing a
>> reader or writer?
>
> That would cause a reindex to change behavior (among other problems).

If the index contained this information it could prevent mistakes  
where one adds documents or queries them with a different analyzer  
version setting than used when the index was created, leading to  
subtle bugs...

It seems to me, then, that the only time an analyzer version would be  
required is at index (re)creation time.

Andi..

>
> -Yonik
> Apache Lucene Eurocon 2010
> 18-21 May 2010 | Prague
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>

---------------------------------------------------------------------
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