django-search-queryΒΆ
A Lucene-inspired search query language that compiles to Django
Q objects.
Tutorial
Build a search registry and run a query against a Django queryset.
How-to
Task recipes: map field names, restrict searchable fields, use wildcards and ranges, and catch parse errors.
Query language
The search syntax and the query-string-to-queryset showcase.
API reference
The public API: parse, build_q, search_query_to_q, the field registry.
Explanation
How a search string becomes a Q object, and why the highlighter uses a
second lexer.