Browse Source

Note concerning usage of (dfs_)query_and_fetch

Add a note indicating that (dfs_)query_and_fetch are only intended for
internal use.
aleph-zero 10 years ago
parent
commit
04c1521428
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/java-api/search.asciidoc

+ 4 - 0
docs/java-api/search.asciidoc

@@ -38,6 +38,10 @@ you can write:
 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
 {ref}/search.html[search] docs.