You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by osma <gi...@git.apache.org> on 2017/03/07 10:59:36 UTC

[GitHub] jena issue #219: Upgrade to Lucene 6.4.1 in jena-text and jena-spatial (JENA...

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.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---