NoSQL/SQL Databases which return results by relevance

I am on the lookout for any NoSQL/SQL database that provides functionality similar to Lucene/Solr erc. where the results are ordered by relevance to a query. e.g. NumVal1 between 1 and 3, NumVal2 between 4 and 5 and so on...

I learned MongoDB doesn't do this, and AFAIK neither does Couch.

Example of my need:

Doc1: 
 - NumField 1 : 9.9
 - NumField 2: 8.2

Doc2:
 - NumField 1 : 5.9
 - NumField 2: 8.9


**Query**
 - NumField 1: Between 7 & 10
 - NumField 2: Between 8 & 10

I would want Doc1 to show up before Doc2.

Any suggestions? I am very familiar with Lucene/Solr, but looking for an alternative.

Answers


Elastic Search (another way to say Lucene) would be my go-to component for this use case.


Need Your Help

Change the content of a ComboBox in a DataGrid based on a value in the ItemsSource (WPF)

wpf

I have a datagrid in which one column would be title. I want the title to be able to be editted and the edit to be a comboBox that contains a list of titles based on the sex of the person the row

How to set environment vars in IntelliJ for Gradle tasks

intellij-idea gradle

the easiest way to pass spring profiles to gradle bootRun is (for me) by environment variable (e.g. SPRING_PROFILES_ACTIVE), when run on commandline.