I\'m using apache solr search engine for indexing my website database..
I\'m using django+http://haystacksearch.org/
So let\'s say I have document that have
When I've used
for making wildcard search from Brian's answer, Solr indexing time dramaticly increased. In more than 20 times! The other decision of wildcard searching problem I found here:
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
You need just add filter
(default tokenizer - solr.WhitespaceTokenizerFactory in index block of FieldType). For me result was the same with less system costs.