PyLucene-3 any replacement for Collectors?

2009-11-29 Thread Helmut Jarausch
Hi, How to replace Collectors in Lucene-java in a PyLucene script (PyLucene-3) Many thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany - To

transition 2.4 -> 3.0 (please help me to help myself)

2009-11-27 Thread Helmut Jarausch
e. Where can I find some info on what to change in my code. Many thanks, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany - To unsubscribe, e-mail: java-user-uns

How to say Thank You ?

2007-12-17 Thread Helmut Jarausch
'polluting' the list for that and without sacrificing privacy of the email addresses.) Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany - To unsubscribe,

FuzzyQuery + QueryParser - I'm puzzled

2007-12-17 Thread Helmut Jarausch
ntry parser= QueryParser("field",WhitespaceAnalyzer()) query= parser.parse("Damen~0.79") hits = searcher.search(query) print "there are",hits.length(),"hits" for k in range(0,hits.length()) : print hits.doc(k).get("field") --

FuzzyQuery - rounding bug?

2007-12-17 Thread Helmut Jarausch
),0.8,0) should find "b' since we have distance = 1 min(textlen,targetlen) = 5 It does find it with query = FuzzyQuery(Term("field", "a"),0.79,0) though. Is there a rounding error bug? (this is with

FuzzyQuery - prefixLength - use with QueryParser?

2007-12-17 Thread Helmut Jarausch
Hi, FuzzyQuery (in the 2.2.0 API) may take 3 arguments, term , minimumSimilarity and prefixLength Is there any syntax to specify the 3rd argument in a query term for QueryParser? (I haven't found any the current docs) Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numer

Luke - unknown format version: -4

2007-12-15 Thread Helmut Jarausch
ere a subversion repository for Luke? Many thanks fopr any hints, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany - To unsubscribe, e-mail: [EMAIL PROTECTED

QueryParser: if key contains a colon

2007-12-14 Thread Helmut Jarausch
like an escape technique? Many thanks for a hint, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

highlighter with PhraseQuery = limitation?

2007-12-14 Thread Helmut Jarausch
Hi, When highlighting a phrase query like "Erik Hatcher" all instances of "Eric" as well as all instances of "Hatcher" are highlighted even if they are not next to each other. Is this a limitation of highlighting with Lucene? Many thanks for an explanation

Query.rewrite - help me to understand it

2007-12-13 Thread Helmut Jarausch
is in turn need by Highlighter. What does Query.rewrite do and why does it need access to the index? Many thanks for an explanation, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aache

DEFAULT_OPERATOR_AND globally ?

2007-12-11 Thread Helmut Jarausch
Hi, I know how to set DEFAULT_OPERATOR_AND for an individual QueryParser Objekt (after creation) Since I always want this to be set, is there a means to set a (global) option such that any QueryParser object has this default operator. Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer

DEFAULT_OPERATOR_AND globally ?

2007-12-11 Thread Helmut Jarausch
Hi, I know how to set DEFAULT_OPERATOR_AND for an individual QueryParser Objekt (after creation) Since I always want this to be set, is there a means to set a (global) option such that any QueryParser object has this default operator. Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer

content depending Analyzing

2007-12-10 Thread Helmut Jarausch
would need access to the LANG field to decide how to tokenize. Is there a solution to this problem? Many thanks for your help, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany -