Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/Solrj

------------------------------------------------------------------------------
     List<Item> beans = rsp.getBeans(Item.class);
  }}}
  === Advanced usage ===
- SolrJ provides a APIs to create queries instead of hand coding the query . 
See the example of a faceted query.
+ SolrJ provides a APIs to create queries instead of hand coding the query . 
Following is an example of a faceted query.
  {{{
    SolrServer server = getSolrServer();
    SolrQuery sq = new  SolrQuery();
-   sq.setQuery(query);
+   sq.setQuery("ipod");
    sq.setFacet(true);
    sq.setFacetMinCount(1);
    sq.setFacetLimit(8);

Reply via email to