diff --git a/docs/reference/docs.asciidoc b/docs/reference/docs.asciidoc index 7526abc5fb6..469bc196c29 100644 --- a/docs/reference/docs.asciidoc +++ b/docs/reference/docs.asciidoc @@ -39,4 +39,6 @@ include::docs/delete-by-query.asciidoc[] include::docs/bulk-udp.asciidoc[] +include::docs/termvectors.asciidoc[] +include::docs/multi-termvectors.asciidoc[] diff --git a/docs/reference/search/multi-termvectors.asciidoc b/docs/reference/docs/multi-termvectors.asciidoc similarity index 87% rename from docs/reference/search/multi-termvectors.asciidoc rename to docs/reference/docs/multi-termvectors.asciidoc index 7aa3bde1774..207fee88ed3 100644 --- a/docs/reference/search/multi-termvectors.asciidoc +++ b/docs/reference/docs/multi-termvectors.asciidoc @@ -3,7 +3,7 @@ Multi termvectors API allows to get multiple termvectors based on an index, type and id. The response includes a `docs` array with all the fetched termvectors, each element having the structure -provided by the <> +provided by the <> API. Here is an example: [source,js] @@ -29,7 +29,7 @@ curl 'localhost:9200/_mtermvectors' -d '{ }' -------------------------------------------------- -See the <> API for a description of possible parameters. +See the <> API for a description of possible parameters. The `_mtermvectors` endpoint can also be used against an index (in which case it is not required in the body): @@ -90,4 +90,4 @@ curl 'localhost:9200/testidx/test/_mtermvectors' -d '{ }' -------------------------------------------------- -Parameters can aslo be set by passing them as uri parameters (see <>). uri parameters are the default parameters and are overwritten by any parameter setting defined in the body. +Parameters can aslo be set by passing them as uri parameters (see <>). uri parameters are the default parameters and are overwritten by any parameter setting defined in the body. diff --git a/docs/reference/search/termvectors.asciidoc b/docs/reference/docs/termvectors.asciidoc similarity index 99% rename from docs/reference/search/termvectors.asciidoc rename to docs/reference/docs/termvectors.asciidoc index c40b961bb95..b44f4fc23fc 100644 --- a/docs/reference/search/termvectors.asciidoc +++ b/docs/reference/docs/termvectors.asciidoc @@ -1,4 +1,4 @@ -[[search-termvectors]] +[[docs-termvectors]] == Term Vectors added[1.0.0.Beta1] diff --git a/docs/reference/search.asciidoc b/docs/reference/search.asciidoc index a387017dde6..68df74c10b7 100644 --- a/docs/reference/search.asciidoc +++ b/docs/reference/search.asciidoc @@ -99,6 +99,3 @@ include::search/percolate.asciidoc[] include::search/more-like-this.asciidoc[] -include::search/termvectors.asciidoc[] - -include::search/multi-termvectors.asciidoc[]