Marty Schoch
d84187fd24
added apostrophe filter to improve turkish analyzer
...
closes #27
2014-08-06 08:50:00 -04:00
Marty Schoch
649a4999a1
fix broken test
2014-08-06 08:42:57 -04:00
Marty Schoch
da26a24031
removed optional element, and fixed took time formatting
2014-08-06 08:25:42 -04:00
Marty Schoch
893efa670e
added some more explicit mappings
2014-08-06 08:25:10 -04:00
Marty Schoch
78da6fd65d
added support for a default field
...
this works at the config and index mapping levels
2014-08-06 08:23:29 -04:00
Marty Schoch
79ab2b9b3d
added unicode normalization filter
2014-08-04 21:59:57 -04:00
Marty Schoch
2c0bf23fac
added elision filter
...
defined article word maps for french, italian, irish and catalan
defined elision filters for these same languages
updated analyers for french and italian to use this new filter
irish and catalan still depend on other missing pieces
closes #25
2014-08-03 19:17:35 -04:00
Marty Schoch
0960cab0ae
refactored StopWordsMap into WordMap so it can be reused
...
the ElisionFilter will need a word list of articles and plan to reuse this
2014-08-03 17:46:35 -04:00
Marty Schoch
1e5cc5c89f
fix issues identified by go vet
2014-08-03 17:21:41 -04:00
Marty Schoch
41ee1028c9
added date range query to beer-search sample app
2014-08-03 17:20:00 -04:00
Marty Schoch
00d6f9700b
added support for date range fields and queries
...
closes #9 and closes #11
2014-08-03 17:19:04 -04:00
Marty Schoch
65b2faeaa2
fix go vet
2014-08-02 19:17:53 -04:00
Marty Schoch
6d6819ed50
added range query to beer-sample app
2014-08-02 19:07:33 -04:00
Marty Schoch
78465ca686
added initial support for indexing and querying numeric values
...
closes #8 and closes #10
2014-08-02 19:05:58 -04:00
Marty Schoch
07eb6311a8
added utility package for encoding numbers at byte terms
...
this encoding scheme matches the one used by lucene
it has been packaged separately so that others may
more easily reuse it without using the rest of bleve
2014-08-02 19:03:16 -04:00
Marty Schoch
dd36f916c4
set token type
2014-07-31 14:10:27 -04:00
Marty Schoch
25540c736a
introduced token type
2014-07-31 13:54:12 -04:00
Marty Schoch
c8918fe41a
adding beer-sample to examples
2014-07-31 11:51:27 -04:00
Marty Schoch
4ae9eb895c
added method to list fields in the index
...
also added a corresponding http handler
2014-07-31 11:47:36 -04:00
Marty Schoch
7a174d7d05
upaated README
...
closes #16
2014-07-31 10:58:20 -04:00
Marty Schoch
3eb63a887b
improved stop word support and related config
...
stop words can be loaded from files/bytes, closes #19
stop words loaded for large list of languages, closes #20
defined language specific analyzers for as much as possible right now, closes #21
opened new issues for some of the remaining gaps
2014-07-30 19:29:52 -04:00
Marty Schoch
216767953c
introduced a config option to disable creating indexes if they don't already exist
...
closes #23 and closes #24
2014-07-30 14:29:26 -04:00
Marty Schoch
67ff4a97a6
fix go vet issue
2014-07-30 12:43:05 -04:00
Marty Schoch
2968d3538a
major refactor, apologies for the large commit
...
removed analyzers (these are now built as needed through config)
removed html chacter filter (now built as needed through config)
added missing license header
changed constructor signature of filters that cannot return errors
filter constructors that can have errors, now have Must variant which panics
change cdl2 tokenizer into filter (should only see lower-case input)
new top level index api, closes #5
refactored index tests to not rely directly on analyzers
moved query objects to top-level
new top level search api, closes #12
top score collector allows skipping results
index mapping supports _all by default, closes #3 and closes #6
index mapping supports disabled sections, closes #7
new http sub package with reusable http.Handler's, closes #22
2014-07-30 12:30:38 -04:00
Marty Schoch
8150146dc7
added tests
2014-07-22 08:54:33 -04:00
Marty Schoch
d7341524aa
trying to fix compilation on drone
2014-07-21 18:00:59 -04:00
Marty Schoch
737dcb6118
fixing c++ issues on drone.io
2014-07-21 17:49:53 -04:00
Marty Schoch
b629636424
new tokenizer which uses cld2 to guess the field's language
2014-07-21 17:21:31 -04:00
Marty Schoch
aade85a6e8
fix broken test
2014-07-21 17:08:18 -04:00
Marty Schoch
70a8b03bed
added support for composite fields
2014-07-21 17:05:55 -04:00
Marty Schoch
1f17195e7d
fix bug when using Advance() on boolean search
...
showed up when nesting booleans within booleans
2014-07-21 16:48:51 -04:00
Marty Schoch
24b4348f7a
fix bug in phrase search on composite fields
...
now correctly finds phrases in any of the contributing fields
2014-07-21 16:48:01 -04:00
Marty Schoch
d3466f3919
refactored field from struct to interface
2014-07-14 14:47:05 -04:00
Marty Schoch
f225d484b3
overhauled search
...
many bugs fixed in existing search
phrase query updated to support gaps in term sequence
new query types
all,none,match,phrase match
and new query syntax search, like google search:
+/-(optional field qualifier:)<term or quoted phrase>
2014-07-11 14:49:59 -04:00
Marty Schoch
5a33825091
removed score caching, was breaking results
2014-07-11 14:45:32 -04:00
Marty Schoch
a7107e27f4
added support for document mapping
2014-07-11 14:26:56 -04:00
Marty Schoch
e8c078c7cc
enhanced jsonpointer shredder to be functional
2014-07-11 14:26:25 -04:00
Marty Schoch
1fac31ac9c
fix bug in simple highlighter
...
when requesting highligh of a field with matches would crash
2014-07-11 14:25:32 -04:00
Marty Schoch
2c86a731b4
added DocIdReader to Index interface
...
added more debug capabilities
removed hard-coded limitation on number of fields in doc
2014-07-11 14:24:28 -04:00
Marty Schoch
bdfa85761a
fix test to correspond with overlapping highlights fix
2014-07-03 15:00:18 -04:00
Marty Schoch
f3cdea9b5a
fix unused import
2014-07-03 14:55:38 -04:00
Marty Schoch
cc77b074fe
added phrase search
2014-07-03 14:54:50 -04:00
Marty Schoch
ef690e0ead
add html fragment formatter
2014-07-03 14:54:12 -04:00
Marty Schoch
238f3af4bd
change higlight api to store in document match
2014-07-03 14:53:44 -04:00
Marty Schoch
8ae8718517
fix bug in identifying overlapping fragments
2014-07-03 14:52:42 -04:00
Marty Schoch
fda861d4e7
add formatted printing of stored rows
...
fix critcal bug in prefix matching on stored row keys
2014-07-03 14:51:06 -04:00
Marty Schoch
9bebbec267
added support for stored fields and highlighting results
2014-06-26 11:43:13 -04:00
Marty Schoch
4af76f539d
fewer allocations building byte array encodings
2014-05-19 11:02:15 -04:00
Marty Schoch
ed308eb253
tweaking perf of gouchstore
2014-05-16 15:00:51 -04:00
Marty Schoch
1b8c353787
adding some benchmarking
2014-05-16 10:09:05 -04:00