Re: Suggester on Dynamic fields

2014-10-22 Thread Simon
Hi Ramzi, First thanks for your comments. Regarding your line parameters.set("qt", /suggest") My understanding is that "suggest" has to be a handler defined in SolrConfig.xml. And the handler needs to have one of more defined (search) component(s). The search component syntax needs diction

Re: Suggester on Dynamic fields

2014-10-21 Thread Ramzi Alqrainy
Use query() to have Solr search for results. You have to pass a SolrQuery object that describes the query, and you will get back a QueryResponse (from the org.apache.solr.client.solrj.response package). SolrQuery has methods that make it easy to add parameters to choose a request handler and send p