=(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
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 (
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
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
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
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
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.
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.
>
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.
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.
> 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
;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
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
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
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
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:
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
>
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
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
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
>
>> 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.
>
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.
>
>
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
23 matches
Mail list logo