Re: Avoiding wildcard queries using edismax query parser

2015-01-23 Thread Jorge Luis Betancourt González
, January 23, 2015 8:26:48 AM Subject: RE: Avoiding wildcard queries using edismax query parser Here's a Jira for this: https://issues.apache.org/jira/browse/SOLR-3031 I've attached a patch there that might be useful for you. -Michael -Original Message- From: Jorge Luis Betanco

RE: Avoiding wildcard queries using edismax query parser

2015-01-23 Thread Ryan, Michael F. (LNG-DAY)
Here's a Jira for this: https://issues.apache.org/jira/browse/SOLR-3031 I've attached a patch there that might be useful for you. -Michael -Original Message- From: Jorge Luis Betancourt González [mailto:jlbetanco...@uci.cu] Sent: Thursday, January 22, 2015 4:34 PM To: solr-user@lucene.a

Re: Avoiding wildcard queries using edismax query parser

2015-01-23 Thread Jack Krupansky
Based on what I saw with dismax, I though that perhaps a configuration > > option existed to accomplish the same with the edismax query parser, but > I > > haven't found such option. > > > > I'm going to test with a custom search component. > > > > Than

Re: Avoiding wildcard queries using edismax query parser

2015-01-22 Thread Jorge Luis Betancourt González
The query gets translated into a MatchAllDocsQuery, which I think happens before the textual analysis. - Original Message - From: "Jack Krupansky" To: solr-user@lucene.apache.org Sent: Friday, January 23, 2015 12:02:44 AM Subject: Re: Avoiding wildcard queries using edismax q

Re: Avoiding wildcard queries using edismax query parser

2015-01-22 Thread Jack Krupansky
erhaps a configuration > option existed to accomplish the same with the edismax query parser, but I > haven't found such option. > > I'm going to test with a custom search component. > > Thanks for the quick response Alex, > > Regards, > > - Original Message -

Re: Avoiding wildcard queries using edismax query parser

2015-01-22 Thread Jorge Luis Betancourt González
ps a configuration option existed to accomplish the same with the edismax query parser, but I haven't found such option. I'm going to test with a custom search component. Thanks for the quick response Alex, Regards, - Original Message - From: "Alexandre Rafalovitch"

Re: Avoiding wildcard queries using edismax query parser

2015-01-22 Thread Jack Krupansky
The problem is that the presence of a wildcard causes Solr to skip the usual token analysis. But... you could add a "multiterm" analyzer, and then the wildcard would just get treated as punctuation. -- Jack Krupansky On Thu, Jan 22, 2015 at 4:33 PM, Jorge Luis Betancourt González < jlbetanco...@u

Re: Avoiding wildcard queries using edismax query parser

2015-01-22 Thread Alexandre Rafalovitch
I suspect the special characters get caught before the analyzer chains. But what about pre-pending a custom search components? Regards, Alex. Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 22 January 2015 at 16:33, Jorge Luis Betancourt González wrote: > Hell