Files | Admin

Notes:

Release Name: ferret-0.2.2

Notes: This release contains a few important bug fixes. Paging of results will now work correctly and query parsing will handle errors more gracefully.


Changes: A new option to Index::Index; handle_parse_errors:: Set this to true if you want the QueryParser to degrade gracefully on errors. If the query parser fails to parse this query, it will try to parse it as a straight boolean query on the default field ignoring all query punctuation. If this fails, it will return an empty TermQuery. If you use this and you need to know why your query isn't working you can use the Query#to_s method on the query returned to see what is happening to your query. This defualts to true. If you set it to false a QueryParseException is raised on a query parse error.