-
Notifications
You must be signed in to change notification settings - Fork 93
Home
ANtlord edited this page Jan 25, 2015
·
7 revisions
Xapian-haystack aims to bring Xapian search engine to the Haystack search API for Django.
- Indexing
- fields:
BooleanField,CharField,FloatField,DateField,DateTimeField,MultivaluedField,DecimalField - spelling suggestions, word stems (multiple languages), literal words (e.g. url addresses)
- boost of fields
- fields:
- Search
-
contentsearch in full document - search by fields
- filtered search (
__contains,__in,__exact,__startswith, all comparisons) - boost of terms
- EdgeNgram and Ngram
-
- Results
- sort by field value, sort by score
- custom result classes
- Aggregation (facets)
- computed in Xapian: facets
- computed in Python: date facets, query facets, multivalued facets
Apart from __contains, filters work in the same way as Django. __contains has no equivalence in Django since both Django __contains and __search perform a boolean search, while Xapian uses a BM25 search.
- Highlight (see issue #34)
- Spatial search (not supported)