Oops... I wasn't reading carefully enough - frequencies and positions only relate to tokenized fields (text) - not string fields.

That doesn't impact your ability to do AND and OR of discrete string terms of a multivalued string field.

-- Jack Krupansky

-----Original Message----- From: Jack Krupansky
Sent: Thursday, July 04, 2013 12:54 AM
To: [email protected]
Subject: Re: omitTermFreqAndPositions="true" in easy English, please?

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: [email protected]
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
<[email protected]>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: [email protected]
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