search basically working

This commit is contained in:
talksik
2022-04-02 14:59:55 -04:00
parent e076edd588
commit 7ccf7d842d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export class UserService {
// based on index defined in Mongo atlas // based on index defined in Mongo atlas
const query = { const query = {
$search: { $search: {
index: "default", index: "basic user search",
text: { text: {
query: searchQuery, query: searchQuery,
path: { path: {
+1 -1
View File
@@ -12,7 +12,7 @@ function MyApp({ Component, pageProps }: AppProps) {
<link rel="icon" href="/logos/1024x1024.ico" /> <link rel="icon" href="/logos/1024x1024.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin />
<link <link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;600&display=swap" href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;600&display=swap"
rel="stylesheet" rel="stylesheet"