Problem solved as described in
http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201008.mbox/%3cd7da5782-0280-44e3-a783-8ff631287...@gmail.com%3e
Thanks for all your help!
Daniel
Hi, thanks for pointing out the issue here.
The misunderstanding with the static method actually started with the code
used in test PythonMultiFieldQueryParserTestCase
(test/test_PythonQueryParser.py) which calls the static method on an instance.
The provided workaround should solve our issue h
On Thu, 19 Aug 2010, Aric Coady wrote:
On Aug 18, 2010, at 10:13 PM, Andi Vajda wrote:
On Wed, 18 Aug 2010, Aric Coady wrote:
#query = queryParser.parse(queryString)
query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields,
[BooleanClause.Occur.SHOULD,
Bo
On Aug 18, 2010, at 10:13 PM, Andi Vajda wrote:
> On Wed, 18 Aug 2010, Aric Coady wrote:
>> #query = queryParser.parse(queryString)
>> query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields,
>> [BooleanClause.Occur.SHOULD,
>> BooleanClause.Occur.SHOULD],
>>
On Wed, 18 Aug 2010, Aric Coady wrote:
Your python example differs from the java example. The java one uses the call
that's commented out:
#query = queryParser.parse(queryString)
query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields,
[BooleanClause.Oc
Your python example differs from the java example. The java one uses the call
that's commented out:
#query = queryParser.parse(queryString)
query = queryParser.parse(Version.LUCENE_CURRENT, queryString, fields,
[BooleanClause.Occur.SHOULD,
BooleanClause.Occur.SHOULD],
Hello,
I'd like to use the setAllowLeadingWildcard method with
PythonMultiFieldQueryParser but I always get a
lucene.JavaError: org.apache.lucene.queryParser.ParseException: Cannot
parse '*a': '*' or '?' not allowed as first character in WildcardQuery
It works fine with PythonQueryParser but no