On Wed, 3 Jan 2007, Christian Klinger wrote:
I think a easy Question, but i don“t get it. Is it possible to store a boolean Type in an Index? (True, False)
Apparently not as such: http://lucene.apache.org/java/docs/api/org/apache/lucene/document/Field.htmlBut you can create a field with the value "True" or "False" instead and test for that. You could also create a field with a binary value of '\x00' or '\x01'.
Maybe someone at [email protected] would have a better idea as your question is not specific to PyLucene but is a more general Lucene usage question anyway ?
Andi..
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
