From: Erik W. <eri...@iq...> - 2011-09-14 06:31:09
|
Hello *, I'm interested in the development of clucene, especially in the perl port. It seems that the existing perl modules are either a complete port (http://search.cpan.org/dist/Plucene/) or very outdated http://search.cpan.org/~pedwards/CLucene-1.00/CLucene.pm (from 2005). Even the perl binding mentioned on our homepage http://search.cpan.org/~tbusch/Lucene-0.18/lib/Lucene.pm are from 2007. Compiling the perl binding with the source from clucene 2.3.3.4 failed with the follwing error messages: In file included from Lucene.xs:22:0: /usr/local/clucene/include/CLucene/util/Reader.h:13:2: error: #error Reader has been refactored. It is recommended that you use strigi streams /usr/local/clucene/include/CLucene/util/Reader.h:14:2: error: #error for all input into CLucene. If, however, you dont want to use that dependency, /usr/local/clucene/include/CLucene/util/Reader.h:15:16: warning: missing terminating ' character [enabled by default] /usr/local/clucene/include/CLucene/util/Reader.h:15:2: error: #error then you'll have to refactor your current code. The jstreams namespace /usr/local/clucene/include/CLucene/util/Reader.h:16:2: error: #error was completely removed In file included from Lucene.xs:75:0: cpp/Tokenizer.cpp:13:14: error: conflicting return type specified for ‘virtual bool PerlTokenizer::next(Token*)’ ...etc... There were nearly two pages of error messages. So I think this part needs some refactoring. B-) And there is this old thread "[Clucene-perl] Is Lucene.pm dead ?" from this mailing list (https://sourceforge.net/mailarchive/forum.php?thread_name=4D6692DB.30508%40tablix.org&forum_name=clucene- perl). So my questions are: 1) Is there active development of the perl library for the current version of clucene? (I guess 'no'). 2) How hard are the changes to update the perl stuff from from supporting clucene 0.9.X to 2.3.X? 3) Can/Should I do it? Are they any hints/help/on this issue? Have some other tried it? -- So long... Erik |