search basically working
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user