Apache OpenOffice (AOO) Bugzilla – Issue 121457
Update Apache Lucene to version 3.6.x
Last modified: 2014-03-12 10:13:47 UTC
Lucene was recently updated to version 2.9.4. We can bump Lucene up to version 3.6.x without trouble (tested on FreeBSD). After some feedback from Steve Rowe from Apache Lucene, this would let us use new features in modern Lucene: - In HelpIndexerTool.java, for Japanese, we use CJKAnalyzer. In Lucene version 3.6, a new Japanese morphological analyzer was added (the kuromoji module) - this would definitely do a better job of searching Japanese content. - We use NIOFSDirectory, both when searching and indexing, but this is slow on Windows. Here's a blog post about a better alternative (MMapDirectory) when using Lucene 3.1+ with 64-bit JVMs: <http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html> - it mentions the NIOFSDirectory issue too. FSDirectory.open() knows about these issues and tries to pick the best option for you. Implementing this the help system would be much faster.
This also requires adapting the long_path patch to apply for the upstream version.
There seems to be little interest in this.
The issue is still valid, even if progress is slow. I don't think it should be marked WONTFIX. If you disagree, then please follow the process described in the wiki, and raise the issue on the dev mailing list: http://wiki.openoffice.org/wiki/Issue_lifecycle Thanks! -Rob
we should directly analyze an update to the latest version 4.7