Bug 513408 - Migrate to Lucene 6.1.0
Summary: Migrate to Lucene 6.1.0
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.23   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 465966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-09 14:38 EST by Nobody - feel free to take it CLA
Modified: 2017-06-02 14:22 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2017-03-09 14:38:20 EST
For Oxygen I have already ported the platform help bundles to Lucene 6.1.0. It would be nice if also other projects upgrade. 

To make this easier I already have prepared a gerrit patch which contains the necessary changes. The code changes are as least invasive as possible.

I tested exhaustively manually, including case with older indexes, and did not see any issue.

Also I made sure that all tests in org.eclipse.mylyn.tasks.index.tests pass.

Gerrit follows.
Comment 1 Eclipse Genie CLA 2017-03-09 14:40:03 EST
New Gerrit change created: https://git.eclipse.org/r/92726
Comment 2 Sam Davis CLA 2017-03-09 19:49:17 EST
*** Bug 465966 has been marked as a duplicate of this bug. ***
Comment 3 Sam Davis CLA 2017-03-09 19:50:14 EST
Thanks for the contribution! We will need to file a piggyback CQ for this, won't we?
Comment 4 Alexander Kurtakov CLA 2017-03-10 00:26:13 EST
(In reply to comment #3)
> Thanks for the contribution! We will need to file a piggyback CQ for this, won't
> we?
Yes, piggyback CQ is due.
Comment 5 Nobody - feel free to take it CLA 2017-03-10 05:35:13 EST
(In reply to Sam Davis from comment #3)
> Thanks for the contribution!

You're welcome. I'll also stick around to potentially refine it until it's merged.

> We will need to file a piggyback CQ for this,
> won't we?

Yes but it should be quite quick so the earlier the better.
Comment 6 Sam Davis CLA 2017-03-13 13:48:42 EDT
Thanks. I don't think it's important to get this into 3.22, which releases April 7, but we should do this for 3.23, which will be our contribution to Oxygen.
Comment 7 Alexander Kurtakov CLA 2017-03-13 14:00:06 EDT
(In reply to comment #6)
> Thanks. I don't think it's important to get this into 3.22, which releases April
> 7, but we should do this for 3.23, which will be our contribution to Oxygen.

Sam, would you please file the piggyback CQ so it can go right after 3.22 is released to have more time for testing vs Oxygen.
Comment 8 Sam Davis CLA 2017-03-13 14:12:08 EDT
Done: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12878
Comment 9 Sam Davis CLA 2017-03-13 14:16:36 EDT
And also:
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12879 (queryparser)
https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12880 (analyzers-common)
Comment 10 Sam Davis CLA 2017-03-21 17:35:15 EDT
All 3 CQs were approved.
Comment 11 Nobody - feel free to take it CLA 2017-04-05 05:23:52 EDT
Anything I can do at this point to move this forward?
Comment 12 Sam Davis CLA 2017-04-06 13:00:22 EDT
Sorry, I haven't had a chance to look at this yet, but hopefully next week we'll get to it.
Comment 13 Nobody - feel free to take it CLA 2017-04-24 10:10:05 EDT
(In reply to Sam Davis from comment #12)
> Sorry, I haven't had a chance to look at this yet, but hopefully next week
> we'll get to it.

Ping.
Comment 14 Alexander Kurtakov CLA 2017-05-23 12:25:43 EDT
It would be extremely bad if Mylyn project doesn't have the capacity to sync with platform changes especially when a patch was even prepared. Is this still planned for Oxygen?
Comment 15 Sam Davis CLA 2017-05-23 14:50:07 EDT
Yes, it's still planned. I have commented on the review. Sorry for the long delay. We didn't forget about this.
Comment 17 Sam Davis CLA 2017-05-29 19:30:02 EDT
Thanks very much for the contribution!
Comment 18 Frank Becker CLA 2017-05-31 12:55:55 EDT
I get the following 6 errors after I update my master branch.

Description	Resource	Path	Location	Type
Bundle 'org.apache.lucene.queryparser' cannot be resolved	MANIFEST.MF	/org.eclipse.mylyn.tasks.index.core/META-INF	line 11	Plug-in Problem
ParseException cannot be resolved to a type	TaskListIndex.java	/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core	line 707	Java Problem
QueryParser cannot be resolved to a type	TaskListIndex.java	/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core	line 703	Java Problem
QueryParser cannot be resolved to a type	TaskListIndex.java	/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core	line 703	Java Problem
The import org.apache.lucene.queryparser cannot be resolved	TaskListIndex.java	/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core	line 51	Java Problem
The import org.apache.lucene.queryparser cannot be resolved	TaskListIndex.java	/org.eclipse.mylyn.tasks.index.core/src/org/eclipse/mylyn/internal/tasks/index/core	line 52	Java Problem
Comment 19 Frank Becker CLA 2017-06-02 11:57:05 EDT
I use the OOMPH setup

Maybe we need to add

<import plugin="org.apache.lucene.queryparser" version="6.0.0" match="greaterOrEqual"/>

in /org.eclipse.mylyn-feature/feature.xml

Thoughts?
Comment 20 Frank Becker CLA 2017-06-02 14:22:55 EDT
(In reply to Frank Becker from comment #19)
> I use the OOMPH setup
> 
> Maybe we need to add
> 
> <import plugin="org.apache.lucene.queryparser" version="6.0.0"
> match="greaterOrEqual"/>
> 
> in /org.eclipse.mylyn-feature/feature.xml
> 
> Thoughts?

With review https://git.eclipse.org/r/#/c/96983/ we do no longer get the errors!