0
0
Fork 0
bleve/search/query
Marty Schoch a16efa5e78 add experimental support for indexing/query geo points
New field type GeoPointField, or "geopoint" in mapping JSON.

Currently structs and maps are considered when a mapping explicitly
marks a field as type "geopoint".  Several variants of "lon", "lng", and "lat"
are looked for in map keys, struct field names, or method names.

New query type GeoBoundingBoxQuery searches for documents which have a
GeoPointField indexed with a value that is inside the specified bounding box.

New query type GeoDistanceQuery searches for documents which have a
GeoPointField indexed with a value that is less than or equal to the
specified distance from the specified location.

New sort by method "geo_distance".  Hits can be sorted by their distance
from the specified location.

New geo utility package with all routines ported from Lucene.

New FilteringSearcher, which wraps an existing Searcher, but filters
all hits with a user-provided callback.
2017-03-24 17:22:21 -07:00
..
bool_field.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
boolean.go improve query string compatibility 2017-02-23 13:04:18 -05:00
boost.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
conjunction.go improve query string compatibility 2017-02-23 13:04:18 -05:00
date_range.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
date_range_test.go fix BleveQueryTime json marshaling with double-quoting 2016-10-12 11:39:08 -07:00
disjunction.go improve query string compatibility 2017-02-23 13:04:18 -05:00
docid.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
fuzzy.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
geo_boundingbox.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
geo_distance.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
match.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_all.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_none.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
match_phrase.go update match_phrase query to handle multiple tokens in same pos 2017-02-10 17:12:13 -05:00
match_phrase_test.go update match_phrase query to handle multiple tokens in same pos 2017-02-10 17:12:13 -05:00
multi_phrase.go add query support for multi-phrase 2017-02-10 16:46:38 -05:00
numeric_range.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
phrase.go move phrase search logic into phrase searcher 2017-02-10 12:05:01 -05:00
prefix.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
query.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
query_string.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
query_string.y fix query string parsing of numeric ranges with negative value 2017-03-16 11:11:28 -04:00
query_string.y.go fix query string parsing of numeric ranges with negative value 2017-03-16 11:11:28 -04:00
query_string_lex.go fix misspellings 2016-10-02 12:11:15 -04:00
query_string_parser.go switch from go tool yacc to goyacc as of Go 1.8 2017-02-24 09:23:00 -05:00
query_string_parser_test.go fix query string parsing of numeric ranges with negative value 2017-03-16 11:11:28 -04:00
query_test.go add support for parsing BoolFieldQuery from JSON 2016-11-15 10:29:11 -05:00
regexp.go improve performance of regular expression and wildcard queries 2017-01-18 16:22:16 -05:00
term.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
wildcard.go improve performance of regular expression and wildcard queries 2017-01-18 16:22:16 -05:00