Hi Matt, When I say filter, I meant q=fish&fq=type:idea
What you are trying is a boolean OR of defaultsearchfield.:fish OR type:idea. Its not a filter, its an OR. Obviously you will get a union of results... ---------- Preetam On Tue, Jul 15, 2008 at 5:37 PM, matt connolly <[EMAIL PROTECTED]> wrote: > > Yes, the same, except for the filter. > > For example: > > http://localhost:8983/solr/select?q=fish > returns: > ....<result name="response" numFound="2" start="0">etc.... (followed by 2 > docs) > > http://localhost:8983/solr/select?q=fish+type:idea > returns: > ....<result name="response" numFound="9" start="0">..... (followed by 9 > docs) > > > -Matt > > > Preetam Rao wrote: > > > > Hi Matt, > > > > Other than applying one more fq, is everything else remains same between > > the > > two queries, like q and all other parameters ? > > > > My understanding is that, fq is an intersection on the set of results > > returned from q. So it should always be a subset of results returned from > > q. > > So if one uses just q, and other uses q and fq, for the same q, the > second > > will have equal or less number of documents. > > > > ------------ > > Preetam > > > > > > -- > View this message in context: > http://www.nabble.com/Filter-by-Type-increases-search-results.-tp18462188p18463448.html > Sent from the Solr - User mailing list archive at Nabble.com. > >