Skip to content

Commit eecc7be

Browse files
HaystackBotsjrl
andauthored
docs: sync Core Integrations API reference (opensearch) on Docusaurus (#11221)
Co-authored-by: sjrl <10526848+sjrl@users.noreply.github.com>
1 parent 1220ecc commit eecc7be

12 files changed

Lines changed: 48 additions & 48 deletions

File tree

docs-website/reference/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.18/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.19/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.20/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.21/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.22/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.23/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.24/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.25/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

docs-website/reference_versioned_docs/version-2.26/integrations-api/opensearch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __init__(
2121
*,
2222
document_store: OpenSearchDocumentStore,
2323
filters: dict[str, Any] | None = None,
24-
fuzziness: int | str = "AUTO",
24+
fuzziness: int | str = 0,
2525
top_k: int = 10,
2626
scale_score: bool = False,
2727
all_terms_must_match: bool = False,
@@ -42,8 +42,8 @@ Creates the OpenSearchBM25Retriever component.
4242
required to transform one word into another. For example, the "fuzziness" between the words
4343
"wined" and "wind" is 1 because only one edit is needed to match them.
4444

45-
Use "AUTO" (the default) for automatic adjustment based on term length, which is optimal for
46-
most scenarios. For detailed guidance, refer to the
45+
Defaults to `0` (exact matching). Use `"AUTO"` for automatic adjustment based on term length.
46+
For detailed guidance, refer to the
4747
[OpenSearch fuzzy query documentation](https://opensearch.org/docs/latest/query-dsl/term/fuzzy/).
4848

4949
- **top_k** (<code>int</code>) – Maximum number of documents to return.
@@ -940,7 +940,7 @@ __init__(
940940
*,
941941
embedder: TextEmbedder,
942942
filters_bm25: dict[str, Any] | None = None,
943-
fuzziness: int | str = "AUTO",
943+
fuzziness: int | str = 0,
944944
top_k_bm25: int = 10,
945945
scale_score: bool = False,
946946
all_terms_must_match: bool = False,

0 commit comments

Comments
 (0)