solr - Limit search to specific document type -
let's have 1 collection contain 2 document types: product , customer. search text in customer document type.
how should in solr?
look @ filter queries, http://wiki.apache.org/solr/commonqueryparameters#fq e.g.
http://solr_url:solr_port/solr/select?q=text_you_are_looking_for&fq=document_type:customer
Comments
Post a Comment