Uniquify more anchor links to fix asciidoc
This commit is contained in:
parent
9976f6b9aa
commit
b923c138b8
|
@ -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
|
||||
|
|
|
@ -467,8 +467,6 @@ Note that you can ask not to cache the result using
|
|||
`NestedFilterBuilder#cache(boolean)` method. See <<query-dsl-filters-caching>>.
|
||||
|
||||
[[query-dsl-filters-caching]]
|
||||
|
||||
[[caching]]
|
||||
=== Caching
|
||||
|
||||
By default, some filters are cached or not cached. You can have a fine
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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 <<facets,Facets Java API>>
|
||||
See <<java-facets,Facets Java API>>
|
||||
documentation for details.
|
||||
|
|
Loading…
Reference in New Issue