class Esearch::Command::Document::Index

Document index command

Constants

EXPECTED_STATI
FORCE_OPTIONS
PRESENTER

Private Instance Methods

effective_options() click to toggle source

Return effective options

@return [Hash]

@api private

# File lib/esearch/command/document.rb, line 36
def effective_options
  options.merge(self.class::FORCE_OPTIONS)
end
request() click to toggle source

Return request

@return [Request]

@api private

# File lib/esearch/command/document.rb, line 26
def request
  Request.post(context_path, document, effective_options)
end