lib/inquisitio/indexer.rb in inquisitio-1.5.0 vs lib/inquisitio/indexer.rb in inquisitio-2.0.0
- old
+ new
@@ -24,10 +24,10 @@
end
private
def body
- @body ||= "[#{@documents.map(&:to_SDF).join(", ")}]"
+ @body ||= "[#{@documents.map(&:to_sdf).join(", ")}]"
end
def batch_index_url
"#{Inquisitio.config.document_endpoint}/#{Inquisitio.config.api_version}/documents/batch"
end