You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps integrate with something like meilisearch instead?
You can easily add documents for indexing and it's even possible to scrape the website/database automaticly server/search/api/[document].ts
export default defineEventHandler(async (event) => {
const addRecordRes = await $meilisearch.index("movies").addDocuments([
{
id: 999999994234,
title: "Batman Unmasked: The Psychology of the Dark Knight",
poster: "https://image.tmdb.org/t/p/w1280/jjHu128XLARc2k4cJrblAvZe0HE.jpg",
overview: "Delve into the world of Batman and the vigilante justice tha",
release_date: "2008-07-15",
},
])
return { myCustomResponse: "Document is on the way....", addRecordRes }
})
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Something like
Perhaps integrate with something like meilisearch instead?
You can easily add documents for indexing and it's even possible to scrape the website/database automaticly
server/search/api/[document].ts
More examples at
https://www.meilisearch.com/docs/guides/front_end/search_bar_for_docs Official
https://github.com/meilisearch/docs-searchbar.js?tab=readme-ov-file#customization Deprecated
https://github.com/tauri-apps/meilisearch-docsearch Succesor inspired by algolia/docsearch
https://github.com/meilisearch/vuepress-plugin-meilisearch/blob/main/MeiliSearchBox.vue For vuepress websites
Beta Was this translation helpful? Give feedback.
All reactions