Note concerning usage of (dfs_)query_and_fetch

Add a note indicating that (dfs_)query_and_fetch are only intended for
internal use.
This commit is contained in:
aleph-zero 2015-04-28 16:28:54 -07:00
parent 1d60f34944
commit 04c1521428

@ -38,6 +38,10 @@ you can write:
SearchResponse response = client.prepareSearch().execute().actionGet(); SearchResponse response = client.prepareSearch().execute().actionGet();
-------------------------------------------------- --------------------------------------------------
NOTE: Although the Java API defines the additional search types QUERY_AND_FETCH and
DFS_QUERY_AND_FETCH, these modes are internal optimizations and should not
be specified explicitly by users of the API.
For more information on the search operation, check out the REST For more information on the search operation, check out the REST
{ref}/search.html[search] docs. {ref}/search.html[search] docs.