Kishore Nallan
0b88e669f6
Make ART fuzzy_search take min_cost and max_cost instead of only max_cost.
2016-12-28 18:16:43 +05:30
Kishore Nallan
12276b651f
Base work for supporting multiple indexable fields.
2016-12-22 22:26:33 +05:30
Kishore Nallan
9cc3e7e5ea
Fixed a bug in pagination.
2016-11-27 21:30:13 +05:30
Kishore Nallan
17a7297384
Fix prefix based searches.
...
Also, fixed a bug with duplicate document IDs..
2016-11-27 19:57:29 +05:30
Kishore Nallan
e1526319f7
Building up support for prefix based searching and for ranking token suggestions by either frequency or max_score.
2016-11-27 14:56:15 +05:30
Kishore Nallan
db22d01b84
Added an ART search token cache.
...
To cache previous searches so that we don't repeatedly call ART search as we iterate through the correction.
2016-11-26 17:57:05 +05:30
Kishore Nallan
4e10fadeb7
Settle for partial matches when the whole query produces no results.
2016-11-26 17:13:16 +05:30
Kishore Nallan
396e10be5d
Refactor collection's search method to be more judicious in using higher costs.
...
Earlier, even if one token produced no result, ALL tokens were searched with a higher cost. This change ensures that we first retry only the token that did not produce results with a larger cost before doing the same for other tokens.
2016-11-24 21:39:20 +05:30
Kishore Nallan
44d55cb13d
Fixed a search issue: tokens that are not found in the index should be skipped.
2016-11-19 16:56:59 +05:30
Kishore Nallan
5736888935
Tests for collection.
2016-11-13 21:59:32 +05:30