A solr core is like a separate solr server... so create a new CommonsHttpSolrServer that points at the core. You probably want to create and reuse a single HttpClient instance for the best efficiency.
-Yonik On Mon, Dec 15, 2008 at 11:06 AM, Kay Kay <kaykay.uni...@gmail.com> wrote: > Hi - > I am looking at the article here with a brief introduction to SolrJ . > http://www.ibm.com/developerworks/library/j-solr-update/index.html?ca=dgr-jw17Solr&S_Tact=105AGX59&S_CMP=GRsitejw17#solrj > . > > In case we have multiple SolrCores in the server application - (since 1.3) > - how do I specify as part of SolrQuery as to which core needs to be used > for the given query. I am trying to dig out the information from the code. > Meanwhile, if someone is aware of the same - please suggest some pointers.