0

Does MongoDB Atlas Full-Text Search support following:

  1. Autocomplete like in Elasticsearch (edge_ngram tokenizer):

Following query:

    GET /my_index/my_type/_search
    {
        "query": {
            "match": {
                "name": "brown fo"
            }
        }
    }

will return these documents:

    {
     "id": "12345",
     "name": "brown beautiful fox"
    }

    {
     "id": "123456",
     "name": "quick brown fox"
    }
  1. Prefix queries like in Elasticsearch:

Following query:

    GET /_search
    {
        "query": {
            "match_phrase_prefix" : {
               "message" : "quick brown f"
            }
       }
    }

will return this document:

    {
     "id": "123456",
     "name": "quick brown fox"
    }
Doug
  • 14,387
  • 17
  • 74
  • 104
serpentina
  • 33
  • 8

1 Answers1

0

There's Atlas full text search, announced recently: https://www.mongodb.com/atlas/full-text-search

Nuk Nuk San
  • 550
  • 3
  • 5