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
377ae090d0
additional golint issues resolved
2014-09-03 18:17:26 -04:00
Marty Schoch
d534b0836b
converted ALL_CAPS constants to CamelCase
2014-09-03 17:48:40 -04:00
Marty Schoch
53b25195d6
further refactoring of index mappings
2014-09-03 16:40:10 -04:00
Marty Schoch
7fbd44224d
get correct field first, then use it for looking up related
2014-09-03 16:09:51 -04:00
Marty Schoch
8e6c8e5644
continued refactoring of the mapping code
...
also renamed some constant that didnt follow go convetions
2014-09-03 13:02:10 -04:00
Marty Schoch
a151bda2ad
moved some logic from mapping_index to mapping_document
...
part of #92
2014-09-03 10:51:21 -04:00
Marty Schoch
28980c4da1
fix issues identified by go lint
2014-09-02 17:40:46 -04:00
Marty Schoch
d75d836c09
change another variable capitalization
2014-09-02 14:22:21 -04:00
Marty Schoch
bbc6fadf69
changed error constants to camel case
...
all caps constants are not idiomatic go
2014-09-02 14:14:05 -04:00
Marty Schoch
f6a3831687
remove some unused vars
2014-09-02 13:58:27 -04:00
Marty Schoch
45e1b2dfc6
removing gouchstore store impl
...
this implementation didn't really adhere to the contract
and now that we have boltdb we have a better pure go impl
2014-09-02 13:56:35 -04:00
Marty Schoch
7a7eb2e94c
add newline between license and package
...
this avoids cluttering godocs with the license
2014-09-02 10:54:50 -04:00
Marty Schoch
a1f0c02cab
remove flag that is no longer used
2014-09-02 10:27:38 -04:00
Marty Schoch
3bc165d77b
renamed/moved examples/bleve_index_json to utils/bleve_index
2014-09-01 16:14:29 -04:00
Marty Schoch
7c0ea53ea2
added utility bleve_create
2014-09-01 14:54:47 -04:00
Marty Schoch
5d435bd022
moved bleve_query from examples to utils
2014-09-01 14:45:02 -04:00
Marty Schoch
ac6176f14c
removed old example from gitignore
2014-09-01 14:37:22 -04:00
Marty Schoch
68a332bc5a
fix broken test crashing
2014-09-01 14:36:46 -04:00
Marty Schoch
97f6b3980b
moved beer-sample and associated data to its own repo
2014-09-01 14:27:52 -04:00
Marty Schoch
831b82832e
added ability to pring mapping
2014-09-01 14:17:05 -04:00
Marty Schoch
f28d00de87
fix so index mapping properly registers analysis on deserialization
2014-09-01 14:16:31 -04:00
Marty Schoch
1dcd06e412
add ability to define custom analysis as part of index mapping
...
now, as part of your index mapping you can create custom
analysis components. these custome analysis components
are serialized as part of the mapping, and reused
as you would expect on subsequent accesses.
2014-09-01 13:55:23 -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
Marty Schoch
209f808722
improve go docs at the top level
...
part of #79
2014-08-31 10:55:22 -04:00
Marty Schoch
862205f184
fix deadlock
...
Search() would attempt to reacquire mutex when invoking Document()
should instead call index.Document(), read mutex is already
acquired
closes #87
2014-08-30 14:49:16 -04:00
Marty Schoch
ac0c2b05fe
reproduce bug #87
2014-08-30 14:49:02 -04:00
Marty Schoch
76660c0d13
removed a few more public methods
2014-08-30 00:13:46 -04:00
Marty Schoch
8c6427959c
made more of index mapping private
2014-08-30 00:06:16 -04:00
Marty Schoch
2ea1f526e7
made more mapping methods private
2014-08-29 23:50:47 -04:00
Marty Schoch
85b21f8864
change to make generated lexer private
2014-08-29 23:31:40 -04:00
Marty Schoch
5f4ea4d749
make date and numeric range stucts private
2014-08-29 23:30:44 -04:00
Marty Schoch
bc8e4a81b8
made parse query string private
2014-08-29 19:31:09 -04:00
Marty Schoch
7bfad18d40
moved byte array converts into the analysis package
2014-08-29 19:23:21 -04:00
Marty Schoch
9487a46188
fix broken test
2014-08-29 18:19:42 -04:00
Marty Schoch
f2c781fa21
refactor to make all the query classes private
2014-08-29 18:14:12 -04:00
Marty Schoch
607b038283
refactored boolean query to only depend on query
2014-08-29 16:27:32 -04:00
Marty Schoch
77c998a7a2
made config private and fixed broken test
2014-08-29 15:32:36 -04:00
Marty Schoch
7313e7247e
renamed SyntaxQuery QueryStringQuery
...
also made IndexMeta private
2014-08-29 15:19:02 -04:00
Marty Schoch
635ae2b401
made more constants private
2014-08-29 14:43:06 -04:00
Marty Schoch
5c4d5e230f
made parsing token constants private
2014-08-29 14:37:38 -04:00
Marty Schoch
d0f4146789
added package level godoc
2014-08-29 14:28:38 -04:00
Marty Schoch
37d3f0205d
cleanup spacing between license and package
2014-08-29 14:18:36 -04:00
Steve Yen
a60ff96457
mention of license in README
...
For the folks like me who are too lazy to make just
one more click on LICENSE.
2014-08-29 07:34:15 -07:00
Marty Schoch
35ed406a8f
changed coveralls badge to blevesearch
2014-08-28 16:53:23 -04:00
Marty Schoch
b56b26cb02
changed drone badge to point to new org
2014-08-28 15:58:37 -04:00
Marty Schoch
1161361bea
rename imports from couchbaselabs to blevesearch
2014-08-28 15:38:57 -04:00
Marty Schoch
e6ee7a11c4
fix broken tests
2014-08-28 14:57:27 -04:00
Marty Schoch
949accc3e4
change default fragment size to 200, also behavior if no matches
...
now if there are no matches, but you requested highlight for the
field we return a single fragment containing the first <fragsize>
bytes. this works well for cases where you want to display a
field highlighted, but still show it even if there were no
matches in that same field
2014-08-28 14:46:30 -04:00