Re: Solr wildcard searching

2011-09-24 Thread Erick Erickson
Thanks Ludovic, you're absolutely right, I should have added that. BTW, there are patches that haven't been committed, see: https://issues.apache.org/jira/browse/SOLR-1604 and similar. Best Erick On Sat, Sep 24, 2011 at 1:32 PM, lboutros wrote: > And to complete the answer of Erick, > > in this

Re: Solr wildcard searching

2011-09-24 Thread lboutros
And to complete the answer of Erick, in this search, customer_name:"Joh*" * is not considered as a wildcard, it is an exact search. another thing, (it is not your problem...), Words with wildcards are not analyzed, so, if your analyzer contains a lower case filter, in the index, these words

Re: Solr wildcard searching

2011-09-24 Thread Erick Erickson
Really, really, get in the habit of looking at your query with &debugQuery=on appended, it'll save you a world of pain .. customer_name:John Do* doesn't do what you think. It parses into customer_name:John OR default_search_field:Do* you want something like customer_name:(+John +Do*) or +customer

Re: Solr wildcard searching

2011-09-23 Thread Doug McKenzie
Im using EdgeNgrams to do the same thing rather than wild card searches. More info here : http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/ Make sure your search phrase is enclosed in quotes as well so its treated as a phrase rather than 2 words