Upgrade Lucene
Reported by Ben Hood | June 6th, 2011 @ 11:54 PM | in 0.9-series (closed)
According to the Lucene changelog:
IndexWriter no longer performs an empty commit upon new index creation. Previously, if you passed an empty Directory and set OpenMode to CREATE*, IndexWriter would make a first empty commit. If you need that behavior you can call writer.commit()/close() immediately after you create it.
So we need to uprev to the latest version of Lucene (at the time of writing it was 3.3.0) and make sure that we call this.
Comments and changes to this ticket
-

Ben Hood July 6th, 2011 @ 01:25 PM
- Assigned user set to John Wright
-

Ben Hood September 6th, 2011 @ 09:37 AM
- Milestone order changed from 7 to 0
-

Ben Hood September 6th, 2011 @ 09:45 AM
- State changed from new to open
- Assigned user changed from John Wright to Ben Hood
The issue that we appeared to be confronted with seems to have gone away, so I'm trying a simple bump to 3.3.0 in the pom.
-

Ben Hood September 6th, 2011 @ 09:49 AM
This is indeed still an issue for the agent tests:
org.apache.lucene.index.IndexNotFoundException: no segments* file found in org.apache.lucene.store.MMapDirectory@/home/teamcity/buildAgent/work/1e241c7d3a6a1905/target/webapp-data/diffa-index/domain/pair-f0970340-d865-11e0-bdf2-000f1f6ef7a8 lockFactory=org.apache.lucene.store.NativeFSLockFactory@6e9689: files: [write.lock] -

Ben Hood September 6th, 2011 @ 11:16 AM
(from [3ccc2bdb3f3ca19512e59b35d10a72d1cd85716e]) [#250] Move the LuceneWriter to its own file for easier compilation https://github.com/lshift/diffa/commit/3ccc2bdb3f3ca19512e59b35d10a...
-

-

Ben Hood October 3rd, 2011 @ 06:31 PM
(from [ae4a43448cd7b887316649e028ce038e7805cd50]) [#250] Attempt at working NRT from the writer instance https://github.com/lshift/diffa/commit/ae4a43448cd7b887316649e028ce...
-

Ben Hood October 3rd, 2011 @ 07:32 PM
- State changed from open to resolved
- Assigned user changed from Ben Hood to Paul Jones
PR raised, already merged to master, requires post-QA
-

Paul Jones October 13th, 2011 @ 02:03 AM
- State changed from resolved to closed
This looks to be ok
-> QA+
-

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.