Is full text search possible with Sails.js and/or Waterline?
I know PostgreSQL supports full text search, but it doesn't look like the PostgreSQL adaptor for Waterline supports that feature as far as I can tell.
Would an efficient full text search be possible with Waterline's contains
helper method?
Sphinx is a full-text search engine server written in C++ for best performance. It works seamlessly on Windows, Linux, macOS. It indexes all data in SQL or NoSQL database. Sphinx offers a rich API (SphinxAPI) that allows developer to integrate it easily and search using SphinxQL which resample old school SQL.
Full-Text Search is a technical term referred to advanced linguistic text query for a database or text documents. The search engine examines all the words stored in a document as it tries to match certain search criteria giving by the user. Many web websites depend on Full-text search to perform advanced search operations.
Bleve is a full-text search engine written in Go language. It's simple, fast and lightweight. It supports text analysis out of box and many languages like French, Dutch, Turkish, Italian, Persian, Arabic, Russian and many more. HubbleDotNet is .Net based full-text search engine.
This video tutorial is an in-depth guide to building your first Node.js/Sails.js app, taught by the creator of the framework, and following the best practices and conventions our team uses for all our projects. We walk you through setting up your development environment and building our demo app, Ration.
You might be able to do something like this:
Model.find({ class: { 'like': '%history%' }})
Which, according to the documentation, is akin to this:
Model.find({ class: { 'contains': 'history' }})
It would be good for you to give an example of what you are attempting, codewise.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With