RE: Extended Dismax Query Parser with AND as default operator

2015-06-19 Thread Cario, Elaine
patterns. A pain, I know. -Original Message- From: Dirk Buchhorn [mailto:dirk.buchh...@finkundpartner.de] Sent: Thursday, June 18, 2015 3:31 AM To: solr-user@lucene.apache.org Subject: Extended Dismax Query Parser with AND as default operator Hello, I have a question to the extended dismax

Extended Dismax Query Parser with AND as default operator

2015-06-18 Thread Dirk Buchhorn
Hello, I have a question to the extended dismax query parser. If the default operator is changed to AND (q.op=AND) then the search results seems to be incorrect. I will explain it on some examples. For this test I use solr v5.1 and the tika core from the example directory. == Preparation

questions about default operator within solr query string

2015-01-05 Thread chun.shang
. For the question, please refer to the following example url: http://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true With our default operator(q.op) is configured as OR, the parsed query

Re: questions about default operator within solr query string

2015-01-05 Thread Otis Gospodnetic
://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true With our default operator(q.op) is configured as OR, the parsed query is: slug:variety slug:entertainment headline:entertainment

Re: questions about default operator within solr query string

2015-01-05 Thread Walter Underwood
url: http://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true With our default operator(q.op) is configured as OR, the parsed query is: slug:variety slug:entertainment

How to change default operator in velocity?

2011-10-18 Thread hadi
://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to change default operator in velocity?

2011-10-18 Thread Jan Høydahl
the velocity template engine default operators? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html Sent from the Solr - User mailing list archive at Nabble.com. ___ If you reply to this email, your message will be added to the discussion below: http

Re: How to change default operator in velocity?

2011-10-18 Thread Jan Høydahl
-default-operator-in-velocity-tp3430871p3430871.html Sent from the Solr - User mailing list archive at Nabble.com. ___ If you reply to this email, your message will be added to the discussion below: http://lucene.472066.n3.nabble.com/How-to-change

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
the velocity template engine default operators? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html Sent from the Solr - User mailing list archive at Nabble.com

Re: Default operator

2011-03-28 Thread Brian Lamb
Thank you both for your input. I ended up using Ahmet's way because it seems to fit better with the rest of the application. On Sat, Mar 26, 2011 at 6:02 AM, lboutros boutr...@gmail.com wrote: The other way could be to extend the SolrQueryParser to read a per field default operator in the solr

Re: Default operator

2011-03-26 Thread Ahmet Arslan
--- On Fri, 3/25/11, Brian Lamb brian.l...@journalexperts.com wrote: From: Brian Lamb brian.l...@journalexperts.com Subject: Default operator To: solr-user@lucene.apache.org Date: Friday, March 25, 2011, 10:54 PM Hi all, I know that I can change the default operator in two ways: 1

Re: Default operator

2011-03-26 Thread lboutros
The other way could be to extend the SolrQueryParser to read a per field default operator in the solr config file. Then it should be possible to override this functions : setDefaultOperator getDefaultOperator and this two which are using the default operator : getFieldQuery addClause The you

Default operator

2011-03-25 Thread Brian Lamb
Hi all, I know that I can change the default operator in two ways: 1) *solrQueryParser defaultOperator*=AND|OR/ 2) Add q.op=AND I'm wondering if it is possible to change the default operator for a specific field only? For example, if I use the URL: http://localhost:8983/solr/search/?q

Re: dismax and AND as the default operator

2010-06-18 Thread Jan Høydahl / Cominvent
on research interests: http://gradschoolnow.com On 6/17/10 4:19 PM, Chris Hostetter wrote: : I'm using the dismax request handler and want to set the default operator to : AND. : Using the standard handler, i could just use the q.op or defaultOperator in : the schema

dismax and AND as the default operator

2010-06-17 Thread Tommy Chheng
I'm using the dismax request handler and want to set the default operator to AND. Using the standard handler, i could just use the q.op or defaultOperator in the schema, but this doesn't work using the dismax request handler. For example, if I call solr/select/?q=fuel+cell, I want solr

Re: dismax and AND as the default operator

2010-06-17 Thread Chris Hostetter
: I'm using the dismax request handler and want to set the default operator to : AND. : Using the standard handler, i could just use the q.op or defaultOperator in : the schema, but this doesn't work using the dismax request handler. : : For example, if I call solr/select/?q=fuel+cell, I want

