dsmiley commented on issue #824: LUCENE-8755: QuadPrefixTree robustness
URL: https://github.com/apache/lucene-solr/pull/824#issuecomment-519654862
 
 
   > Does the indexed data contain luncene version info which created the 
index? If it contains, We can use old code to search in old indexed data.
   
   It does contain the version of Lucene, but not the Version used in analysis 
components (see class Version.java).  In a sense the SpatialStrategy impls play 
the role of an analysis component & more).  In order for a user of Lucene (e.g. 
Solr and it's users) to be able to use an existing index when they upgrade 
Lucene, a user can configure a specific version for analysis components 
consistent with the version that was used to write the index (will get set on 
an Analyzer.setVersion(...).  If this is Solr, then this is set via 
luceneMatchVersion; raw Lucene usage requires explicit control here.
   
   There has yet to be a SpatialStrategy that tweaked it's operation based on 
the Version; the only change or two that comes to mind were backwards 
compatible (e.g. fewer needless terms).  So there's no trace of Version usage 
in spatial-extras as of yet.
   
   I know this is kinda a pain to concern yourself with.  

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to