Am 30.05.2014 um 23:08 schrieb Andi Vajda va...@apache.org:
Thanks Thomas !
Once you do that maybe it's time to make a 4.8.1 release too.
Let me know when you're ready with a fix.
TLDR; fix is available: I've now revised the FacetExample.py to use the new
API - it's tested to work
, at 8:04, Thomas Koch k...@orbiteam.de wrote:
Am 30.05.2014 um 23:08 schrieb Andi Vajda va...@apache.org:
Thanks Thomas !
Once you do that maybe it's time to make a 4.8.1 release too.
Let me know when you're ready with a fix.
TLDR; fix is available: I've now revised the FacetExample.py
the FacetExample.py to use the new
API - it's tested to work with pylucene-4.8.0-1
The source can be found here:
https://dl.dropboxusercontent.com/u/4384120/Python/FacetExample.py
Andi, can you please update the file in the repo? thanks.
details: I should correct myself. The FacetExample
On Mon, 2 Jun 2014, Thomas Koch wrote:
Am 30.05.2014 um 23:08 schrieb Andi Vajda va...@apache.org:
Thanks Thomas !
Once you do that maybe it's time to make a 4.8.1 release too.
Let me know when you're ready with a fix.
TLDR; fix is available: I've now revised the FacetExample.py to use
Hello,
I’m getting an error running this sample, I believe it is related to an old
issue of Facet API having changed -
http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201302.mbox/%3calpine.OSX.2.01.1302101349450.6538@yuzu.local%3e
$ python FacetExample.py
Traceback (most recent
this sample, I believe it is related to an old
issue of Facet API having changed -
http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201302.mbox/%3calpine.OSX.2.01.1302101349450.6538@yuzu.local%3e
$ python FacetExample.py
Traceback (most recent call last):
File FacetExample.py
://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201302.mbox/%3calpine.OSX.2.01.1302101349450.6538@yuzu.local%3e
$ python FacetExample.py
Traceback (most recent call last):
File FacetExample.py, line 51, in module
from org.apache.lucene.facet.index import FacetFields
ImportError
This one:
lucene/core/src/test/org/apache/lucene/search/TestSort.java
Yeah, I figured by comparing the size of these three... So, to make it
short -- every thread should get its own Random instance from a call
to LuceneTestCase's
public static Random random() {
return
Hi folks,
about the randomness: I think this should not be the case. if
different threads try to share the same random, actually there should
be an exception from the test framework saying that each thread should
get its own random (eg. initialized by a long value). So lucene-java
tests
So, if each thread gets the same seed, then they should also get the same
random values, right ?
They would start from the same seed so if they're calling that Random
in the same pattern then yes -- they'd get the same values. Any real
randomness will be non-reproducible. If this is needed for
DrillDownQuery() - with a new API.
Well, at least API docs state it:
WARNING: This API is experimental and might change in incompatible ways in
the next release.
So one should be warned...
Here's the new version: https://dl.dropbox.com/u/4384120/FacetExample.py
Or as patch to svn:
https
On Tue, Feb 12, 2013 at 3:11 AM, Andi Vajda va...@apache.org wrote:
I then found that the test case from hell, TestSort.java, has majorly
changed again and test_Sort.py needs to be ported again. Sigh.
Andi..
I'm not laughing at your expense Andi... but this made me laugh out
loud multiple
On Wed, Feb 13, 2013 at 7:54 PM, Andi Vajda va...@apache.org wrote:
On Wed, 13 Feb 2013, Robert Muir wrote:
On Tue, Feb 12, 2013 at 3:11 AM, Andi Vajda va...@apache.org wrote:
I then found that the test case from hell, TestSort.java, has majorly
changed again and test_Sort.py needs to be
Hi Thomas,
On Mon, 11 Feb 2013, Thomas Koch wrote:
first please excuse I didn't get back to you regarding the tests - I did
start with it but then got stuck and distracted from other tasks popping
up. No excuse - I just failed to deliver what I promised.
Oh well. No worries.
Would you
needs to be ported again. Sigh.
That being said, you should be able to build PyLucene 4.1 again and proceed
with FacetExample.py. The test_Sort.py needed work shouldn't be blocking
you.
Andi..
Hi Andi,
Thanks to your hints I was now able to build PyLucene4.1 and got further with
the FacetExample.py - The imports should be OK now and most of the required
changes are done I guess. However I now reached another problem: I need to
instantiate the class 'FacetsCollector' but get an error
to be dropped from the release as
they're not currently supported or being rewritten by the original (or
future) authors of the Lucene in Action book.
You contributed a sample a while ago called FacetExample.py.
Would you please port it to the new 4.x API so that it can be included
) authors of the Lucene in Action book.
You contributed a sample a while ago called FacetExample.py.
Would you please port it to the new 4.x API so that it can be included with
the PyLucene 4.1 release ? I started porting it but the API changed in non
trivial ways and MIGRATE.txt doesn't mention
18 matches
Mail list logo