I have problems creating binary fields, i have nailed down the problem
to the non-ascii characters in supposed binary data of the field.
Here's the testcase:
------------------------------------
import PyLucene
a = PyLucene.Field("show_tokens", '\xf3',
PyLucene.Field.Store.YES)
------------------------------------
Here's the output:
Traceback (most recent call last):
File "field_problem.py", line 5, in ?
PyLucene.Field.Store.YES)
PyLucene.InvalidArgsError: (<type 'PyLucene.Field'>, '__init__',
('show_tokens', '\xf3', <Field_Store: YES>))
------------------------
Any ideas what i am doing wrong?
bye
andraz
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev