Re: What is the difference between the "AND" and "+" operator?

2010-11-30 Thread Anshum
with a single '=' :) -- Anshum Gupta http://ai-cafe.blogspot.com On Tue, Nov 30, 2010 at 3:03 PM, maven apache wrote: > 2010/11/30 Chris Hostetter > > > > > : Subject: What is the difference between the "AND" and "+" operator? > > > &

Re: What is the difference between the "AND" and "+" operator?

2010-11-30 Thread maven apache
2010/11/30 Chris Hostetter > > : Subject: What is the difference between the "AND" and "+" operator? > > In this query, "y" is mandatory, but documents that also match "x" will > score higher then documents that only match "y"... &

Re: What is the difference between the "AND" and "+" operator?

2010-11-29 Thread Chris Hostetter
: Subject: What is the difference between the "AND" and "+" operator? In this query, "y" is mandatory, but documents that also match "x" will score higher then documents that only match "y"... x +y In both of these queries, "x&quo

Re: What is the difference between the "AND" and "+" operator?

2010-11-29 Thread maven apache
8int%29> > > :(. Since I am using the hibernate search3.2.1,its lucene model is 2.9.3... > Finally > all would depend on the case at hand and what you think is the > expected behavior of search. > Hope this helps. > -- > Anshum Gupta > http://ai-cafe.blogspot.com > &

Re: What is the difference between the "AND" and "+" operator?

2010-11-29 Thread Anshum
eanQuery.html#setMinimumNumberShouldMatch(int)>Finally all would depend on the case at hand and what you think is the expected behavior of search. Hope this helps. -- Anshum Gupta http://ai-cafe.blogspot.com On Mon, Nov 29, 2010 at 1:31 PM, yang Yang wrote: > What is the difference between the &qu

What is the difference between the "AND" and "+" operator?

2010-11-29 Thread yang Yang
What is the difference between the "AND" and "+" operator? ALso,what is the difference between a query and a filter? For example String[] fields={"name","address","classId"}; If I want to search the document whose classId is '4" and who