https://bugs.freedesktop.org/show_bug.cgi?id=44681
Bug #: 44681
Summary: EasyHack: port to CLucene from java/Lucene ...
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: major
Priority: medium
Component: Extensions
AssignedTo: [email protected]
ReportedBy: [email protected]
When we do our first-ever startup, we index help files from our internal
extensions. This causes us to startup Java - which can take easily 5-10 seconds
which makes our first-ever start rather horribly slow. This is also the last
java usage (I think) during first-start. We also pay this price when searching
in the help for the first time too so ... it'd be nice to fix.
The help indexer lives inside l10ntools/source/help - which builds the
indexes, and is re-used at first start for any installed extensions (I
think). This is mostly C++ anyway - with an horrible blob of < 500 total
lines of Java (188 ';' lines) to link to the Java lucene stuff - it
should be fairly trivial to re-do.
Then the run-time uses of that should be in xmlhelp. The "Access Lucene
via XInvocation" line in
xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
"com.sun.star.help.HelpSearch" This has another 600 lines (155 ';'s) in
xmlhelp/source/com/sun/star/help/ that badly need to die in similar
fashion.
Hopefully the file format is the same between clucene and lucene
replacing xmlhelp/source/com/sun/star/help/ so we can do one bit and
then the other, but it shouldn't be a huge bother to do both at once.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs