Discussion:
[jira] [Created] (MRM-1951) Upgrade Apache Lucene to new version
Martin Stockhammer (JIRA)
2017-06-12 19:46:01 UTC
Permalink
Martin Stockhammer created MRM-1951:
---------------------------------------

Summary: Upgrade Apache Lucene to new version
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Fix For: 3.0.0


The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Martin Stockhammer (JIRA)
2017-06-12 19:56:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046990#comment-16046990 ]

Martin Stockhammer commented on MRM-1951:
-----------------------------------------

maven-indexer depends on the lucene version. Task seems more to be to upgrade maven-indexer.
Post by Martin Stockhammer (JIRA)
Upgrade Apache Lucene to new version
------------------------------------
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Fix For: 3.0.0
The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Martin Stockhammer (JIRA)
2017-06-12 20:09:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stockhammer reassigned MRM-1951:
---------------------------------------

Assignee: Martin Stockhammer
Post by Martin Stockhammer (JIRA)
Upgrade Apache Lucene to new version
------------------------------------
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Assignee: Martin Stockhammer
Fix For: 3.0.0
The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Martin Stockhammer (JIRA)
2017-06-12 20:09:01 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047005#comment-16047005 ]

Martin Stockhammer commented on MRM-1951:
-----------------------------------------

One option could be, to switch to maven-indexer 6.0-SNAPSHOT that has a dependency to lucene 5.5.4
Post by Martin Stockhammer (JIRA)
Upgrade Apache Lucene to new version
------------------------------------
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Fix For: 3.0.0
The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Martin Stockhammer (JIRA)
2017-06-14 07:54:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048816#comment-16048816 ]

Martin Stockhammer commented on MRM-1951:
-----------------------------------------

Seems not to be easy. Jackrabbit needs lucene 3.x and does not work with the lucene 5.5.4 dependency.

It looks like jackrabbit will not change this in the future. They seem to recommend using jackrabbit oak, which is more or less the successor of the classic jackrabbit.

I will check, what it means to implement a JCR Oak indexer in archiva.
Post by Martin Stockhammer (JIRA)
Upgrade Apache Lucene to new version
------------------------------------
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Assignee: Martin Stockhammer
Fix For: 3.0.0
The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Martin Stockhammer (JIRA)
2017-08-30 18:25:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16147749#comment-16147749 ]

Martin Stockhammer commented on MRM-1951:
-----------------------------------------

JCR Oak is now in the master branch. We can use Lucene 4.10.4 with it. Not sure, if we can change the lucene version to a higher level, or if the jcr implementation sets it.
Post by Martin Stockhammer (JIRA)
Upgrade Apache Lucene to new version
------------------------------------
Key: MRM-1951
URL: https://issues.apache.org/jira/browse/MRM-1951
Project: Archiva
Issue Type: Improvement
Reporter: Martin Stockhammer
Assignee: Martin Stockhammer
Fix For: 3.0.0
The used version 3.6.2 is far behind the current lucene version.
As far as I know the lucene API has changed with each major version, so code must be adapted.
But I'm not sure what an upgrade means for compatibility of existing repositories and indexes. Need some more investigation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Loading...