From b923c138b8e44665ed6da93a869076728c446927 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Tue, 1 Oct 2013 10:15:49 -0600 Subject: [PATCH] Uniquify more anchor links to fix asciidoc --- docs/java-api/facets.asciidoc | 6 +++--- docs/java-api/query-dsl-filters.asciidoc | 2 -- docs/java-api/query-dsl-queries.asciidoc | 4 ++-- docs/java-api/search.asciidoc | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/java-api/facets.asciidoc b/docs/java-api/facets.asciidoc index 3074f25f65d..60e023a8023 100644 --- a/docs/java-api/facets.asciidoc +++ b/docs/java-api/facets.asciidoc @@ -1,4 +1,4 @@ -[[facets]] +[[java-facets]] == Facets Elasticsearch provides a full Java API to play with facets. See the @@ -30,7 +30,7 @@ import org.elasticsearch.search.facet.FacetBuilders.*; === Facets -[[terms]] +[[java-facet-terms]] ==== Terms Facet Here is how you can use @@ -76,7 +76,7 @@ for (TermsFacet.Entry entry : f) { -------------------------------------------------- -[[range]] +[[java-facet-range]] ==== Range Facet Here is how you can use diff --git a/docs/java-api/query-dsl-filters.asciidoc b/docs/java-api/query-dsl-filters.asciidoc index 875c682a879..4bea75a8d70 100644 --- a/docs/java-api/query-dsl-filters.asciidoc +++ b/docs/java-api/query-dsl-filters.asciidoc @@ -467,8 +467,6 @@ Note that you can ask not to cache the result using `NestedFilterBuilder#cache(boolean)` method. See <>. [[query-dsl-filters-caching]] - -[[caching]] === Caching By default, some filters are cached or not cached. You can have a fine diff --git a/docs/java-api/query-dsl-queries.asciidoc b/docs/java-api/query-dsl-queries.asciidoc index 73f8fbd555e..2948ff14d4f 100644 --- a/docs/java-api/query-dsl-queries.asciidoc +++ b/docs/java-api/query-dsl-queries.asciidoc @@ -286,7 +286,7 @@ QueryBuilder qb = QueryBuilders.queryString("+kimchy -elasticsearch"); -------------------------------------------------- -[[range]] +[[java-range]] === Range Query See {ref}/query-dsl-range-query.html[Range Query] @@ -355,7 +355,7 @@ QueryBuilder qb = QueryBuilders.termQuery("name", "kimchy"); -------------------------------------------------- -[[terms]] +[[java-terms]] === Terms Query See {ref}/query-dsl-terms-query.html[Terms Query] diff --git a/docs/java-api/search.asciidoc b/docs/java-api/search.asciidoc index c2af932a51f..e434a22520f 100644 --- a/docs/java-api/search.asciidoc +++ b/docs/java-api/search.asciidoc @@ -118,7 +118,7 @@ for (MultiSearchResponse.Item item : sr.responses()) { -------------------------------------------------- -[[facets]] +[[java-search-facets]] === Using Facets The following code shows how to add two facets within your search: @@ -136,5 +136,5 @@ TermsFacet f1 = (TermsFacet) sr.facets().facetsAsMap().get("f1"); DateHistogramFacet f2 = (DateHistogramFacet) sr.facets().facetsAsMap().get("f2"); -------------------------------------------------- -See <> +See <> documentation for details.