Class V2UpdateRequestHandler

All Implemented Interfaces:
AutoCloseable, ApiSupport, SolrInfoBean, NestedRequestHandler, SolrMetricProducer, SolrRequestHandler, PermissionNameProvider

public class V2UpdateRequestHandler extends UpdateRequestHandler
An extension of UpdateRequestHandler used solely to register the v2 /update APIs

At core-load time, Solr looks at each 'plugin' in ImplicitPlugins.json, fetches the v2 Api implementations associated with each RequestHandler, and registers them in an ApiBag. Since UpdateRequestHandler is mentioned multiple times in ImplicitPlugins.json (once for each update API: /update, /update/json, etc.), this would cause the v2 APIs to be registered in duplicate. To avoid this, Solr has this RequestHandler, whose only purpose is to register the v2 APIs that conceptually should be associated with UpdateRequestHandler.

  • Constructor Details

    • V2UpdateRequestHandler

      public V2UpdateRequestHandler()
  • Method Details