default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
name=rows10/strstr name=fl*/str/lst /requestHandler 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

Re: default query operator ignored by edismax query parser

2014-06-25 Thread Shawn Heisey
=q.opAND/strstr name=qffield1^2.0 field2/strstr name=rows10/strstr name=fl*/str/lst /requestHandler 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

Re: default query operator ignored by edismax query parser

2014-06-25 Thread Johannes Siegert
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 into this bug: https://issues.apache.org/jira/browse/SOLR

Default query operator OR wont work in some cases

2013-08-26 Thread smanad
. 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: Default query operator OR wont work in some cases

2013-08-26 Thread Erick Erickson
/Default-query-operator-OR-wont-work-in-some-cases-tp4086624.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 smanad
=solr.EnglishMinimalStemFilterFactory/ /analyzer /fieldType -- 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 Jack Krupansky
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 keywords field for 3 docs, Simply Asia products,Simply Asia,Sesame Chicken Egg Drop Soup

Re: Default query operator OR wont work in some cases

2013-08-26 Thread smanad
name=wtxml/str /lst /lst -- View this message in context: http://lucene.472066.n3.nabble.com/Default-query-operator-OR-wont-work-in-some-cases-tp4086624p4086732.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 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 OR wont

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.n3.nabble.com/How-to-set

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

2011-12-08 Thread in.abdul
. 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 message will be added to the discussion below: http://lucene.472066.n3.nabble.com/How-to-set-default

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 surround query parser. This is a limitation of surround.

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.

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

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

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

Default Query Operator

2009-05-11 Thread dabboo
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 Sent from

Re: Default Query Operator

2009-05-11 Thread Avlesh Singh
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.

Re: Default Query Operator

2009-05-11 Thread dabboo
: 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-Query-Operator-tp23477955p23478820.html Sent from the Solr - User mailing list archive

Re: Default Query Operator

2009-05-11 Thread Erik Hatcher
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 Sent from the Solr - User mailing list archive at Nabble.com. -- View this message in context

Re: Default Query Operator

2009-05-11 Thread dabboo
: 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-Query-Operator-tp23477955p23478820.html Sent from the Solr - User mailing list archive