brianreavis / sifter.js

A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.
1.1k stars 125 forks source link

Variable weights on fields #3

Open brianreavis opened 11 years ago

brianreavis commented 11 years ago
fields: ["title", "description"],
weights: {
   "title": 2,
   "description": 1
}

Only an idea at this point.

michalkniotek commented 10 years ago

+1

olragon commented 9 years ago

+1