sorry change the query to:
label:  (Google AND Cloud AND Storage)

or will Solr add AND / OR behind the scenes?


On Wed, Jul 3, 2013 at 9:59 PM, Ali, Saqib <docbook....@gmail.com> wrote:

> So do I have to change my query to
> label: (Google Cloud Storage) ?
>
> or will Solr add AND / OR behind the scenes?
>
>
> On Wed, Jul 3, 2013 at 9:54 PM, Jack Krupansky <j...@basetechnology.com>wrote:
>
>> Yes, but it is simply doing an AND or OR of the individual terms - no
>> phrases or implied ordering of the terms.
>>
>>
>> -- Jack Krupansky
>>
>> -----Original Message----- From: Ali, Saqib
>> Sent: Thursday, July 04, 2013 12:52 AM
>> To: solr-user@lucene.apache.org
>> Subject: Re: omitTermFreqAndPositions="**true" in easy English, please?
>>
>>
>> Jack,
>>
>> Thanks for the explanation! :
>>
>> We have a multi-value field as following:
>> <field name="label" type="string" indexed="true" stored="true"
>> multiValued="true"/>
>>
>> Most of these labels are two or more letter phrase e.g.
>> 1) Google Reader
>> 2) Google Mail
>> 3) Google Cloud Storage
>>
>> etc. etc.
>>
>> if we add omitTermFreqAndPositions="**true" to this field:
>> <field name="label" type="string" indexed="true" stored="true"
>> multiValued="true" omitTermFreqAndPositions="**true"/>
>>
>> Will we be able to execute queries like:
>> label: (Google Cloud Storage) ?
>>
>> Thanks.
>>
>>
>>
>>
>> On Wed, Jul 3, 2013 at 8:23 PM, Jack Krupansky <j...@basetechnology.com>*
>> *wrote:
>>
>>  If you have a text field and simply want to be able to query whether
>>> individual terms are present in the text without needing to know either
>>> how
>>> frequently the terms occur or that some terms may be in present in
>>> phrases.
>>> So, you can do AND and OR for individual terms in that field, but not
>>> phrases, and there is no scoring difference whether a term occurs once
>>> or a
>>> thousand times in that field for each document. A lot less information
>>> needs to be stored in the index.
>>>
>>> -- Jack Krupansky
>>>
>>> -----Original Message----- From: Ali, Saqib
>>> Sent: Wednesday, July 03, 2013 10:31 PM
>>> To: solr-user@lucene.apache.org
>>> Subject: omitTermFreqAndPositions="****true" in easy English, please?
>>>
>>>
>>> Hello,
>>>
>>> Can anyone please explain omitTermFreqAndPositions="****true" to me in
>>> easy
>>> English, please?
>>>
>>> Thanks.
>>>
>>>
>>
>

Reply via email to