Hi!

PyLucene.Field does not have a 'Field method'. So how does one create a date
field in PyLucene?

--- JavaDoc: Class Field
||static Field Keyword(String name, Date value)
Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.
---


Passing a PyLucene.Date() object when constructing a Field gives:
"No matching function for overloaded 'new_Field'"

Related to this is Range Queries. For instance, I would like to index files
with a size field so that you can specify a file size constraint when searching.
Do you have to create the size field as a date field?


Andr�

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to