Hi!

I have been doing some testing with solr and wildcards. Queries like:

- *foo
- foo*

Does complete quickly(1-2s) in a test index on about 40-50GB.

But when i try to do a search for *foo*, the search time can without any
trouble come upwards for 30seconds plus. 

Any ideas on how that issue can be worked around? 

One fix would be to change *foo* to (*foo or foo* or oof* or *oof) (is the
reverse even needed?). But that will not give the same results as *foo*,
logicly enough.

I have also tried to set maxTimeAllowed, but that is simply ignored. I guess
that is related to either sorting or the wildcard search itself. 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Performance-with-search-terms-starting-and-ending-with-wildcards-tp2802561p2802561.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to