ssage-
From: Anders Melchiorsen
Sent: Thursday, January 24, 2013 4:28 AM
To: solr-user@lucene.apache.org
Subject: Re: Confused by queries
Hello.
That is indeed an excellent article, thanks for pointing me at it. With
a title like that, it is no wonder that I was unable to google it on my
own.
assure that it is not a pure
negative
query inside the parentheses:
(name:ipod) OR (*:* -name:ipod)
-- Jack Krupansky
-Original Message- From: Anders Melchiorsen
Sent: Tuesday, January 22, 2013 4:59 PM
To: solr-user@lucene.apache.org
Subject: Confused by queries
Hello!
With the example ser
gt;>
>>> (name:ipod) => 3 hits
>>>
>>> You can simply insert a "*:*" to assure that it is not a pure negative
>>> query inside the parentheses:
>>>
>>>(name:ipod) OR (*:* -name:ipod)
>>>
>>> -- Jack Krupansky
>
; to assure that it is not a pure negative
>> query inside the parentheses:
>>
>>(name:ipod) OR (*:* -name:ipod)
>>
>> -- Jack Krupansky
>>
>> -Original Message- From: Anders Melchiorsen
>> Sent: Tuesday, January 22, 2013 4:59 PM
>> To: solr-user
-- Jack Krupansky
-Original Message- From: Anders Melchiorsen
Sent: Tuesday, January 22, 2013 4:59 PM
To: solr-user@lucene.apache.org
Subject: Confused by queries
Hello!
With the example server of Solr 4.0.0 (with *.xml indexed), I get these
results:
*:* => 32 hits
name:ipod => 3
arentheses:
(name:ipod) OR (*:* -name:ipod)
-- Jack Krupansky
-Original Message-
From: Anders Melchiorsen
Sent: Tuesday, January 22, 2013 4:59 PM
To: solr-user@lucene.apache.org
Subject: Confused by queries
Hello!
With the example server of Solr 4.0.0 (with *.xml indexed), I get
Hello!
With the example server of Solr 4.0.0 (with *.xml indexed), I get these
results:
*:* => 32 hits
name:ipod => 3 hits
-name:ipod => 29 hits
That is all fine, but for these next queries, I would expect to get 32
hits (i.e. everything), or at least the same number of hits for both
querie