Sort full text search results by relevance score in nextapps Flexsearch or alternative
I implemented a simple full text search using Flexsearch by nextapps on Node.js. Relevance based scoring is listed as one of it's features, but results are returned in chronological order when contextual search is disabled.
Is there a way to sort by some relevance score like TF-IDF?
Is there a way to return a relevance score?
If neither, what would be a good alternative Node.js module for static index and with few dependencies?