[
https://issues.jboss.org/browse/JBDS-4133?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-4133:
----------------------------------
OK, so here's the problem.
In lucene 3.5, the class org/apache/lucene/analysis/standard/StandardAnalyzer is in
org.apache.lucene.core_3.5.0.v20120725-1805.jar, not in
org.apache.lucene.analysis_3.5.0.v20120725-1805.jar.
But in Lucene 5.4.1, the class was moved to org.apache.lucene.analyzers-common_5.4.1.jar
!lucene3.5corevs.5.4.1analyzers-common.png!
And o.a.l.queryparser has moved around even more, into a new bundle and new package too
(ParseException was in o.a.l.queryParser in 3.5.0; now it's in o.a.l.queryParser.xml
in 5.4.1) .
!lucene3.5corevs.5.4.1queryparser.png!
So, while I'd like to say we can just move jbosstools-webservices from using
Require-Bundle to Import-Package to allow either flavour to work, it's not that
simple.
Help docs cannot be opened:
org.apache.lucene.index.IndexFormatTooOldException - got 2.0.3, want 5.0+
-----------------------------------------------------------------------------------------------------
Key: JBDS-4133
URL:
https://issues.jboss.org/browse/JBDS-4133
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: build, rpm
Affects Versions: 10.2.0.AM2
Reporter: Nick Boldt
Assignee: Xavier Coulon
Priority: Critical
Fix For: 10.2.0.AM3
Attachments: lucene3.5corevs.5.4.1analyzers-common.png,
lucene3.5corevs.5.4.1queryparser.png
Snippet from log attached to JBDS-4131:
{code}
!ENTRY org.eclipse.epp.logging.aeri.ide 2 10 2016-10-21 14:55:03.519
!MESSAGE Updating the index from remote
‘https://aer.ctrlflow.com/downloads/redhat/problems.zip’ failed with exception:
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported
(resource
BufferedChecksumIndexInput(MMapIndexInput(path="/tmp/1477058103380-0/segments_1"))):
-11 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports
indexes created with release 4.0 and later. ; version: 2.0.3.201610111629
!STACK 0
org.eclipse.epp.logging.aeri.core.util.Logs$LogTraceException
at
org.eclipse.epp.logging.aeri.core.util.Logs$LogTraceException.newTrace(Logs.java:387)
at org.eclipse.epp.logging.aeri.core.util.Logs.log(Logs.java:134)
at
org.eclipse.epp.internal.logging.aeri.ide.server.mars.ServerProblemsHistory$UpdateIndexJob.run(ServerProblemsHistory.java:322)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55){code}
And
{code}
!ENTRY org.eclipse.help.base 4 0 2016-10-21 14:32:21.719
!MESSAGE Error trying to consume Lucene index from bundle
org.eclipse.wst.sse.doc.user_1.1.100.v201610121400 [389]. Please use an index built with
Lucene 5 or higher.
{code}
then 100s of errors like this:
{code}
!MESSAGE Help document
/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_preferencePages.html
cannot be opened.
{code}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)