Yes, they are. Use them as you would use regular python attributes: IndexWriter.mergeFactor = blah

For an example, see samples/LuceneInAction/lia/indexing/IndexTuningDemo.py

Andi..

On Mon, 7 Feb 2005, Nick Arnett wrote:

Are properties such as mergeFactor for IndexWriter exposed? I see this in source, but I'm not sure how I'd get or set it:

mergeFactor = property(_PyLucene.IndexWriter_mergeFactor_get, _PyLucene.IndexWriter_mergeFactor_set)

It doesn't seem to be a property of the IndexWriter object as such...

Would getting familiar with SWIG help me understand this sort of thing?

Nick

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

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

Reply via email to