SolrJ: SolrQuery and ModifiableSolrParams

2014-03-18 Thread Cynthia Park
Hello, What is the difference between setting parameters via SolrQuery vs ModifiableSolrParams? If there is a difference, is there a preferred choice? I'm using Solr 4.6.1. SolrQuery query = new SolrQuery(); query.setParam("wt", "json"); ModifiableSolrParams params = new ModifiableSolrParams()

Solr 4.6.1: Core discovery and default core

2014-02-27 Thread Cynthia Park
Hello, I may have missed this but, how do you specify a default core when using the new-style for the solr.xml? When I view the status of my Solr core setup ( http://localhost:8983/solr/admin/cores?action=STATUS) I see a isDefaultCore speficiation but, i'm not sure where it can from and and where