# # ChangeLog for main/trunk/greenstone2 # # Generated by Trac 1.4.2 # 2024-04-28T19:30:50+12:00 Thu, 11 Jul 2013 04:21:04 GMT kjdon [27818] * main/trunk/greenstone2/perllib/buildConfigxml.pm (modified) adding in stuff for facets Thu, 11 Jul 2013 03:16:50 GMT davidb [27804] * main/trunk/greenstone2/common-src/packages/jdbm/gs-jdbm-1.0.tar.gz (modified) Standard JDBM code opens databases read/write. This doesn't play ... Wed, 10 Jul 2013 23:44:20 GMT kjdon [27803] * main/trunk/greenstone2/perllib/buildConfigxml.pm (modified) * main/trunk/greenstone2/perllib/collConfigxml.pm (modified) code for sort and facet lists Wed, 10 Jul 2013 10:12:29 GMT davidb [27799] * main/trunk/greenstone2/build-src/packages/configure (modified) If the gnome-lib extension is visible (in its standard 'ext' location ... Tue, 09 Jul 2013 06:50:07 GMT ak19 [27791] * main/trunk/greenstone2/perllib/buildcolutils.pm (modified) Bugfix: when running buildcol.pl with -activate flag, the collection ... Tue, 09 Jul 2013 03:06:15 GMT davidb [27789] * main/trunk/greenstone2/perllib/cpan/perl-5.8/HTML (moved) Moving the cpan HTML::... perl modules to inside perl-5.8 as these ... Tue, 09 Jul 2013 00:53:46 GMT kjdon [27787] * main/trunk/greenstone2/perllib/plugins/ImageConverter.pm (modified) * main/trunk/greenstone2/perllib/plugins/ImagePlugin.pm (modified) making the thumbicon img tag valid HTML - adding alt att, and putting ... Tue, 09 Jul 2013 00:52:33 GMT kjdon [27786] * main/trunk/greenstone2/macros/style.dm (modified) the name att of a meta tag must be a single token. So lets use a ... Mon, 08 Jul 2013 23:53:53 GMT kjdon [27785] * main/trunk/greenstone2/macros/nav_css.dm (modified) img tags need alt attribute to be valid html Mon, 08 Jul 2013 10:13:36 GMT davidb [27776] * main/trunk/greenstone2/build-src/packages/Makefile (modified) * main/trunk/greenstone2/build-src/packages/Makefile.in (modified) * main/trunk/greenstone2/build-src/packages/configure (modified) * main/trunk/greenstone2/build-src/packages/cpan/XML-Parser-2.41.tar.gz (added) Moved to the latest version of XML::Parser. This is so newer version ... Mon, 08 Jul 2013 06:24:41 GMT ak19 [27775] * main/trunk/greenstone2/perllib/cgiactions/baseaction.pm (modified) Commented out message on GS3 still not having authentication ... Mon, 08 Jul 2013 05:20:54 GMT davidb [27774] * main/trunk/greenstone2/perllib/XMLParser.pm (modified) Change to work with the Greenstone 3 release-kit/installer Sun, 07 Jul 2013 23:42:32 GMT davidb [27770] * main/trunk/greenstone2/ext/README.txt (modified) Some useful information about extensions Fri, 05 Jul 2013 05:22:28 GMT ak19 [27762] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Minor bugfix: name of function called was mistyped Fri, 05 Jul 2013 02:53:19 GMT ak19 [27758] * main/trunk/greenstone2/bin/script/exportcol.pl (modified) * main/trunk/greenstone2/bin/script/pdfpstoimg.pl (modified) * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Using FileUtils instead of deprecated util subroutines. Also a typo ... Thu, 04 Jul 2013 05:09:30 GMT ak19 [27757] * main/trunk/greenstone2/bin/script/pdftohtml.pl (modified) Using FileUtils subroutines instead of deprecated calls to util package Wed, 03 Jul 2013 08:52:42 GMT ak19 [27742] * main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm (modified) Remove Windows carriage returns when Greenstone assigns titles, where ... Tue, 25 Jun 2013 04:36:58 GMT ak19 [27703] * main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm (modified) Dr Bainbridge fixed the final diffcol issue with Small-HTML on ... Mon, 24 Jun 2013 05:33:17 GMT ak19 [27698] * main/trunk/greenstone2/perllib/inexport.pm (modified) * main/trunk/greenstone2/perllib/strings.properties (modified) import.pl/export.pl now issues a reminder that sortmeta needs to be ... Mon, 24 Jun 2013 05:23:04 GMT ak19 [27697] * main/trunk/greenstone2/perllib/arcinfo.pm (modified) * main/trunk/greenstone2/perllib/plugins/ArchivesInfPlugin.pm (modified) * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) * main/trunk/greenstone2/perllib/strings.properties (modified) Dr Bainbridge fixed it so that the gdb files generated on Windows for ... Thu, 20 Jun 2013 04:13:56 GMT ak19 [27675] * main/trunk/greenstone2/perllib/classify.pm (modified) Tidying up my previous 2 commits on this file. Thu, 20 Jun 2013 02:53:17 GMT kjdon [27673] * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.cpp (modified) need to return the set name\! Wed, 19 Jun 2013 08:51:27 GMT kjdon [27665] * main/trunk/greenstone2/perllib/classify.pm (modified) Needed to add a second change to the previous commit Wed, 19 Jun 2013 08:45:06 GMT kjdon [27664] * main/trunk/greenstone2/perllib/classify.pm (modified) Fixed an issue with building on Windows where a regex in an eval ... Mon, 17 Jun 2013 22:34:55 GMT jmt12 [27646] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) * main/trunk/greenstone2/perllib/strings.properties (modified) Adding an option to allow me to suppress RSS file writing, -no_rss, ... Mon, 17 Jun 2013 22:10:38 GMT jmt12 [27639] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Change it so failure to open a filehandle isn't fatal - leave it up ... Mon, 17 Jun 2013 05:58:31 GMT ak19 [27635] * main/trunk/greenstone2/makegs2.sh (modified) Checking return status of compilation so it stops on error. Mon, 17 Jun 2013 05:47:45 GMT ak19 [27634] * main/trunk/greenstone2/bin/script/buildcol.pl (modified) Changed order of @INC 'unshifts' due to clash over Greenstone own ... Fri, 14 Jun 2013 05:32:25 GMT ak19 [27627] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/filelock.cpp (modified) File lock code currently experimental, so not in the main greenstone ... Fri, 14 Jun 2013 04:59:57 GMT ak19 [27626] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) Dr Bainbridge hopes including sys/types.h may help compiling ... Fri, 14 Jun 2013 04:55:23 GMT ak19 [27625] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) Correcting comment Fri, 14 Jun 2013 04:53:49 GMT ak19 [27624] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/filelock.cpp (added) * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/winlock.cpp (deleted) renamed winlock to filelock as it's not windows specific. Fri, 14 Jun 2013 03:50:20 GMT ak19 [27623] * main/trunk/greenstone2/perllib/plugin.pm (modified) Using FileUtils::FileExists in place of minus-e for the same test. Fri, 14 Jun 2013 03:49:28 GMT ak19 [27622] * main/trunk/greenstone2/makegs2.bat (modified) * main/trunk/greenstone2/makegs2x64.bat (modified) Added in an automatic compilation mode, which you can use by passing ... Wed, 12 Jun 2013 05:23:46 GMT ak19 [27602] * main/trunk/greenstone2/perllib/dbutil/gdbmtxtgz.pm (modified) Adding sorting on keys. Particularly necessary for diffcol.pl ... Wed, 12 Jun 2013 05:11:12 GMT ak19 [27600] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/Makefile.in (modified) * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/winlock.cpp (added) Two things 1. Moving John's windows (un)locking to new file ... Tue, 11 Jun 2013 21:32:20 GMT davidb [27597] * main/trunk/greenstone2/common-src/src/gdbmedit/db2txt/db2txt.cpp (modified) Additional header file included -- to help with finding the Unix ... Fri, 07 Jun 2013 06:07:01 GMT ak19 [27578] * main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm (modified) Doing a sort on all occurrences of readdir, so readdir lists dir ... Thu, 06 Jun 2013 00:02:03 GMT kjdon [27565] * main/trunk/greenstone2/perllib/lucenebuildproc.pm (modified) ignore special keywords which should be only in indexes list, and ... Thu, 06 Jun 2013 00:01:18 GMT kjdon [27564] * main/trunk/greenstone2/perllib/lucenebuilder.pm (modified) check if defined before setting sortfields, as there may not be any Wed, 05 Jun 2013 23:29:54 GMT kjdon [27563] * main/trunk/greenstone2/perllib/buildcolutils.pm (modified) * main/trunk/greenstone2/perllib/colcfg.pm (modified) * main/trunk/greenstone2/perllib/lucenebuilder.pm (modified) * main/trunk/greenstone2/perllib/lucenebuildproc.pm (modified) * main/trunk/greenstone2/perllib/strings.properties (modified) implementing the new build option sections_sort_on_document_metadata Wed, 05 Jun 2013 23:28:20 GMT kjdon [27562] * main/trunk/greenstone2/bin/script/buildcol.pl (modified) added new build option sections_sort_on_document_metadata. same as ... Wed, 05 Jun 2013 02:42:57 GMT ak19 [27553] * main/trunk/greenstone2/runtime-src/src/oaiservr/listsetsaction.cpp (modified) Function needed to return a bool in order to compile. Tue, 04 Jun 2013 05:22:51 GMT ak19 [27538] * main/trunk/greenstone2/perllib/doc.pm (modified) Using FileUtils::removeFiles in place of utils::rm Tue, 04 Jun 2013 04:09:13 GMT ak19 [27535] * main/trunk/greenstone2/perllib/mgbuilder.pm (modified) Using the recommended FileUtils' subroutines for the deprecated ... Tue, 04 Jun 2013 03:56:26 GMT kjdon [27534] * main/trunk/greenstone2/runtime-src/src/oaiservr/abstractlistaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listidsaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listrecsaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listsetsaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.h (modified) more changes for super collection stuff. Now can handle having ... Tue, 04 Jun 2013 03:52:23 GMT kjdon [27533] * main/trunk/greenstone2/etc/oai.cfg (modified) added comments about new oaisupercollection configuration command Mon, 03 Jun 2013 23:05:08 GMT kjdon [27528] * main/trunk/greenstone2/runtime-src/src/oaiservr/abstractlistaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listidsaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listsetsaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/listsetsaction.h (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiaction.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.cpp (modified) * main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.h (modified) implemented oaisupercollection. add to oai.cfg and the server will ... Thu, 30 May 2013 09:15:49 GMT ak19 [27522] * main/trunk/greenstone2/bin/script/wvware.pl (modified) * main/trunk/greenstone2/perllib/plugouts/GreenstoneXMLPlugout.pm (modified) Correcting some minor bugs during build. Thu, 30 May 2013 08:53:34 GMT ak19 [27521] * main/trunk/greenstone2/gsicontrol.bat (modified) * main/trunk/greenstone2/gsicontrol.sh (modified) Resetting gsdlhome (reset-gsdlhome command) should not just update ... Thu, 30 May 2013 03:30:27 GMT ak19 [27520] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Undoing commit to FileUtils::closeFileHandle since John thinks the ... Thu, 30 May 2013 03:20:33 GMT ak19 [27519] * main/trunk/greenstone2/bin/script/wvware.pl (modified) * main/trunk/greenstone2/perllib/plugins/ImageConverter.pm (modified) Using the recommended FileUtils.pm equivalents for util.pm subroutines. Thu, 30 May 2013 03:19:42 GMT ak19 [27518] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Completing the listing of functions in FileUtils.pm Thu, 30 May 2013 02:53:20 GMT jmt12 [27517] * main/trunk/greenstone2/perllib/plugouts/GreenstoneXMLPlugout.pm (modified) Noticed and replaced a couple of -e's (that should have been -d's ... Thu, 30 May 2013 02:49:40 GMT jmt12 [27516] * main/trunk/greenstone2/perllib/plugouts/GreenstoneXMLPlugout.pm (modified) Matching a call to the new FileUtils::openFileHandle() (in ... Wed, 29 May 2013 22:58:59 GMT jmt12 [27513] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) Restoring the original logic around working_info (although still not ... Wed, 29 May 2013 21:55:24 GMT kjdon [27511] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) pass in file handle as a reference Wed, 29 May 2013 08:41:13 GMT ak19 [27509] * main/trunk/greenstone2/bin/script/gsConvert.pl (modified) * main/trunk/greenstone2/perllib/plugins/BaseMediaConverter.pm (modified) * main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm (modified) * main/trunk/greenstone2/perllib/plugins/PagedImagePlugin.pm (modified) * main/trunk/greenstone2/perllib/util.pm (modified) Using the recommended FileUtils.pm methods in place of the deprecated ... Wed, 29 May 2013 07:26:27 GMT ak19 [27508] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) closeFileHandle() should deal with the case of the file not existing. Tue, 28 May 2013 21:51:07 GMT jmt12 [27505] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) Closing the RSS filehandle with the new function in FileUtils too Tue, 28 May 2013 21:49:08 GMT jmt12 [27504] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) Changing the wat get_new_doc_dir() works so that it creates the new ... Tue, 28 May 2013 02:36:23 GMT kjdon [27503] * main/trunk/greenstone2/perllib/plugins/MARCXMLPlugin.pm (modified) modified to handle files with just a single record. So no collection ... Tue, 28 May 2013 02:02:00 GMT kjdon [27502] * main/trunk/greenstone2/perllib/plugins/ISISPlugin.pm (modified) trying to fix double encoding issue for isis files. not sure that I ... Tue, 28 May 2013 01:47:46 GMT jmt12 [27501] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) Missed (another) old style file open that instead needs to go through ... Tue, 28 May 2013 01:30:10 GMT jmt12 [27500] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) Missed an old style file open that instead needs to go through ... Mon, 27 May 2013 23:47:42 GMT jmt12 [27499] * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) New configuration options to control the creation of directories in ... Mon, 27 May 2013 23:45:41 GMT jmt12 [27498] * main/trunk/greenstone2/perllib/strings.properties (modified) Strings for the new options in BasePlugout Mon, 27 May 2013 23:45:18 GMT jmt12 [27497] * main/trunk/greenstone2/perllib/plugouts/GreenstoneXMLPlugout.pm (modified) replacing util::mk_all_dirs() with FileUtils::makeAllDirectories() Mon, 27 May 2013 00:59:56 GMT jmt12 [27483] * main/trunk/greenstone2/perllib/inexport.pm (modified) Replace slash replacement regexs with a call the ... Mon, 27 May 2013 00:50:19 GMT jmt12 [27482] * main/trunk/greenstone2/perllib/buildcolutils.pm (modified) * main/trunk/greenstone2/perllib/inexport.pm (modified) Replace slash replacement regexs with a call the ... Thu, 23 May 2013 05:38:27 GMT ak19 [27411] * main/trunk/greenstone2/common-src/cgi-bin/gliserver.pl (modified) The -site flag is now compulsory for GS3 collections when running the ... Thu, 23 May 2013 01:01:25 GMT jmt12 [27394] * main/trunk/greenstone2/perllib/inexport.pm (modified) Replaced hardcoded -e (which should have been a -d anyway) with ... Thu, 23 May 2013 00:59:21 GMT jmt12 [27393] * main/trunk/greenstone2/perllib/doc.pm (modified) Replace hardcoded -e with FileUtils::fileExists() call and util::rm() ... Wed, 22 May 2013 21:29:49 GMT jmt12 [27392] * main/trunk/greenstone2/perllib/buildcolutils.pm (modified) Correcting bug that left archivedir undefined in some circumstances - ... Wed, 22 May 2013 05:01:58 GMT ak19 [27390] * main/trunk/greenstone2/perllib/cgiactions/baseaction.pm (modified) Authentication hasn't been implemented for GS3 when using metadata- ... Tue, 21 May 2013 02:45:41 GMT jmt12 [27376] * main/trunk/greenstone2/perllib/FileUtils.pm (modified) Added a canRead() function, make openFileHandle() a bit smarter in ... Tue, 21 May 2013 02:44:13 GMT jmt12 [27375] * main/trunk/greenstone2/perllib/classify.pm (modified) Replaced a conditional add to INC with the call to the new function ... Tue, 21 May 2013 02:43:21 GMT jmt12 [27374] * main/trunk/greenstone2/perllib/util.pm (modified) Changing my comment style as I stumbled across a much nicer/clearer ... Fri, 17 May 2013 05:43:28 GMT ak19 [27366] * main/trunk/greenstone2/macros/style.dm (modified) * main/trunk/greenstone2/perllib/cgiactions/baseaction.pm (modified) * main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm (modified) 1. Handling quotes and colons in user comments: since these are sent ... Thu, 16 May 2013 07:45:16 GMT ak19 [27365] * main/trunk/greenstone2/macros/document.dm (modified) * main/trunk/greenstone2/web/script/gsajaxapi.js (modified) Bugfixes: 1. handles locked collections (as happens when GLI has ... Thu, 16 May 2013 06:37:30 GMT ak19 [27363] * main/trunk/greenstone2/macros/document.dm (modified) * main/trunk/greenstone2/runtime-src/src/recpt/documentaction.cpp (modified) If you add in the line 'format AllowUserComments true' into a ... Thu, 16 May 2013 03:39:57 GMT kjdon [27362] * main/trunk/greenstone2/runtime-src/src/recpt/queryaction.cpp (modified) slightly changed the handling of sortfield query option Thu, 16 May 2013 03:38:21 GMT kjdon [27361] * main/trunk/greenstone2/runtime-src/src/colservr/lucenequeryfilter.cpp (modified) * main/trunk/greenstone2/runtime-src/src/colservr/lucenesearch.cpp (modified) new handling of sortfield query param Thu, 16 May 2013 03:34:48 GMT kjdon [27360] * main/trunk/greenstone2/common-src/indexers/lucene-gs/src/org/greenstone/LuceneWrapper (deleted) gs2 upgraded to use lucene 3, and LuceneWrapper3. Now uses same code ... Thu, 16 May 2013 03:33:15 GMT kjdon [27359] * main/trunk/greenstone2/common-src/indexers/lucene-gs/src/org/greenstone/LuceneWrapper3/GS2LuceneIndexer.java (modified) sort fields are now separate from index fields. index fields will be ... Thu, 16 May 2013 03:30:15 GMT kjdon [27358] * main/trunk/greenstone2/perllib/lucenebuildproc.pm (modified) indexing sortfields separately. tidy up the parsing of the indexes ... Thu, 16 May 2013 03:29:12 GMT kjdon [27357] * main/trunk/greenstone2/perllib/lucenebuilder.pm (modified) setting sortfield info to buildproc, and getting it back from ... Thu, 16 May 2013 03:24:14 GMT kjdon [27356] * main/trunk/greenstone2/perllib/colcfg.pm (modified) added sortfields (collect.cfg) and indexsortfields, indexsortfieldmap ... Thu, 16 May 2013 03:17:02 GMT kjdon [27355] * main/trunk/greenstone2/collect/demo/etc/collect.cfg (modified) use dirname as OIDtype, ie will get fb33fe as an OID instead of a HASH id Thu, 16 May 2013 03:12:27 GMT kjdon [27354] * main/trunk/greenstone2/perllib/plugins/ImageConverter.pm (modified) changed some deprecated util methods for FileUtils methods Thu, 16 May 2013 03:11:31 GMT kjdon [27353] * main/trunk/greenstone2/perllib/strings.properties (modified) changed the definitions for some of the OIDtype options Thu, 16 May 2013 03:10:00 GMT kjdon [27352] * main/trunk/greenstone2/perllib/docproc.pm (modified) * main/trunk/greenstone2/perllib/inexport.pm (modified) * main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm (modified) added filename into the list for OIDtype Thu, 16 May 2013 03:08:06 GMT kjdon [27351] * main/trunk/greenstone2/bin/script/import.pl (modified) added filename option to OIDtype - was there for plugins, but not for ... Thu, 16 May 2013 02:33:31 GMT kjdon [27350] * main/trunk/greenstone2/perllib/doc.pm (modified) removing the J from directory name for dirname option for OID. If ... Wed, 15 May 2013 04:12:53 GMT ak19 [27349] * main/trunk/greenstone2/perllib/cgiactions/baseaction.pm (modified) 1. Updated timestamp for a key that has been reused should not have a ... Wed, 15 May 2013 02:38:33 GMT ak19 [27347] * main/trunk/greenstone2/macros/document.dm (modified) * main/trunk/greenstone2/web/style/style.css (modified) Adjusting the style of the user comments form to fix font sizes and ... Tue, 14 May 2013 08:45:03 GMT ak19 [27336] * main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm (modified) 1. Fixed regex to retrieve collect_tail. It's unused at present, but ... Tue, 14 May 2013 03:44:52 GMT kjdon [27334] * main/trunk/greenstone2/perllib/classify.pm (modified) * main/trunk/greenstone2/perllib/inexport.pm (modified) 2 bugfixes that broke the building process. Tue, 14 May 2013 02:25:55 GMT ak19 [27333] * main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm (modified) * main/trunk/greenstone2/perllib/unicode.pm (modified) 1. Added the metadataaction::get_import_metadata_array() subroutine ... Mon, 13 May 2013 23:20:33 GMT kjdon [27332] * main/trunk/greenstone2/runtime-src/src/colservr/lucenesearch.cpp (modified) changed to use lucene 3 instead of lucene2