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
=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
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
.
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.
/Default-query-operator-OR-wont-work-in-some-cases-tp4086624.html
Sent from the Solr - User mailing list archive at Nabble.com.
=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.
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
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.
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
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
.
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
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.
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.
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
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
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:
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
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
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
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.
:
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
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
:
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
23 matches
Mail list logo