Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Use Meilisearch for solver-network content type #55

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bram-vdberg
Copy link
Contributor

This PR adds Meilisearch rather than the built-in content-manager search function.

The built-in search function relies on fuzzy matching and doesn't search all of the fields within a content-type. This makes it hard to search for specific fields without lots of configuring. In order to make the CMS easier to use we would want to be able to configure our search function to search within content types using just the search bar, rather than configuring filters.

Changes

  • Add custom /api/solver-network/search API endpoint to query the solver-network content type using Meilisearch.

Todo: Update the UI to query Meilisearch. At the moment this can only be tested by going into the cow-cms container and curling the http://localhost:1337/api/solver-network/search?q={query} search endpoint manually.

Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] environment 0 33.2 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 551 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 4.05 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 63.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 12 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 31.8 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 48.3 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 1.91 MB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] Transitive: environment, filesystem +17 4.82 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 70.3 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 674 kB nicolo-ribaudo
npm/@babel/[email protected] 🔁 npm/@babel/[email protected] None 0 2.56 MB nicolo-ribaudo
npm/@emotion/[email protected] environment 0 8.26 kB emotion-release-bot
npm/@jridgewell/[email protected] None 0 81.6 kB jridgewell
npm/@jridgewell/[email protected] None 0 55.2 kB jridgewell
npm/@jridgewell/[email protected] None 0 17.9 kB jridgewell
npm/@jridgewell/[email protected] 🔁 npm/@jridgewell/[email protected] None 0 169 kB jridgewell
npm/[email protected] 🔁 npm/[email protected] None 0 4.19 kB qix
npm/[email protected] None +1 44.2 kB sindresorhus
npm/[email protected] filesystem Transitive: environment +2 9.64 MB joshuawise
npm/[email protected] None 0 11.5 kB juliangruber
npm/[email protected] environment +1 49.2 kB qix
npm/[email protected] None 0 30.9 kB ljharb
npm/[email protected] None 0 11.8 kB ljharb
npm/[email protected] None 0 12.3 kB ljharb
npm/[email protected] None 0 31.4 kB ljharb
npm/[email protected] eval 0 41.6 kB ljharb
npm/[email protected] None 0 7.7 kB ljharb
npm/[email protected] None 0 10.9 kB ljharb
npm/[email protected] None 0 8.77 kB ljharb
npm/[email protected] None 0 6.82 kB juliangruber
npm/[email protected] None 0 32.3 kB mathias
npm/[email protected] 🔁 npm/[email protected] None 0 21.8 kB alexreardon
npm/[email protected] network +1 125 kB drewpowers
npm/[email protected] Transitive: environment, filesystem +16 1.39 MB drewpowers
npm/[email protected] environment, filesystem Transitive: eval, shell +23 2 MB ds300
npm/[email protected] environment, network Transitive: filesystem +9 435 kB brianc
npm/[email protected] 🔁 npm/[email protected] None 0 6.37 kB alexeyraspopov

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/@esbuild/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant