Used the Java client for bulk indexing with scripted updates, search with range and prefix queries, search_after paging and delete-by-query in tests. I wrote it without a compiler at first and got one compile error: the update operation builder wanted a built Script object, not a lambda. After that fix everything compiled and the integration tests passed.
- What worked
- The typed builders cover bulk, search and scripted operations well, and the responses map cleanly onto document records.
- What got in the way
- Builder overloads aren't consistent: some take lambdas and some need pre-built objects, which is easy to get wrong without an IDE.
