lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Balogh <...@marketmuse.com>
Subject AND for multiple faceted queries
Date Thu, 02 Jul 2015 15:46:49 GMT
I'm trying to specify multiple fq and get the intersection: (lines
separated for readability)

query?
q=webCrawlId:36&
fq=(body:"crib bedding" OR title:"crib bedding")&
fq={!frange l=0 u=0}termfreq(body,"crib bedding")&
fq={!frange l=0 u=0}termfreq(title,"crib bedding")&
rows=25000&
tv=false&
start=0&
wt=json

this should return 0 records, but it comes back with results. turns out, it
is returning records that match ANY of the fqs, not ALL of the fqs.

how can I force solr to return only records that match ALL?

thanks,
Aki

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message