> The point of cast_() is to make it possible to downcast, say, from Object to > Field. Upcasting is not going to achieve anything as the underlying Java > object remains the same (either way) and the wrapper is calling the same > methods. When downcasting, the new wrapper now has a bunch of methods that > know how to talk to instances of that class.
Yeah, I think this is a relic of my first experiment with jcc-pylucene, in a code path that I hadn't exercised till now. Now I'm just calling "parse", and it works just fine. Bill _______________________________________________ pylucene-dev mailing list pylucene-dev@osafoundation.org http://lists.osafoundation.org/mailman/listinfo/pylucene-dev