Skip to content

Commit 5ed0e97

Browse files
committed
Comment out troublesome URLs
1 parent 1f936a1 commit 5ed0e97

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

solutions/search/retrievers-examples.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ Which would return the following results:
392392

393393
## Example: Grouping results by year with `collapse` [retrievers-examples-collapsing-retriever-results]
394394

395-
In our result set, we have many documents with the same `year` value. We can clean this up using the `collapse` parameter with our retriever. This, as with the standard [collapse](/raw-migrated-files/elasticsearch/elasticsearch-reference/collapse-search-results.md) feature, enables grouping results by any field and returns only the highest-scoring document from each group. In this example we’ll collapse our results based on the `year` field.
395+
In our result set, we have many documents with the same `year` value. We can clean this up using the `collapse` parameter with our retriever. This, as with the standard
396+
% [collapse](/raw-migrated-files/elasticsearch/elasticsearch-reference/collapse-search-results.md) feature,
397+
enables grouping results by any field and returns only the highest-scoring document from each group. In this example we’ll collapse our results based on the `year` field.
396398

397399
```console
398400
GET /retrievers_example/_search
@@ -541,7 +543,9 @@ This returns the following response with collapsed results.
541543

542544
## Example: Highlighting results based on nested sub-retrievers [retrievers-examples-highlighting-retriever-results]
543545

544-
Highlighting is now also available for nested sub-retrievers matches. For example, consider the same `rrf` retriever as above, with a `knn` and `standard` retriever as its sub-retrievers. We can specify a `highlight` section, as defined in [highlighting](/raw-migrated-files/elasticsearch/elasticsearch-reference/highlighting.md) documentation, and compute highlights for the top results.
546+
Highlighting is now also available for nested sub-retrievers matches. For example, consider the same `rrf` retriever as above, with a `knn` and `standard` retriever as its sub-retrievers. We can specify a `highlight` section,
547+
% TODO URL as defined in the [highlighting](/raw-migrated-files/elasticsearch/elasticsearch-reference/highlighting.md) documentation,
548+
and compute highlights for the top results.
545549

546550
```console
547551
GET /retrievers_example/_search
@@ -738,7 +742,9 @@ POST /retrievers_example_nested/_doc/3
738742
POST /retrievers_example_nested/_refresh
739743
```
740744

741-
Now we can run an `rrf` retriever query and also compute [inner hits](/raw-migrated-files/elasticsearch/elasticsearch-reference/inner-hits.md) for the `nested_field.nested_vector` field, based on the `knn` query specified.
745+
Now we can run an `rrf` retriever query and also compute inner hits
746+
% TODO URL [inner hits](/raw-migrated-files/elasticsearch/elasticsearch-reference/inner-hits.md)
747+
for the `nested_field.nested_vector` field, based on the `knn` query specified.
742748

743749
```console
744750
GET /retrievers_example_nested/_search
@@ -1261,7 +1267,10 @@ The output of which, albeit a bit verbose, will provide all the necessary info t
12611267

12621268
## Example: Rerank results of an RRF retriever [retrievers-examples-text-similarity-reranker-on-top-of-rrf]
12631269

1264-
To demonstrate the full functionality of retrievers, the following examples also require access to a [semantic reranking model](/raw-migrated-files/elasticsearch/elasticsearch-reference/semantic-reranking.md#semantic-reranking-models) set up using the [Elastic inference APIs](/raw-migrated-files/elasticsearch/elasticsearch-reference/inference-apis.md).
1270+
To demonstrate the full functionality of retrievers, the following examples also require access to a semantic reranking model
1271+
% TODO URL [semantic reranking model](/raw-migrated-files/elasticsearch/elasticsearch-reference/semantic-reranking.md#semantic-reranking-models)
1272+
set up using the inference APIs.
1273+
% [Elastic inference APIs](/raw-migrated-files/elasticsearch/elasticsearch-reference/inference-apis.md).
12651274

12661275
In this example we’ll set up a reranking service and use it with the `text_similarity_reranker` retriever to rerank our top results.
12671276

0 commit comments

Comments
 (0)