0
0
Fork 0
Commit Graph

18 Commits

Author SHA1 Message Date
Marty Schoch 2dc2130633 additional golint cleanups 2016-10-02 12:00:01 -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 b863add129 address code review comments from @steveyen 2016-09-29 14:54:17 -04:00
Marty Schoch 073c4d0ebd fix issues identified by go vet 2016-09-29 14:54:17 -04:00
Marty Schoch 9ec2ddd757 initial refactor of query into separate package 2016-09-29 14:54:16 -04:00
Marty Schoch 79cc39a67e refactor mapping to inteface and move into separate package
the index mapping contains some relatively messy logic
and the top-level bleve package only cares about a relatively
small portion of this
the motivation for this change is to codify the part that the
top-level bleve package cares about into an interface
then move all the details into its own package

NOTE: the top-level bleve package still has hard dependency on
the actual implementation (for now) because it must deserialize
mappings from JSON and simply assumes it is this one instance.
this is seen as OK for now, and this issue could be revisited
in a future change.  moving the logic into a separate package
is seen as a simplification of top-level bleve, even though
we still depend on the one particular implementation.
2016-09-29 14:53:18 -04:00
Marty Schoch 2311d060d1 add example usage of SortBy and SortByCustom 2016-08-18 13:03:48 -07:00
Jakub Kulhan 7a695d1189 added match query operator 2016-07-06 13:15:56 +02:00
Marty Schoch 9a1e6e1905 fix some test failures on windows 2016-02-09 13:33:11 -05:00
Patrick Mezard e2fa3d6351 doc: document Token, TokenFrequencies and Field structs
It helps understanding what is going on in indexing code.
ArrayPositions() was particularly puzzling.
2015-10-09 12:32:44 +02:00
Marty Schoch f81b2be334 major refactor of bleve configuration
see #221 for full details
2015-09-16 17:10:59 -04:00
Marty Schoch 7f0961424d updated tests for <mark></mark> 2015-07-06 18:00:05 -04:00
Marty Schoch 93e01a803e fix issues identified by errcheck
part of #169
2015-04-07 14:52:00 -04:00
Sacheendra Talluri 78c4c3435d adds examples for defining mappings 2015-01-07 18:43:09 +05:30
Sacheendra Talluri bf9b30840e adds error handling to examples 2015-01-05 13:07:13 +05:30
Sacheendra Talluri 1653fdec22 adds examples for most query functions 2015-01-03 22:35:45 +05:30
Sacheendra Talluri 2de21cdf82 numeric range query problem 2015-01-02 18:39:29 +05:30