Re: dismax and AND as the default operator

2010-06-17 Thread Erik Hatcher
and want to set the default operator to : AND. : Using the standard handler, i could just use the q.op or defaultOperator in : the schema, but this doesn't work using the dismax request handler. : : For example, if I call solr/select/?q=fuel+cell, I want solr to handle it as : a solr/select

Re: dismax and AND as the default operator

2010-06-17 Thread Erik Hatcher
the AND for every query. @tommychheng Programmer and UC Irvine Graduate Student Find a great grad school based on research interests: http://gradschoolnow.com On 6/17/10 4:19 PM, Chris Hostetter wrote: : I'm using the dismax request handler and want to set the default operator

Dismax type solution using a default operator

2010-04-11 Thread Thomas Nguyen
Has anyone implemented a Dismax type solution that also uses a default operator (or q.op)? I'd like to be able to use OR operators for all the qf fields but have read that qf=dismax does not support operators.

Re: Dismax type solution using a default operator

2010-04-11 Thread Ahmet Arslan
Has anyone implemented a Dismax type solution that also uses a default operator (or q.op)?  Dismax ignores default operator. I'd like to be able to use OR operators for all the qf fields but have read that qf=dismax does not support operators. Dismax has a mm [1] (Minimum 'Should' Match

Re: Does the default operator affect phrase searching?

2009-09-08 Thread Chris Hostetter
: My problem was that somewhere along the way I picked up the mis-understanding : that I could do a phrase search like Text:david pdf and Solr/lucene would pick up : all documents that hit the field Text with either 'david' or 'pdf'. Now, I'm just doing the you were probably thinking of

Does the default operator affect phrase searching?

2009-09-02 Thread Dan A. Dickey
I'm having a problem with doing a phrase search of david pdf. When I search for just david, I get 7 hits. When I search for pdf I get 73 hits. On a legacy system, searching for david pdf I get 78 hits. And on Solr (1.4 - one of the nightly builds) - when searching for david pdf I get 0 hits. I

Re: Does the default operator affect phrase searching?

2009-09-02 Thread Gérard Dupont
OR toto] (given is is the default operator) I don't know which other legacy system you also used, but this may be a complete different query syntax and so quote are not interpreted in the same way. HTH gd On Wed, Sep 2, 2009 at 22:49, Dan A. Dickey dan.dic...@savvis.net wrote: I'm having a problem

Re: Does the default operator affect phrase searching?

2009-09-02 Thread Walter Underwood
Is pdf inside the file or part of the file name? What legacy system? I've helped write a couple of them. Some systems, like Ultraseek, add parts of the filename as searchable text. wunder On Sep 2, 2009, at 1:49 PM, Dan A. Dickey wrote: I'm having a problem with doing a phrase search of

Re: Does the default operator affect phrase searching?

2009-09-02 Thread Dan A. Dickey
a query like [david pdf toto] then it will be interpreted as [david pdf OR toto] (given is is the default operator) I don't know which other legacy system you also used, but this may be a complete different query syntax and so quote are not interpreted in the same way. HTH Yes, it does - thanks

Re: Does the default operator affect phrase searching?

2009-09-02 Thread Dan A. Dickey
On Wednesday 02 September 2009 16:37:03 Gérard Dupont wrote: Yes, it does - thanks! Back to translating legacy search queries into Solr search queries. :) -Dan Just curious : what legacy system is it ? Sorry, but at the moment - I don't think I'm at liberty to say. My

Re: Does the default operator affect phrase searching?

2009-09-02 Thread Gérard Dupont
Yes, it does - thanks! Back to translating legacy search queries into Solr search queries. :) -Dan Just curious : what legacy system is it ?

Re: Can I specify the default operator at query time ?

2008-06-24 Thread Chris Hostetter
: Subject: Can I specify the default operator at query time ? : In-Reply-To: [EMAIL PROTECTED] http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh

Re: Can I specify the default operator at query time ?

2008-06-23 Thread Erik Hatcher
only for StandardRequestHandler. Any way of doing it in DisMaxRequestHandler ? Nikhil - Original Message From: Erik Hatcher [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, 23 June, 2008 3:24:13 PM Subject: Re: Can I specify the default operator at query time