Re: [VOTE] Release PyLucene 3.3.0
Hi Mike, On Sun, 3 Jul 2011, Michael McCandless wrote: Re-send, this time to pylucene-dev: Everything looks good -- I was able to compile, run all tests successfully, and run my usual smoke test (indexing optimizing searching on first 100K wikipedia docs), but... I then tried to enable the grouping module (lucene/contrib/grouping), by adding a GROUPING_JAR matching all the other contrib jars, and running make. This then hit various compilation errors -- is anyone able to enable the grouping module and compile successfully? What kind of errors ? So I added the grouping module to the PyLucene branch_3x build and it just built (tm). I even committed the change to the build (rev 1142455) but I didn't check that the grouping module was functional in PyLucene as I didn't port any unit tests or even know much about it. Andi.. Mike McCandless http://blog.mikemccandless.com On Sun, Jul 3, 2011 at 10:14 AM, Michael McCandless luc...@mikemccandless.com wrote: Everything looks good -- I was able to compile, run all tests successfully, and run my usual smoke test (indexing optimizing searching on first 100K wikipedia docs), but... I then tried to enable the grouping module (lucene/contrib/grouping), by adding a GROUPING_JAR matching all the other contrib jars, and running make. This then hit various compilation errors -- is anyone able to enable the grouping module and compile successfully? Mike McCandless http://blog.mikemccandless.com On Fri, Jul 1, 2011 at 8:24 AM, Andi Vajda va...@apache.org wrote: The PyLucene 3.3.0-1 release closely tracking the recent release of Lucene Java 3.3 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ A list of changes in this release can be seen at: http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_3_3/CHANGES PyLucene 3.3.0 is built with JCC 2.9 included in these release artifacts. A list of Lucene Java changes can be seen at: http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_3/lucene/CHANGES.txt Please vote to release these artifacts as PyLucene 3.3.0-1. Thanks ! Andi.. ps: the KEYS file for PyLucene release signing is at: http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS http://people.apache.org/~vajda/staging_area/KEYS pps: here is my +1
Re: [VOTE] Release PyLucene 3.3.0
Am 03.07.2011 18:17, schrieb Andi Vajda: What kind of errors ? So I added the grouping module to the PyLucene branch_3x build and it just built (tm). I even committed the change to the build (rev 1142455) but I didn't check that the grouping module was functional in PyLucene as I didn't port any unit tests or even know much about it. I'm getting an error on my box, too. In file included from build/_lucene/__wrap01__.cpp:39469:0: build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55:83: error: ‘AbstractSecondPassGroupingCollector’ in namespace ‘org::apache::lucene::search::grouping’ does not name a type build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55:160: error: ISO C++ forbids declaration of ‘parameter’ with no type build/_lucene/__wrap01__.cpp:39503:132: error: ‘AbstractSecondPassGroupingCollector’ in namespace ‘org::apache::lucene::search::grouping’ does not name a type build/_lucene/__wrap01__.cpp:39503:211: error: ISO C++ forbids declaration of ‘a0’ with no type build/_lucene/__wrap01__.cpp: In constructor ‘org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector$SearchGroupDocs::AbstractSecondPassGroupingCollector$SearchGroupDocs(const int, const java::lang::Object, const org::apache::lucene::search::TopDocsCollector)’: build/_lucene/__wrap01__.cpp:39503:394: error: request for member ‘this$’ in ‘a0’, which is of non-class type ‘const int’ build/_lucene/__wrap01__.cpp: In function ‘int org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs_init_(org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs*, PyObject*, PyObject*)’: build/_lucene/__wrap01__.cpp:39608:25: error: ‘AbstractSecondPassGroupingCollector’ is not a member of ‘org::apache::lucene::search::grouping’ build/_lucene/__wrap01__.cpp:39608:102: error: expected ‘;’ before ‘a0’ build/_lucene/__wrap01__.cpp:39615:30: error: ‘org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector’ has not been declared build/_lucene/__wrap01__.cpp:39615:30: error: ‘a0’ was not declared in this scope build/_lucene/__wrap01__.cpp:39615:30: error: ‘org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector’ has not been declared error: command 'gcc' failed with exit status 1 Ubuntu 11.04 x86_64 GCC 4.5.2 Python 2.7.2 Christian
Re: [VOTE] Release PyLucene 3.3.0
On Sun, 3 Jul 2011, Christian Heimes wrote: Am 03.07.2011 18:17, schrieb Andi Vajda: What kind of errors ? So I added the grouping module to the PyLucene branch_3x build and it just built (tm). I even committed the change to the build (rev 1142455) but I didn't check that the grouping module was functional in PyLucene as I didn't port any unit tests or even know much about it. I'm getting an error on my box, too. While I don't see the error, I see that there could be something missing in that header file, AbstractSecondPassGroupingCollector$SearchGroupDocs.h. For example, TopDocsCollector is forward-declared there but AbstractSecondPassGroupingCollector is not, even though it is used. What's special about it is that it's the outer class of the class being defined here, AbstractSecondPassGroupingCollector$SearchGroupDocs. The reason I'm not seeing there error could be a difference in file inclusion order somewhere getting this missing class definition included from somewhere else. I'm about to go on vacation for two weeks, without a computer (ok, email only) and I should investigate this upon my return. Still, that shouldn't necessarily block the PyLucene 3.3 release. I'm fine with either solution, block the release on this or fix that for 3.4. Either way, I can't finish the release process until I return as the vote has to run for three business days, ie, until Tuesday. I'll leave it up to the voters to decide :-) Andi.. In file included from build/_lucene/__wrap01__.cpp:39469:0: build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55:83: error: ?AbstractSecondPassGroupingCollector? in namespace ?org::apache::lucene::search::grouping? does not name a type build/_lucene/org/apache/lucene/search/grouping/AbstractSecondPassGroupingCollector$SearchGroupDocs.h:55:160: error: ISO C++ forbids declaration of ?parameter? with no type build/_lucene/__wrap01__.cpp:39503:132: error: ?AbstractSecondPassGroupingCollector? in namespace ?org::apache::lucene::search::grouping? does not name a type build/_lucene/__wrap01__.cpp:39503:211: error: ISO C++ forbids declaration of ?a0? with no type build/_lucene/__wrap01__.cpp: In constructor ?org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector$SearchGroupDocs::AbstractSecondPassGroupingCollector$SearchGroupDocs(const int, const java::lang::Object, const org::apache::lucene::search::TopDocsCollector)?: build/_lucene/__wrap01__.cpp:39503:394: error: request for member ?this$? in ?a0?, which is of non-class type ?const int? build/_lucene/__wrap01__.cpp: In function ?int org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs_init_(org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector$SearchGroupDocs*, PyObject*, PyObject*)?: build/_lucene/__wrap01__.cpp:39608:25: error: ?AbstractSecondPassGroupingCollector? is not a member of ?org::apache::lucene::search::grouping? build/_lucene/__wrap01__.cpp:39608:102: error: expected ?;? before ?a0? build/_lucene/__wrap01__.cpp:39615:30: error: ?org::apache::lucene::search::grouping::AbstractSecondPassGroupingCollector? has not been declared build/_lucene/__wrap01__.cpp:39615:30: error: ?a0? was not declared in this scope build/_lucene/__wrap01__.cpp:39615:30: error: ?org::apache::lucene::search::grouping::t_AbstractSecondPassGroupingCollector? has not been declared error: command 'gcc' failed with exit status 1 Ubuntu 11.04 x86_64 GCC 4.5.2 Python 2.7.2 Christian