Fixing typo

Closes #8713
Remove java facet documentation in master

As we did in reference guide, we need to remove facet java code in master branch.
java: QueryBuilders cleanup (add and deprecate)

Some QueryBuilders are missing or have a different naming than the other ones.

This patch is applied to branch 1.x and master (elasticsearch 1.5 and 2.0):

Added
-----

* `templateQuery(...)`
* `commonTermsQuery(...)`
* `queryStringQuery(...)`
* `simpleQueryStringQuery(...)`

Deprecated
----------

* `commonTerms(...)`
* `queryString(...)`
* `simpleQueryString(...)`
[TEST] Ensure we have a mapping for all types on open/close
Remove unused member / argument on Store
Use IndexStore.shardTranslogLocations to retrieve translog locations
Check custom paths if set
Add a simple test for the custom path setting
Add shard data_template for custom paths
Add test for data_template
Add more assertions for custom data paths
Add check for {{shard_num}} in data_template

Enhance tests for custom data path
Better testing
Refactor into a single resolving method
Resolve template directly as a child of customDataDir
Real logging
add `node_id` to data_template vars
Move template and custom path resolution into NodeEnvironment
Delete index directory for custom data_path indices
Add simple unit tests for NodeEnvironment.hasCustomDataPath