You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example using the `query_vector_builder`:
238
+
239
+
```json
240
+
{
241
+
"query": {
242
+
"knn": {
243
+
"field": "inference_field",
244
+
"k": 10,
245
+
"num_candidates": 100,
246
+
"query_vector_builder": {
247
+
"text_embedding": {
248
+
"model_text": "test"
249
+
}
250
+
}
251
+
}
252
+
}
253
+
}
254
+
```
255
+
256
+
Note that for `semantic_text` fields, the `model_id` does not have to be
257
+
provided as it can be inferred from the `semantic_text` field mapping.
258
+
259
+
Knn search using query vectors over `semantic_text` fields is also supported,
260
+
with no change to the API.
261
+
232
262
## Knn query with aggregations [knn-query-aggregations]
233
263
234
264
`knn` query calculates aggregations on top `k` documents from each shard. Thus, the final results from aggregations contain `k * number_of_shards` documents. This is different from the [top level knn section](docs-content://solutions/search/vector/knn.md) where aggregations are calculated on the global top `k` nearest documents.
Copy file name to clipboardExpand all lines: docs/reference/search-connectors/es-connectors-mongodb.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,21 @@ A bug introduced in **8.12.0** causes the Connectors docker image to error out i
251
251
252
252
See [Known issues](/release-notes/known-issues.md) for any issues affecting all connectors.
253
253
254
+
#### UUIDs are not correctly deserialized, causing problems with ingesting documents into Elasticsearch
255
+
256
+
MongoDB has special handling of UUID type: there is a legacy and a modern approach. You can read [official docs](https://pymongo.readthedocs.io/en/stable/examples/uuid.html) about the details.
257
+
258
+
With connector framework version 9.0.3, we improved how standard UUIDs are handled. Now, the MongoDB connector can correctly deserialize UUIDs into valid Elasticsearch values. However, for legacy UUIDs or older connector versions, you might need to adjust the connection string to specify the UUID representation.
259
+
260
+
For example, if you are using the modern UUID representation, adding the `uuidRepresentation=standard` query parameter to the MongoDB connection URI in the `host` Rich Configurable Field will allow the connector to properly handle UUIDs. With this change, the full `host` Rich Configurable Field value could look like this:`mongodb+srv://my_username:[email protected]/mydb?w=majority&uuidRepresentation=standard`
261
+
262
+
If you’re using a legacy UUID representation, you should adjust the connection URI accordingly. For example:
263
+
264
+
- C#: `uuidRepresentation=csharpLegacy`
265
+
- Java: `uuidRepresentation=javaLegacy`
266
+
- Python: `uuidRepresentation=pythonLegacy`
267
+
268
+
You can find a full explanation in the [official docs](https://pymongo.readthedocs.io/en/stable/examples/uuid.html#configuring-a-uuid-representation).
Copy file name to clipboardExpand all lines: docs/reference/search-connectors/es-connectors-sharepoint-online.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -592,6 +592,19 @@ make ftest NAME=sharepoint_online DATA_SIZE=small
592
592
593
593
**Workaround**: Disable `Enumerate All Sites?`, and configure full site paths for all desired sites.
594
594
595
+
* **ACL is not properly inherited for Site Pages and List Items inside of a folder with Unique Permissions when DLS is enabled with Fetch unique list item permissions, Fetch unique page permissions or Fetch drive item permissions**
596
+
597
+
There is a known issue with ACL propagation when List Items, Site Pages or Drive Items are located inside of a folder that has Unique permissions enabled. Consider the following example:
598
+
599
+
```
600
+
[0] Root Site (Access: All)
601
+
[1] Subsite Travel (Access: inherit)
602
+
[2] Folder "/es" (Access: Spanish Employees)
603
+
[3] Page "destinations.html" (Access: inherit)
604
+
```
605
+
606
+
Expected permissions for `destinations.html` should be `Access: Spanish Employees`, but will be `Access: All`, because permissions will be assumed from Subsite Travel, rather than folder "/es".
607
+
595
608
596
609
Refer to [Known issues](/release-notes/known-issues.md) for a list of known issues for all connectors.
0 commit comments