search multiple default fields

2010-07-05 Thread bluestar
hi there, is it possible to define multiple default search fields in the solrconfig.xml? at the moment i am using a queryfilter programatically but i want to be able to configure things such that my query will be processed as: defaultfield:myquery OR field2:myquery OR field3:myquery ... .. basi

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 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 se

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