Re: default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
=(word1 word2) OR (word3 word4) Since I specified AND as default query operator, the query should match documents by ((word1 AND word2) OR (word3 AND word4)) but the query matches documents by ((word1 OR word2) OR (word3 OR word4)). Could anyone explain the behaviour? I believe that you are running

Re: default query operator ignored by edismax query parser

2014-06-25 Thread Shawn Heisey
gt; > > > My search query looks like: > > q=(word1 word2) OR (word3 word4) > > Since I specified AND as default query operator, the query should match > documents by ((word1 AND word2) OR (word3 AND word4)) but the query > matches documents by ((word1 OR word2) OR (

default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
Hi, I have defined the following edismax query parser: name="defaults">100%name="defType">edismax0.01name="ps">100*:*name="q.op">ANDfield1^2.0 field2name="rows">10* My search query looks like: q=(word1 word2) OR (word3 w

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread Jack Krupansky
Yeah, sorry, I read the parsed query too quickly - the phrase is the optional relevancy boost due to the pf2 parameter. -- Jack Krupansky -Original Message- From: smanad Sent: Monday, August 26, 2013 10:08 PM To: solr-user@lucene.apache.org Subject: Re: Default query operator &qu

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
I am not searching for phrase query, I am not sure why it shows up in parsedquery. 0 3 true true egg salad 1377569284170 xml -- View this message in context: http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624p4086732

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread Jack Krupansky
knows what you really want - your requirements are expressed too imprecisely. -- Jack Krupansky -Original Message- From: smanad Sent: Monday, August 26, 2013 8:50 PM To: solr-user@lucene.apache.org Subject: Re: Default query operator "OR" wont work in some cases here is keywor

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
oord Here is my fieldtype definition for keywords, -- View this message in context: http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624p4086723.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Default query operator "OR" wont work in some cases

2013-08-26 Thread Erick Erickson
nasi > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Default query operator "OR" wont work in some cases

2013-08-26 Thread smanad
zer. Not sure if I am missing something. Thanks, -Manasi -- View this message in context: http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to set default query operator in surround query parser?

2011-12-08 Thread Jason
Oh. That's bad to me. Thanks anyway. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-set-default-query-operator-in-surround-query-parser-tp3570034p3570088.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to set default query operator in surround query parser?

2011-12-08 Thread Ahmet Arslan
> I'm using surround query parser. > The request "A B" returns ParseException. > But "A OR B" returns correct results. > I think this is the problem of default query operator. > Anyone know how to set? There is no room for default operator in surroun

Re: How to set default query operator in surround query parser?

2011-12-08 Thread in.abdul
;A B" returns ParseException. > But "A OR B" returns correct results. > I think this is the problem of default query operator. > Anyone know how to set? > > Thanks, > Jason > > -- > If you reply to this email, your messag

How to set default query operator in surround query parser?

2011-12-08 Thread Jason, Kim
Hi, all I'm using surround query parser. The request "A B" returns ParseException. But "A OR B" returns correct results. I think this is the problem of default query operator. Anyone know how to set? Thanks, Jason -- View this message in context: http://lucene.472066

Re: How to use AND as opposed to OR as the default query operator.

2010-10-25 Thread Jonathan Rochkind
However, for user entered queries, I suggest you take a look at dismax, a lot more suitable for user-entered queries than the standard solr-lucene query parsers. Markus Jelsma wrote: http://wiki.apache.org/solr/SchemaXml#Default_query_parser_operator On Monday 25 October 2010 15:41:50 Swapnon

Re: How to use AND as opposed to OR as the default query operator.

2010-10-25 Thread Swapnonil Mukherjee
Hi Pradeep, I am using the standard query parser. I made the changes in schema.xml and it works. It is also good to know that this can done on a per query basis as well. Swapnonil Mukherjee On 25-Oct-2010, at 7:48 PM, Pradeep Singh wrote: > Which query handler are you using? For a standard

Re: How to use AND as opposed to OR as the default query operator.

2010-10-25 Thread Pradeep Singh
Which query handler are you using? For a standard query handler you can set q.op per request or set defaultOperator in schema.xml. For a dismax handler you will have to work with min should match. On Mon, Oct 25, 2010 at 6:41 AM, Swapnonil Mukherjee < swapnonil.mukher...@gettyimages.com> wrote:

Re: How to use AND as opposed to OR as the default query operator.

2010-10-25 Thread Markus Jelsma
http://wiki.apache.org/solr/SchemaXml#Default_query_parser_operator On Monday 25 October 2010 15:41:50 Swapnonil Mukherjee wrote: > Hi Everybody, > > I simply want to use AND as the default operator in queries. When a user > searches for Jennifer Lopez solr converts this to a Jennifer OR Lopez >

How to use AND as opposed to OR as the default query operator.

2010-10-25 Thread Swapnonil Mukherjee
Hi Everybody, I simply want to use AND as the default operator in queries. When a user searches for Jennifer Lopez solr converts this to a Jennifer OR Lopez query. On the other hand I want solr to treat this query as Jennifer AND Lopez and not as Jennifer OR Lopez. In other words I want a defa

Re: Default Query Operator

2009-05-11 Thread dabboo
h. It means it is >>>> executing >>>> query like abc or xyz. >>>> >>>> But my requirement is that it should return only those records which >>>> contains abc and xyz both i.e. It should execute the query using AND >>>> ope

Re: Default Query Operator

2009-05-11 Thread Erik Hatcher
z. Please suggest how I can do this. Thanks, Amit Garg -- View this message in context: http://www.nabble.com/Default-Query-Operator- tp23477955p23477955.html Sent from the Solr - User mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/Default-Quer

Re: Default Query Operator

2009-05-11 Thread dabboo
> >> Please suggest how I can do this. >> >> Thanks, >> Amit Garg >> -- >> View this message in context: >> http://www.nabble.com/Default-Query-Operator-tp23477955p23477955.html >> Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Default Query Operator

2009-05-11 Thread Avlesh Singh
lt like abc and xyz. > > Please suggest how I can do this. > > Thanks, > Amit Garg > -- > View this message in context: > http://www.nabble.com/Default-Query-Operator-tp23477955p23477955.html > Sent from the Solr - User mailing list archive at Nabble.com. > >

Default Query Operator

2009-05-10 Thread dabboo
uld return only those records which contains abc and xyz both i.e. It should execute the query using AND operator as default like abc and xyz. Please suggest how I can do this. Thanks, Amit Garg -- View this message in context: http://www.nabble.com/Default-Query-Operator-tp23477955p23477955.html