Terms facet will now throw a parsing exception if no field, fields or a script is supplied.

Previously you'd get an NPE. Also added extra exception when called with unknown parameters.
Java API Documentation (0.90+) needs update for accessors in Facets docs
Closes #3921.
(cherry picked from commit a753c48)
[DOCS] How to check max_file_descriptors