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

ASF GitHub Bot commented on JENA-1250:
--------------------------------------

Github user osma commented on the issue:

    https://github.com/apache/jena/pull/219
  
    I've tested this briefly. 
    * Unit tests pass for both jena-text and jena-spatial
    * I can create a text index and query it normally
    * I can create a spatial index and query it normally
    * jena.textindexer seems to work
    * jena.textindexdump seems to work
    * jena.spatialindexer seems to work
    * jena.spatialindexdump seems to work
    
    If I try to use a text index created before the Lucene upgrade, I get this 
exception:
    
    ```
    org.apache.lucene.index.IndexFormatTooOldException: Format version is not 
supported (resource 
BufferedChecksumIndexInput(MMapIndexInput(path="/tmp/lucene/segments_2"))): 3 
(needs to be between 4 and 6). This version of Lucene only supports indexes 
created with release 5.0 and later.
    ```
    
    This is expected since Lucene 6 is incompatible with old Lucene 4 indexes, 
see JENA-1250 for details.
    
    Unless anyone objects I will merge this within the next 2 days.



> Upgrade text search to latest Lucene
> ------------------------------------
>
>                 Key: JENA-1250
>                 URL: https://issues.apache.org/jira/browse/JENA-1250
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Spatial, Text
>            Reporter: Jean-Marc Vanel
>
> We are currently at Lucene 4.9.1 ,
> which is quite outdated compared to latest Lucene, which is 6.2.1 .
> Note that there is project to add a simple completion feature in addition to 
> existing simple search.
> But it would be better to do that on an updated Lucene dependency .



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to