[ 
https://issues.apache.org/jira/browse/LUCENE-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14135894#comment-14135894
 ] 

Ryan Ernst commented on LUCENE-5956:
------------------------------------

Regarding analysis, I think this is already a problem, since you may be using 
the newest analysis chain, but have not rewritten these ancient 3x segments 
which contain terms produced by the old analysis chain.  But in reality, unless 
drastic changes happen in analysis, this is usually "ok"? You will have some 
terms that are never found in either direction, but it shouldn't break all 
queries. So to be safe, you probably want to reindex your data at least every 
major version, but if the data is ancient (for example, very old time based 
indexes) perhaps just being able to search them at all is good? So with this 
tool that makes it possible, vs trying to make the search uptodate as far as 
analysis.

> Add runnable index upgrader
> ---------------------------
>
>                 Key: LUCENE-5956
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5956
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Ryan Ernst
>
> As a spinoff from discussion in LUCENE-5940, I'd like to add a new module 
> "lucene-upgrader", move {{IndexUpgrader}} to this, and add embed older 
> versions of lucene (just enough to upgrade indexes) in the built version of 
> the module's jar.  This would be runnable from the command line with 
> something like:
> {{java -jar lucene-upgrader-4.11.0.jar /path/to/index}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to