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

Re: questions about default operator within solr query string

2015-01-05 Thread Walter Underwood
umentation. >> >> The solr version we used is 4.10.1. >> >> For the question, please refer to the following example url: >> >> >> http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainm

Re: questions about default operator within solr query string

2015-01-05 Thread Otis Gospodnetic
ollowing example url: > > > http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainment%20headline:entertainment&sort=score%20asc&debug=true > > > With our default operator(q.op) is configured as "OR", th

questions about default operator within solr query string

2015-01-05 Thread chun.shang
r the question, please refer to the following example url: http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainment%20headline:entertainment&sort=score%20asc&debug=true With our default operator(q.op) is configured

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
ww.solrtraining.com >>> >>> On 18. okt. 2011, at 12:36, hadi wrote: >>> >>>> in solr schema the defaultOperator value is OR but when i use >>>> browse(http://localhost:8983/solr/browse)for searching AND is a >>>> defaultOp

Re: How to change default operator in velocity?

2011-10-18 Thread Jan Høydahl
,and that config in solr is not affect on velocity how can >>> i >>> change the velocity template engine default operators? >>> >>> >>> -- >>> View this message in context: >>> http://lucene.472066.n3.nabble.com/How-to-change-def

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
> i >> change 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 arc

Re: How to change default operator in velocity?

2011-10-18 Thread Jan Høydahl
velocity how can i > change 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.

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: 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 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 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

Re: Default operator

2011-03-26 Thread Ahmet Arslan
--- On Fri, 3/25/11, Brian Lamb wrote: > From: Brian Lamb > 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) <*solrQueryParser d

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://localhos

Re: dismax and AND as the default operator

2010-06-18 Thread Jan Høydahl / Cominvent
dquery":"+(+DisjunctionMaxQuery((text:fuel | >>>> organization_name_ws_lc:fuel^5.0)) +DisjunctionMaxQuery((text:cell | >>>> organization_name_ws_lc:cell^5.0))) ()", >>>> "parsedquery_toString":"+(+(text:fuel | organization_name_ws_

Re: dismax and AND as the default operator

2010-06-17 Thread Erik Hatcher
@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 to : AND. : Using the standard ha

Re: dismax and AND as the default operator

2010-06-17 Thread Tommy Chheng
:cell | organization_name_ws_lc:cell^5.0)) ()", returns ~80 results (this is the behavior i want for query "fuel cell" because it adds the extra +). I want to do this without adding the AND for every query. @tommychheng Programmer and UC Irvine Graduate Student Find a great

Re: dismax and AND as the default operator

2010-06-17 Thread Erik Hatcher
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 to : AND. : Using the standard handler, i could just use the q.op or

Re: dismax and AND as the default operator

2010-06-17 Thread Tommy Chheng
+). I want to do this without adding 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 wa

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=fue

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&q

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

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: 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 this.

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

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: Does the default operator affect phrase searching?

2009-09-02 Thread Dan A. Dickey
the > defaultOperator have nothing to do with this. It only occur if you do 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

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 Gérard Dupont
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 gd On Wed, Sep 2, 2

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

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

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

2008-06-23 Thread Nikhil Chhaochharia
8 5:15:41 PM Subject: Re: Can I specify the default operator at query time ? dismax is a different sort of parser, where AND/OR doesn't really make sense exactly. The mm (minimum match) parameter for dismax can be used to set things to be fully OR (mm=0) or fully AND (mm=100%) Erik

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

2008-06-23 Thread Erik Hatcher
works 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

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

2008-06-23 Thread Nikhil Chhaochharia
I think this works 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 opera

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

2008-06-23 Thread Pierre-Yves LANDRON
Thanks !!! it'll save me great time ! > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Re: Can I specify the default operator at query time ? > Date: Mon, 23 Jun 2008 05:54:13 -0400 > > > On Jun 23, 2008, at 5:42 AM, Pierre-Yves LANDRON wr

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

2008-06-23 Thread Erik Hatcher
On Jun 23, 2008, at 5:42 AM, Pierre-Yves LANDRON wrote: Is there a way to transgress the default operator defined in solrConfig for a particular query, and for this query only (a query- specific option) ? Yes, you can specify the q.op=AND or q.op=OR per Solr request. Erik

Can I specify the default operator at query time ?

2008-06-23 Thread Pierre-Yves LANDRON
Hello, Is there a way to transgress the default operator defined in solrConfig for a particular query, and for this query only (a query-specific option) ? Thanks, P-Y Landron _ Discover the new Windows Vista http://search.msn.com