Closed kemitche closed 12 years ago
Appears to be caused by an representation of the empty string:
kemitche@kemi-reddit:~/reddit/l2cs$ python l2cs.py '""'
Lucene input: ""
Parsed representation: <_NullQuery>
Lucene form: <_NullQuery>
Traceback (most recent call last):
File "l2cs.py", line 311, in <module>
main(sys.argv)
File "l2cs.py", line 306, in main
cloudsearch_query = ''.join(walk_clause(parsed))
File "l2cs.py", line 91, in walk_clause
handler_fn = HANDLERS[clause.__class__]
KeyError: <class 'whoosh.query.qcore._NullQuery'>
Query causing this is unknown