which return only those docs whose all tokens are
from given list
Hi Naresh,
Couldn't you could just model this as an OR query since your requirement
is at least one (but can be more than one), ie:
tags:T1 tags:T2 tags:T3
-sujit
On Mon, May 11, 2015 at 4:14 AM, Naresh Yadav nyadav
...@gmail.com [mailto:sujitatgt...@gmail.com] On Behalf
Of Sujit Pal
Sent: Monday, May 11, 2015 10:40 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr query which return only those docs whose all tokens
are
from given list
Hi Naresh,
Couldn't you could just model
Hi all,
Also asked this here : http://stackoverflow.com/questions/30166116
For example i have SOLR docs in which tags field is indexed :
Doc1 - tags:T1 T2
Doc2 - tags:T1 T3
Doc3 - tags:T1 T4
Doc4 - tags:T1 T2 T3
Query1 : get all docs with tags:T1 AND tags:T3 then it works and will
give Doc2
Hi Naresh,
Couldn't you could just model this as an OR query since your requirement is
at least one (but can be more than one), ie:
tags:T1 tags:T2 tags:T3
-sujit
On Mon, May 11, 2015 at 4:14 AM, Naresh Yadav nyadav@gmail.com wrote:
Hi all,
Also asked this here :
Of
Sujit Pal
Sent: Monday, May 11, 2015 10:40 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr query which return only those docs whose all tokens are
from given list
Hi Naresh,
Couldn't you could just model this as an OR query since your requirement
is at least one (but can be more than
-
From: sujitatgt...@gmail.com [mailto:sujitatgt...@gmail.com] On Behalf Of Sujit
Pal
Sent: Monday, May 11, 2015 10:40 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr query which return only those docs whose all tokens are from
given list
Hi Naresh,
Couldn't you could just model
A simple OR query should be fine :
tags:(T1 T2 T3)
Cheers
2015-05-11 15:39 GMT+01:00 Sujit Pal sujit@comcast.net:
Hi Naresh,
Couldn't you could just model this as an OR query since your requirement is
at least one (but can be more than one), ie:
tags:T1 tags:T2 tags:T3
-sujit
On