Class: Solr::Indexing::Request
- Inherits:
-
Object
- Object
- Solr::Indexing::Request
- Defined in:
- lib/solr/indexing/request.rb
Constant Summary collapse
- PATH =
'/update'.freeze
Instance Attribute Summary collapse
-
#documents ⇒ Object
readonly
Returns the value of attribute documents.
Instance Method Summary collapse
-
#initialize(documents = []) ⇒ Request
constructor
A new instance of Request.
- #run(commit: false, runner_options: nil) ⇒ Object
Constructor Details
#initialize(documents = []) ⇒ Request
Returns a new instance of Request.
8 9 10 |
# File 'lib/solr/indexing/request.rb', line 8 def initialize(documents = []) @documents = documents end |
Instance Attribute Details
#documents ⇒ Object (readonly)
Returns the value of attribute documents.
6 7 8 |
# File 'lib/solr/indexing/request.rb', line 6 def documents @documents end |