Is there any API for fetching the data of atlas search index for full text search

i have created search index in MongoDB atlas . now i want to fetch that index data using API. how can i do it.

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

A post was split to a new topic: Search query java

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.