Can I search a specific collection by using the collection name?

Yes, you can search within a specific collection or a group of collections using the URL parameter "cname".

http://localhost:8080/searchblox/servlet/SearchServlet?cname=news&query=searchblox

http://localhost:8080/searchblox/servlet/SearchServlet?cname=sales&cname=news&query=searchblox

http://localhost:8080/searchblox/plugin/index.html?query=*&cname=news

of using a hidden form field(s):

<input type="hidden" name="cname" value="news" /> 
<input type="hidden" name="cname" value="sales" />


To learn more about SearchBlox please visit our developer document site https://developer.searchblox.com/docs

Have more questions? Submit a request

Comments