Marty Schoch
8096d9fb90
remove use of float64 to represent int things
...
this originated from a misunderstanding of mine going back
several years. the values need not be float64 just because
we plan to serialize them as json.
there are still larger questions about what the right type should
be, and where should any conversions go. but, this commit
simply attempts to address the most egregious problems
2017-02-09 20:15:59 -05:00
Marty Schoch
1b4ee737e0
more golint fixes
2016-10-02 11:46:27 -04:00
Marty Schoch
ce572091eb
additional golint cleanups
2016-10-02 11:44:34 -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
Marty Schoch
a2dd037cdb
BREAKING CHANGE - rename fragment_formatters -> format
2016-09-30 12:36:48 -04:00
Marty Schoch
36170a4736
more gofmt simplifications
2016-04-03 00:03:33 -04:00
Marty Schoch
dd209dcbf2
tweak syntax to make older go vet happy
2016-04-02 23:54:36 -04:00
Marty Schoch
4433964f78
tweak syntax
2016-04-02 23:17:47 -04:00
Marty Schoch
020ea1b8ee
tweak syntax slightly
2016-04-02 23:08:43 -04:00
Marty Schoch
194ee82c80
gofmt simplifications
2016-04-02 21:54:33 -04:00
Marty Schoch
a5bb81e19b
fix highlighting bug with array values
2016-02-24 14:06:47 -05:00
opennota
8517feb1c6
Fix some typos
2016-01-15 05:46:27 +07:00
Marty Schoch
f81b2be334
major refactor of bleve configuration
...
see #221 for full details
2015-09-16 17:10:59 -04:00
Marty Schoch
f35e2e42df
fix highlighting to work on fields containing arrays
...
fixes #170
2015-07-31 14:43:12 -04:00
Marty Schoch
6f185f8cc0
fix highlighting bug when terms overlap (ngram analysis)
...
fixes #178
2015-03-18 14:34:47 -04:00
Marty Schoch
fb0db7066f
improve highlighting with multi-byte characters
...
fixes #156
2015-02-06 12:35:01 -05:00
Marty Schoch
ce44378b9c
only add highlighted fragments to map if successfully built some
2015-01-22 17:45:13 -05:00
Silvan Jegen
ef18dfe4cd
Fix typos in comments and strings
2014-12-18 18:43:12 +01:00
Marty Schoch
4f61bbfede
add ability to configure color for ANSI highlighter
...
closes #123
2014-11-19 09:27:57 -05:00
Marty Schoch
e21935f850
another round of golint cleanup
2014-09-03 19:16:46 -04:00
Marty Schoch
e1b77956d4
more golint cleanups
2014-09-03 18:47:02 -04:00
Marty Schoch
d534b0836b
converted ALL_CAPS constants to CamelCase
2014-09-03 17:48:40 -04:00
Marty Schoch
2ee7289bc8
major refactor of search package
...
this started initially to relocate highlighting into
a self contained package, which would then also use
the registry
however, it turned into a much larger refactor in
order to avoid cyclic imports
now facets, searchers, scorers and collectors
are also broken out into subpackages of search
2014-09-01 11:15:38 -04:00