Subject: | t/search_hits and t/sloppy_scorer die with message "You need to specify a default field for your query" at t/search_hits.t line 72 and at t/sloppy_scorer.t line 80 |
After installing the module Lucene::QueryParser, I ran into the above errors. It seems that the parse_query function in Lucene::QueryParser requires some sort of parameter or it will "croak". I'm guessing there is some version of the module that does not require these parameters, because these tests will not work as is. Adding a semi-random parameter ("foo") causes the tests to pass in both cases.