Class: Solr::Commit::Request
- Inherits:
-
Object
- Object
- Solr::Commit::Request
- Defined in:
- lib/solr/commit/request.rb
Constant Summary collapse
- PATH =
'/update'.freeze
Instance Method Summary collapse
Instance Method Details
#run(open_searcher: true, optimize: false, runner_options: nil) ⇒ Object
6 7 8 9 10 |
# File 'lib/solr/commit/request.rb', line 6 def run(open_searcher: true, optimize: false, runner_options: nil) http_request = build_http_request(open_searcher, optimize) = .merge( || {}) Solr::Request::Runner.call(request: http_request, **) end |