toastdriven/django-haystack — Issue #525: autocomplete bug?
Author: sehmaschine
Created: 2012-03-02 12:02:02+00:00
State: open

I´m using the master-branch and whoosh and there´s (maybe) an issue with autocomplete. I´ve done the setup according to the docs:

class MovieIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.CharField(document=True, use_template=True)
content_auto = indexes.EdgeNgramField(model_attr='title')

when I´m now using

SearchQuerySet().autocomplete(content_auto='leben')

I don´t get the excpected results.

example:
movie1: "Alltagsleben"
movie2: "So leben wir"
result is just movie2 (but according to the docs, movie1 should be a result as well)

anything I´m missing here?