0
0
Fork 0
bleve/search/searcher
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
..
base_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
ordered_searchers_list.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_boolean.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_boolean_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_conjunction.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_conjunction_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_disjunction.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_disjunction_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_docid.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_docid_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_filter.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
search_fuzzy.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_fuzzy_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_geoboundingbox.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
search_geoboundingbox_test.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
search_geopointdistance.go add experimental support for indexing/query geo points 2017-03-24 17:22:21 -07:00
search_match_all.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_match_all_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_match_none.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_match_none_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_numeric_range.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_numeric_range_test.go actually rename packages to singular, not just directory name 2016-10-02 10:29:39 -04:00
search_phrase.go add additional parens to clarify logic 2017-02-10 20:22:32 -05:00
search_phrase_test.go phrase searcher now supports multi-phrase 2017-02-10 15:17:50 -05:00
search_regexp.go improve performance of regular expression and wildcard queries 2017-01-18 16:22:16 -05:00
search_regexp_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_term.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_term_prefix.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00
search_term_test.go API change: optional SearchRequest.IncludeLocations flag 2017-01-05 21:11:22 -08:00