Please note that there are a few considerations when using wildcards.
First, there are some issues with haystack and woosh, as the one here 
Wildcards work by default with autosearch, otherwise you'll have to compile 
the query yourself.

On the other hand, you must consider the backend haystack uses. I haven't 
used Whoosh recently, but I know that other backends, like solr, for 
example uses by default a minimum of 3 character 'groups' when generating 
search items, so it may also be the case that the search you are doing does 
not fall into any of those groups.

marți, 10 aprilie 2018, 22:28:29 UTC+3, a scris:
> I am currently working on haystack search in django. I met 2 problems, 
> first, when I use 'Whoosh' engine, the search can only return the result 
> that match exactly the same with my search key, for example if I type 
> 'ABC', it cannot match 'ABCD' Secondly, how can I achieve wildcard search 
> using haystack? For example, if I type'A*C', it can return 'ABC', 'ABCCC' 
> 'AC' and so one. Or other method just to achieve the same result(Basically, 
> return the result that contains the key word in same order)

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to