Which version of solr are you using ?

NGrams could be an option but could you give us the field definition in your
schema ? The words count in this field index ?

Ludovic.


2011/4/10 Ueland [via Lucene] <
ml-node+2802561-121096623-383...@n3.nabble.com>

> 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.
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Performance-with-search-terms-starting-and-ending-with-wildcards-tp2802561p2802561.html
>  To start a new topic under Solr - User, email
> ml-node+472068-1765922688-383...@n3.nabble.com
> To unsubscribe from Solr - User, click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=472068&code=Ym91dHJvc2xAZ21haWwuY29tfDQ3MjA2OHw0Mzk2MDUxNjE=>.
>
>


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

Reply via email to