Bug 1051536

Summary: Lucene 4.7.0 is available
Product: [Fedora] Fedora Reporter: Michael Simacek <msimacek>
Component: luceneAssignee: Michael Simacek <msimacek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, hicham.haouari, java-sig-commits, jerboaa, krzysztof.daniel, pbrobinson, puntogil, sgehwolf, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 19:43:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1002154, 1002157, 1002170, 1005782, 1005792    
Bug Blocks: 1025904    
Attachments:
Description Flags
Update to upstream version 4.6.1 none

Description Michael Simacek 2014-01-10 14:39:30 UTC
Latest upstream version: 4.6.0
Latest version in rawhide: 3.6.2

Comment 1 gil cattaneo 2014-01-15 16:04:05 UTC
can merge my work [1] in lucene package?
creating a sub package e.g. -n solr  ...

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1025904

Comment 2 Stanislav Ochotnicky 2014-01-15 16:09:23 UTC
(In reply to gil cattaneo from comment #1)
> can merge my work [1] in lucene package?
> creating a sub package e.g. -n solr  ...
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1025904

Apache Solr is a different/dependent project and should be a separate SRPM and not a subpackage

Comment 3 gil cattaneo 2014-01-15 19:30:11 UTC
Solr is buildable and is designed according to the same version of Lucene
the advantages for use source solr package are:
- a perfect sync with the both projects
- usage of maven builder tools, simplified the packaging

Comment 4 Peter Robinson 2014-02-06 13:42:54 UTC
(In reply to gil cattaneo from comment #3)
> Solr is buildable and is designed according to the same version of Lucene
> the advantages for use source solr package are:
> - a perfect sync with the both projects
> - usage of maven builder tools, simplified the packaging

You would package solr as a separate package that uses lucene. Just because it uses lucene doesn't mean it should be packaged with lucene. You should package it separately just like any other package that depends on other bits

Comment 5 Peter Robinson 2014-02-06 13:57:22 UTC
(In reply to gil cattaneo from comment #3)
> Solr is buildable and is designed according to the same version of Lucene

Gil: it seems you've already submitted a RR for solr: https://bugzilla.redhat.com/show_bug.cgi?id=1025904

Comment 6 Michael Simacek 2014-02-10 20:23:31 UTC
Created attachment 861535 [details]
Update to upstream version 4.6.1

Current state of the update:
All dependencies are already in rawhide.
It is buildable with tests disabled and seems to work.
Tests throw exception at the end due to the build creating too many threads (reported as #1063301). But they should pass except those explicitly deleted - some using old APIs and one regression due to old version of nekohtml.

Dependent packages:
eclipse-m2e-core, hibernate-search, infinispan, maven-indexer, solr3 - don't build because of API changes
eclipse - unsatisfiable dependency problem, it is caused by this update, but the output doesn't contain anything lucene related, I don't know the reason yet
h2 - has hardcoded classpath, should be easily patched
eclipse-mylyn, opengrok, thermostat - didn't build regardless of lucene version
hibernate-hql, pdfbox, wildfly - built fine

Comment 7 Severin Gehwolf 2014-02-11 10:30:54 UTC
(In reply to Michael Simacek from comment #6)
> eclipse-mylyn, opengrok, thermostat - didn't build regardless of lucene

Thermostat now builds in rawhide with old 3.x lucene (thermostat-1.0.0-3.fc21).

Comment 8 Michael Simacek 2014-03-04 19:43:41 UTC
lucene-4.7.0 is now available in rawhide