Re: Regex with local params is not working

2014-06-05 Thread Chris Hostetter
: edismax was developed before the lucene query parser syntax was : changed to include regex, so maybe that's the issue. edismax has never been explicilty updated to support regex queries... https://issues.apache.org/jira/browse/SOLR-6009 -Hoss http://www.lucidworks.com/

Re: Regex with local params is not working

2014-05-28 Thread Yonik Seeley
On Wed, May 28, 2014 at 1:41 AM, Lokn wrote: > Thanks for the reply. > I am using edismax for the query parsing. Still it's not working. > Instead of using local params, if I use the field directly then regex is > working fine. It's not for me... This does not work: http://localhost:8983/solr/qu

Re: Regex with local params is not working

2014-05-28 Thread Jack Krupansky
Post the parsed query itself. Yes, edismax should always generate a disjunctionmaxquery - in addition to the regexquery. -- Jack Krupansky -Original Message- From: Lokn Sent: Wednesday, May 28, 2014 1:53 AM To: solr-user@lucene.apache.org Subject: Re: Regex with local params is not

Re: Regex with local params is not working

2014-05-27 Thread Lokn
I tried with debug on, solr generates disjunctionmaxquery instead of regexquery. Is there something that I need to add to the query? Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local-params-is-not-working-tp4138257p4138373.html Sent from the So

Re: Regex with local params is not working

2014-05-27 Thread Lokn
Thanks for the reply. I am using edismax for the query parsing. Still it's not working. Instead of using local params, if I use the field directly then regex is working fine. Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local-params-is-not-worki

Re: Regex with local params is not working

2014-05-27 Thread Yonik Seeley
On Tue, May 27, 2014 at 4:38 AM, Lokn wrote: > With solr local params, the regex is not working. > My sample query: q ={!qf=$myfield_qf}/[a-d]ad/, where I have myfield_qf > defined in the solrconfig.xml. add debugQuery=true to the request to see what query is actually produced. -Yonik http://hel

Re: Regex with local params is not working

2014-05-27 Thread Alexandre Rafalovitch
What's your query parser type (default? dismax? edismax?). Default type does not know about 'qf' parameter, so you may need to define your type as well: http://wiki.apache.org/solr/LocalParams Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.