Ryan McKinley schrieb: > Alexey Shakov wrote: >> Hi, >> >> I use EmbeddedSolrServer to communicate with solr. >> >> Query of the index works fine, but if I try add/delete, then >> comes "org.apache.solr.common.SolrException: unknown handler: >> /update" >> >> The same config as http-server works without problems. >> >> Any ideas? >> > > To get /update to work with EmbeddedSolrServer , make sure you have > a RequestHandler mapped to "/update" in solrconfig.xml > > The example config has: > > <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" > /> > > ryan Thank you, this was the problem.
Best regards, Alexey