Problem with Bulk API instantiation


#1

This line is not compiling in Eclipse:

BulkRequestBuilder bulkRequest = client.prepareBulk();

Error:
`

The method prepareBulk() is undefined for the type RestHighLevelClient

`

Any ideas what? Am I missing a dependency?


(David Pilato) #2

Did you read https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-document-bulk.html

?


#3

Yeah, I tried to delete the post after the fact.
Thanks again.


#4

you were right!
7770 records in about a minute!

Edit by @dadoonet: Related post:


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.