Re: [Solr Schema API] SolrJ Access

2014-07-09 Thread Alessandro Benedetti
uery = new SolrQuery(); >>> if (dynamicFields) >>> query.setRequestHandler(DYNAMIC_FIELDS_API); >>> else >>> query.setRequestHandler(DEFINED_FIELDS_API); >>> query.setParam("showDefaults"

Re: [Solr Schema API] SolrJ Access

2014-07-09 Thread Alessandro Benedetti
.setParam("showDefaults", true); >> >> QueryResponse response = solrConn.query(query) >> >> Then you've got to parse the response using NamedList etc.etc. >> >> -Original Message- >> From: Alessandro Benedetti [mailto:benedetti.ale...@

Re: [Solr Schema API] SolrJ Access

2014-07-09 Thread Alessandro Benedetti
etParam("showDefaults", true); > > QueryResponse response = solrConn.query(query) > > Then you've got to parse the response using NamedList etc.etc. > > -Original Message- > From: Alessandro Benedetti [mailto:benedetti.ale...@gmail.com] > Sen

RE: [Solr Schema API] SolrJ Access

2014-07-08 Thread Cario, Elaine
've got to parse the response using NamedList etc.etc. -Original Message- From: Alessandro Benedetti [mailto:benedetti.ale...@gmail.com] Sent: Tuesday, July 08, 2014 5:54 AM To: solr-user@lucene.apache.org Subject: [Solr Schema API] SolrJ Access Hi guys, wondering if there is any proper

[Solr Schema API] SolrJ Access

2014-07-08 Thread Alessandro Benedetti
Hi guys, wondering if there is any proper way to access Schema API via Solrj. Of course is possible to reach them in Java with a specific Http Request, but in this way, using SolrCloud for example we become coupled to one specific instance ( and we don't want) . Code Example : HttpRe