$search vs $regex vs $text: The Best Way to Get There

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 6

  • @Drew399
    @Drew399 4 года назад

    I have a question about autocomplete indexes. It seems that I can create an index for an object in an array (I've used it for regular search stages) But I can't actually use that for the autocomplete stage. It doesn't give any errors but no results come back where as the same query works for a top level field/object and auto complete but just not with a n array of objects. Any suggestions? @MarcusEagan

    • @bohs
      @bohs 2 года назад

      you need to use embeddedDocument in the index, and in syntax you also need to use embeddedDocument as a operater, and then use autocomplete as the operater of embeddedDocument

  • @ademolaonasoga9748
    @ademolaonasoga9748 4 года назад +1

    Nice talk. What's up with Marcus screen background.

    • @MongoDB
      @MongoDB  4 года назад

      He was in an art studio :-)

    • @rauldeandrade
      @rauldeandrade 3 года назад

      @Marcus Eagan That's awesome. Great environment to work in

  • @petrsonnk
    @petrsonnk Год назад +1

    They call themselves experts but can't even make a proper presentation. 3/4 of the screen occupied by their faces, logos and other non relevant information. The main content is so small that is unreadable. If Mongodb has such "experts" like this lady it is doomed