Marty Schoch
bddc064069
Merge pull request #471 from steveyen/remove-extra-indirection-LevenshteinDistance
...
removed extra level of pointer indirection from LevenshteinDistance()'s params
2016-10-12 14:05:34 +02:00
Marty Schoch
483f06ef5b
Merge pull request #467 from steveyen/optimize-disjunction-searcher-shrink-children
...
optimize disjunction searcher to trim child searchers array earlier
2016-10-12 14:00:19 +02:00
Marty Schoch
b76cbc805e
Merge pull request #465 from steveyen/cleanup-when-PrefixSearcher-error
...
close resources when we encounter an error on PrefixSearcher initialization
2016-10-12 13:39:28 +02:00
Steve Yen
b6c97ddbfe
removed extra ptr indirection from LevenshteinDistance
2016-10-11 08:49:10 -07:00
Steve Yen
3f588cd4ae
optimize disjunction searcher to trim child searchers array earlier
...
Disjunction searchers are used heavily by higher-level searchers, like
prefix searchers. In that case, a disjunction searcher might have
many thousands of child searchers.
This commit adds an optimization to close each child term searcher as
soon as a child searcher is finished and remove it from the
disjunction searcher's children.
2016-10-10 22:47:11 -07:00
Steve Yen
535b746b41
close resources when error on PrefixSearcher initialization
2016-10-10 17:29:59 -07:00
Steve Yen
2a022830f0
check FieldDictPrefix err result in prefix searcher
2016-10-10 15:35:54 -07:00
Marty Schoch
8e784c362b
another golint suggestions
2016-10-02 11:54:04 -04:00
Marty Schoch
3a276153a3
actually rename packages to singular, not just directory name
2016-10-02 10:29:39 -04:00
Marty Schoch
2332455bd2
nicer formatting of license header
2016-10-02 10:13:14 -04:00
Marty Schoch
6bf9dd59ab
BREAKING CHANGE - additional package renaming
...
i recently learned that package names should also prefer the
singular form, not the plural form
2016-10-01 17:20:59 -04:00