i have created search index in MongoDB atlas . now i want to fetch that index data using API. how can i do it.
Skip to main content
Hi @Deepak_Kumar20 - Welcome to the community.
Try the Return One Atlas Search Index API out and see if it’s what you’re after. Example response from the request below:
{
"collectionName": "string",
"database": "string",
"indexID": "32b6e34b3d91647abb20e7b8",
"name": "string",
"status": "IN_PROGRESS",
"type": "search",
"analyzer": "lucene.standard",
"analyzers": [
{
"charFilters": [
{
"ignoredTags": [
"string"
],
"type": "htmlStrip"
}
],
"name": "string",
"tokenFilters": [
{
"originalTokens": "omit",
"type": "asciiFolding"
}
],
"tokenizer": {
"maxGram": 0,
"minGram": 0,
"type": "edgeGram"
}
}
],
"mappings": {
"dynamic": false,
"fields": {
"property1": {},
"property2": {}
}
},
"searchAnalyzer": "lucene.standard",
"synonyms": [
{
"analyzer": "lucene.standard",
"name": "string",
"source": {
"collection": "string"
}
}
]
}
Regards,
Jason
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
How to return ALL facets if there are more than 1000 | 1 | 488 | Jun 2024 |
SearchDefinition issues | 4 | 282 | Nov 2024 |
What is the normal query time for MongoDB Search Index? | 3 | 83 | Oct 2024 |
How to create mongo Atlas ngram Search Index | 1 | 79 | Dec 2024 |
No documents retrieved using dynamic false | 5 | 44 | Jan 18 |