Closed kalhomoud closed 11 years ago
Implemented and committed. Please test and confirm it is working. If you are not building from code and need a new JAR created, let me know and I will create one. Thanks!
Thanks! The parameter implementation was tested and seems to be working. Closing the ticket.
Hello,
Sometimes we need to pass parameters with Solr Commiter URL. This is very useful especially when dealing with something like LucidWorks.
Here is an example of what would be done:
SolrInputDocument doc = new SolrInputDocument(); doc.addField("id", "1234"); doc.addField("body", "test"); SolrServer server = new CommonsHttpSolrServer("http://localhost:8888/solr/collection1"); UpdateRequest req = new UpdateRequest(); req.setParam("par1", someValue); <---- to be added for parameters
Thanks, Khalid