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

Osma Suominen commented on JENA-1250:
-------------------------------------

Lucene 5 seems to bring a new index format: 
https://lucene.apache.org/core/5_0_0/MIGRATE.html
Old indexes either have to be rebuilt or upgraded to the new format using the 
IndexUpgrader tool, or a separate compatibility module 
(lucene-backward-codecs.jar) installed.

I'm not sure whether it's worth supporting the old index format for jena-text, 
as it's rather easy to reindex.

Lucene 6 brings some API changes: 
http://lucene.apache.org/core/6_2_1/MIGRATE.html

I think it would be easiest to first attempt an upgrade to Lucene 5, and if 
that goes well, then continue to version 6.

In my understanding, jena-text uses relatively few Lucene features in all so 
most of the API changes are likely irrelevant. But I may be wrong.

It would be great if [~jmvanel] - or anyone - could try changing the dependency 
in the POM just to see what happens. I don't have time for that right now but I 
can help with sorting out the issues that arise if someone makes a PR.

> 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: Jena
>            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.4#6332)

Reply via email to