Re: exclude docs with null field

2010-06-04 Thread Geert-Jan Brits
Additionally, I should have mentioned that you can instead do: fq=field_3:[* TO *], which uses the filtercache. The method presented by Chris will probably outperform the above method but only on the first request, from then on the filtercache takes over. >From a performance standpoint it's probab

Re: exclude docs with null field

2010-06-04 Thread bluestar
nice one! thanks. > >> i could be wrong but it seems this >> way has a performance hit? >> >> or i am missing something? > > Did you read Chris's message in http://search-lucene.com/m/1o5mEk8DjX1/ > He proposes alternative (more efficient) way other than [* TO *] > > > >

Re: exclude docs with null field

2010-06-04 Thread Ahmet Arslan
> i could be wrong but it seems this > way has a performance hit? > > or i am missing something? Did you read Chris's message in http://search-lucene.com/m/1o5mEk8DjX1/ He proposes alternative (more efficient) way other than [* TO *]

Re: exclude docs with null field

2010-06-04 Thread bluestar
i could be wrong but it seems this way has a performance hit? or i am missing something? > field1:"new york"+field2:"new york"+field3:[* TO *] > > 2010/6/4 bluestar > >> hi there, >> >> say my search query is "new york", and i am searching field1 and field2 >> for it, how do i specify that i wan

Re: exclude docs with null field

2010-06-04 Thread Geert-Jan Brits
field1:"new york"+field2:"new york"+field3:[* TO *] 2010/6/4 bluestar > hi there, > > say my search query is "new york", and i am searching field1 and field2 > for it, how do i specify that i want to exlude docs where field3 doesnt > exist? > > thanks > >

Re: exclude docs with null field

2010-06-04 Thread Ahmet Arslan
> say my search query is "new york", and i am searching > field1 and field2 > for it, how do i specify that i want to exlude docs where > field3 doesnt > exist? http://search-lucene.com/m/1o5mEk8DjX1/

exclude docs with null field

2010-06-03 Thread bluestar
hi there, say my search query is "new york", and i am searching field1 and field2 for it, how do i specify that i want to exlude docs where field3 doesnt exist? thanks