High,
following a suggestion on the Java-Lucene mailing list,
I tried to call Query.extractTerms
In Java it has the signature
void extractTerms(Set terms)
It puts all results in the Java-set terms
I tried
parser= QueryParser(...)
query = parser.parse('a string')
Set_of_Terms= set()
query.extractTerms(Set_of_Terms)
but this fails. The same is with
Set_of_Terms=[]
query.extractTerms(Set_of_Terms)
So, what Python type should be used?
Many thanks for your help,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev