[pylucene-dev] MoreLikeThis & back to crashing on Mac OS X 10.4.8

Bill Janssen janssen at parc.com
Wed Feb 14 15:22:11 PST 2007


Looks like the problem is that I call repr() on the query returned
from MoreLikeThis.  Once I take that out, things are working again.

>        if len(repr(query).split()) < 3:

What I'm trying to do here is perform an assessment of the complexity
of the query, and reject it if it's too simple.

Bill



More information about the pylucene-dev mailing list