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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -