[Doc] Add an UpdateRequest example to Java API doc

Closes #7083.

(cherry picked from commit f37355a)
[Doc] Java API: add search templates

Closes #7321.

(cherry picked from commit ee108e5)
Typo in error message for geo polygon filter.