lib/inquisitio/indexer.rb in inquisitio-1.1.2 vs lib/inquisitio/indexer.rb in inquisitio-1.2.0

- old
+ new

@@ -29,10 +29,10 @@ body = @documents.map(&:to_SDF).join(", ") "[#{body}]" end def batch_index_url - "#{Inquisitio.config.document_endpoint}/2011-02-01/documents/batch" + "#{Inquisitio.config.document_endpoint}/#{Inquisitio.config.api_version}/documents/batch" end def post_to_endpoint response = Excon.post(batch_index_url, :body => body,