An open API service indexing awesome lists of open source software.

https://github.com/graboskyc/atlassearchlocalnyc2023

MongoDB .Local NYC 2023 talk on how to rapidly iterate an application and evolve the user experience using Atlas Search
https://github.com/graboskyc/atlassearchlocalnyc2023

mongodb mongodb-atlas mongodb-atlas-search mongodb-atlas-vector-search mongodb-dotlocal mongodb-world vector-search

Last synced: 6 months ago
JSON representation

MongoDB .Local NYC 2023 talk on how to rapidly iterate an application and evolve the user experience using Atlas Search

Awesome Lists containing this project

README

          

# Atlas Search for NYC .LOCAL 2023

## Not using Search, Looking Up By _id

See source code in [Results01](AtlasSearchNYC/Pages/Results01.razor)

![](Screenshots/01.gif)

## Basic Search with Dynamic Index

See source code in [Results02](AtlasSearchNYC/Pages/Results02.razor) and its [default index definition](Indexes/default.json)

![](Screenshots/02.gif)

## Refined Index with Scoring and Sorting

See source code in [Results03](AtlasSearchNYC/Pages/Results03.razor) and its [sort index definition](Indexes/sort.json)

![](Screenshots/03.gif)

## More Like This

See source code in [Results04](AtlasSearchNYC/Pages/Results04.razor) and its [sort index definition](Indexes/sort.json)

![](Screenshots/04.gif)

## Autocomplete

See source code in [Results05](AtlasSearchNYC/Pages/Results05.razor) and [SearchBarAutocomplete](AtlasSearchNYC/Shared/SearchBarAutocomplete.razor) and its [autocomplete index definition](Indexes/autocomplete.json)

![](Screenshots/05.gif)

## Facets

See source code in [Results06](AtlasSearchNYC/Pages/Results06.razor) and its [facet index definition](Indexes/facets.json)

![](Screenshots/06.gif)

## Less commmon uses for Facets

See source code in [Results06](AtlasSearchNYC/Pages/Results06.razor) and [MovieDetails](AtlasSearchNYC/Shared/MovieDetails.razor) and its [facet index definition](Indexes/facets.json)

![](Screenshots/07.gif)

## Vector search
As of MongoDB .Local NYC 2023, [MongoDB announced a Public Preview of Vector Search](https://www.mongodb.com/products/platform/atlas-vector-search). The default data set for movies now distributes a collection which uses OpenAI's `ada-002-text` embeddings.

To use this feature, in your `.env` file include the additional `OPENAI` environment variables. Note that the app can use the native OpenAI API (only use `OPENAIAPIKEY`) or Azure's (use `OPENAIAPIKEY` and `OPENAIDEPLOYMENT` and `OPENAIENDPOINT`)

![](Screenshots/08.gif)

# Recording