Yes it’s atlas:
VERSION
6.0.13
REGION
AWS / Frankfurt (eu-central-1)
CLUSTER TIER
M0 Sandbox (General)
TYPE
Replica Set - 3 nodes
BACKUPS
Inactive
LINKED APP SERVICES
None Linked
ATLAS SQL
Connect
ATLAS SEARCH
1 search index
tryed also in the pipeline:
[
{
$lookup:
/**
* from: The target collection.
* localField: The local join field.
* foreignField: The target join field.
* as: The name for the results.
* pipeline: Optional pipeline to run on the foreign collection.
* let: Optional variables to use in the pipeline field stages.
*/
{
from: "experienceLocation",
localField: "id",
foreignField: "experienceId",
as: "location",
},
},
{
$search:
/**
* index: The name of the Search index.
* text: Analyzed search, with required fields of query and path, the analyzed field(s) to search.
* compound: Combines ops.
* span: Find in text field regions.
* exists: Test for presence of a field.
* near: Find near number or date.
* range: Find in numeric or date range.
*/
{
index: "ExperienceLocation_TextIndex",
text: {
query: "croatia",
path: {
wildcard: "*",
},
},
},
},
]
but the error is
Reason: $_internalSearchMongotRemote is only valid as the first stage in a pipeline