searchkick-hooopo 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.travis.yml +35 -0
- data/CHANGELOG.md +491 -0
- data/Gemfile +12 -0
- data/LICENSE.txt +22 -0
- data/README.md +1908 -0
- data/Rakefile +20 -0
- data/benchmark/Gemfile +23 -0
- data/benchmark/benchmark.rb +97 -0
- data/lib/searchkick/bulk_reindex_job.rb +17 -0
- data/lib/searchkick/index.rb +500 -0
- data/lib/searchkick/index_options.rb +333 -0
- data/lib/searchkick/indexer.rb +28 -0
- data/lib/searchkick/logging.rb +242 -0
- data/lib/searchkick/middleware.rb +12 -0
- data/lib/searchkick/model.rb +156 -0
- data/lib/searchkick/process_batch_job.rb +23 -0
- data/lib/searchkick/process_queue_job.rb +23 -0
- data/lib/searchkick/query.rb +901 -0
- data/lib/searchkick/reindex_queue.rb +38 -0
- data/lib/searchkick/reindex_v2_job.rb +39 -0
- data/lib/searchkick/results.rb +216 -0
- data/lib/searchkick/tasks.rb +33 -0
- data/lib/searchkick/version.rb +3 -0
- data/lib/searchkick.rb +215 -0
- data/searchkick.gemspec +28 -0
- data/test/aggs_test.rb +197 -0
- data/test/autocomplete_test.rb +75 -0
- data/test/boost_test.rb +175 -0
- data/test/callbacks_test.rb +59 -0
- data/test/ci/before_install.sh +17 -0
- data/test/errors_test.rb +19 -0
- data/test/gemfiles/activerecord31.gemfile +7 -0
- data/test/gemfiles/activerecord32.gemfile +7 -0
- data/test/gemfiles/activerecord40.gemfile +8 -0
- data/test/gemfiles/activerecord41.gemfile +8 -0
- data/test/gemfiles/activerecord42.gemfile +7 -0
- data/test/gemfiles/activerecord50.gemfile +7 -0
- data/test/gemfiles/apartment.gemfile +8 -0
- data/test/gemfiles/cequel.gemfile +8 -0
- data/test/gemfiles/mongoid2.gemfile +7 -0
- data/test/gemfiles/mongoid3.gemfile +6 -0
- data/test/gemfiles/mongoid4.gemfile +7 -0
- data/test/gemfiles/mongoid5.gemfile +7 -0
- data/test/gemfiles/mongoid6.gemfile +8 -0
- data/test/gemfiles/nobrainer.gemfile +8 -0
- data/test/gemfiles/parallel_tests.gemfile +8 -0
- data/test/geo_shape_test.rb +172 -0
- data/test/highlight_test.rb +78 -0
- data/test/index_test.rb +153 -0
- data/test/inheritance_test.rb +83 -0
- data/test/marshal_test.rb +8 -0
- data/test/match_test.rb +276 -0
- data/test/misspellings_test.rb +56 -0
- data/test/model_test.rb +42 -0
- data/test/multi_search_test.rb +22 -0
- data/test/multi_tenancy_test.rb +22 -0
- data/test/order_test.rb +46 -0
- data/test/pagination_test.rb +53 -0
- data/test/partial_reindex_test.rb +58 -0
- data/test/query_test.rb +35 -0
- data/test/records_test.rb +10 -0
- data/test/reindex_test.rb +52 -0
- data/test/reindex_v2_job_test.rb +32 -0
- data/test/routing_test.rb +23 -0
- data/test/should_index_test.rb +32 -0
- data/test/similar_test.rb +28 -0
- data/test/sql_test.rb +198 -0
- data/test/suggest_test.rb +85 -0
- data/test/synonyms_test.rb +67 -0
- data/test/test_helper.rb +527 -0
- data/test/where_test.rb +223 -0
- metadata +250 -0
data/test/where_test.rb
ADDED
@@ -0,0 +1,223 @@
|
|
1
|
+
require_relative "test_helper"
|
2
|
+
|
3
|
+
class WhereTest < Minitest::Test
|
4
|
+
def test_where
|
5
|
+
now = Time.now
|
6
|
+
store [
|
7
|
+
{name: "Product A", store_id: 1, in_stock: true, backordered: true, created_at: now, orders_count: 4, user_ids: [1, 2, 3]},
|
8
|
+
{name: "Product B", store_id: 2, in_stock: true, backordered: false, created_at: now - 1, orders_count: 3, user_ids: [1]},
|
9
|
+
{name: "Product C", store_id: 3, in_stock: false, backordered: true, created_at: now - 2, orders_count: 2, user_ids: [1, 3]},
|
10
|
+
{name: "Product D", store_id: 4, in_stock: false, backordered: false, created_at: now - 3, orders_count: 1}
|
11
|
+
]
|
12
|
+
assert_search "product", ["Product A", "Product B"], where: {in_stock: true}
|
13
|
+
|
14
|
+
# due to precision
|
15
|
+
unless cequel?
|
16
|
+
# date
|
17
|
+
assert_search "product", ["Product A"], where: {created_at: {gt: now - 1}}
|
18
|
+
assert_search "product", ["Product A", "Product B"], where: {created_at: {gte: now - 1}}
|
19
|
+
assert_search "product", ["Product D"], where: {created_at: {lt: now - 2}}
|
20
|
+
assert_search "product", ["Product C", "Product D"], where: {created_at: {lte: now - 2}}
|
21
|
+
end
|
22
|
+
|
23
|
+
# integer
|
24
|
+
assert_search "product", ["Product A"], where: {store_id: {lt: 2}}
|
25
|
+
assert_search "product", ["Product A", "Product B"], where: {store_id: {lte: 2}}
|
26
|
+
assert_search "product", ["Product D"], where: {store_id: {gt: 3}}
|
27
|
+
assert_search "product", ["Product C", "Product D"], where: {store_id: {gte: 3}}
|
28
|
+
|
29
|
+
# range
|
30
|
+
assert_search "product", ["Product A", "Product B"], where: {store_id: 1..2}
|
31
|
+
assert_search "product", ["Product A"], where: {store_id: 1...2}
|
32
|
+
assert_search "product", ["Product A", "Product B"], where: {store_id: [1, 2]}
|
33
|
+
assert_search "product", ["Product B", "Product C", "Product D"], where: {store_id: {not: 1}}
|
34
|
+
assert_search "product", ["Product C", "Product D"], where: {store_id: {not: [1, 2]}}
|
35
|
+
assert_search "product", ["Product A"], where: {user_ids: {lte: 2, gte: 2}}
|
36
|
+
|
37
|
+
# or
|
38
|
+
assert_search "product", ["Product A", "Product B", "Product C"], where: {or: [[{in_stock: true}, {store_id: 3}]]}
|
39
|
+
assert_search "product", ["Product A", "Product B", "Product C"], where: {or: [[{orders_count: [2, 4]}, {store_id: [1, 2]}]]}
|
40
|
+
assert_search "product", ["Product A", "Product D"], where: {or: [[{orders_count: 1}, {created_at: {gte: now - 1}, backordered: true}]]}
|
41
|
+
|
42
|
+
# _or
|
43
|
+
assert_search "product", ["Product A", "Product B", "Product C"], where: {_or: [{in_stock: true}, {store_id: 3}]}
|
44
|
+
assert_search "product", ["Product A", "Product B", "Product C"], where: {_or: [{orders_count: [2, 4]}, {store_id: [1, 2]}]}
|
45
|
+
assert_search "product", ["Product A", "Product D"], where: {_or: [{orders_count: 1}, {created_at: {gte: now - 1}, backordered: true}]}
|
46
|
+
|
47
|
+
# _and
|
48
|
+
assert_search "product", ["Product A"], where: {_and: [{in_stock: true}, {backordered: true}]}
|
49
|
+
|
50
|
+
# _not
|
51
|
+
assert_search "product", ["Product B", "Product C"], where: {_not: {_or: [{orders_count: 1}, {created_at: {gte: now - 1}, backordered: true}]}}
|
52
|
+
|
53
|
+
# all
|
54
|
+
assert_search "product", ["Product A", "Product C"], where: {user_ids: {all: [1, 3]}}
|
55
|
+
assert_search "product", [], where: {user_ids: {all: [1, 2, 3, 4]}}
|
56
|
+
|
57
|
+
# any / nested terms
|
58
|
+
assert_search "product", ["Product B", "Product C"], where: {user_ids: {not: [2], in: [1, 3]}}
|
59
|
+
|
60
|
+
# not / exists
|
61
|
+
assert_search "product", ["Product D"], where: {user_ids: nil}
|
62
|
+
assert_search "product", ["Product A", "Product B", "Product C"], where: {user_ids: {not: nil}}
|
63
|
+
assert_search "product", ["Product A", "Product C", "Product D"], where: {user_ids: [3, nil]}
|
64
|
+
assert_search "product", ["Product B"], where: {user_ids: {not: [3, nil]}}
|
65
|
+
end
|
66
|
+
|
67
|
+
def test_regexp
|
68
|
+
store_names ["Product A"]
|
69
|
+
assert_search "*", ["Product A"], where: {name: /Pro.+/}
|
70
|
+
end
|
71
|
+
|
72
|
+
def test_alternate_regexp
|
73
|
+
store_names ["Product A", "Item B"]
|
74
|
+
assert_search "*", ["Product A"], where: {name: {regexp: "Pro.+"}}
|
75
|
+
end
|
76
|
+
|
77
|
+
def test_where_string
|
78
|
+
store [
|
79
|
+
{name: "Product A", color: "RED"}
|
80
|
+
]
|
81
|
+
assert_search "product", ["Product A"], where: {color: "RED"}
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_where_nil
|
85
|
+
store [
|
86
|
+
{name: "Product A"},
|
87
|
+
{name: "Product B", color: "red"}
|
88
|
+
]
|
89
|
+
assert_search "product", ["Product A"], where: {color: nil}
|
90
|
+
end
|
91
|
+
|
92
|
+
def test_where_id
|
93
|
+
store_names ["Product A"]
|
94
|
+
product = Product.first
|
95
|
+
assert_search "product", ["Product A"], where: {id: product.id.to_s}
|
96
|
+
end
|
97
|
+
|
98
|
+
def test_where_empty
|
99
|
+
store_names ["Product A"]
|
100
|
+
assert_search "product", ["Product A"], where: {}
|
101
|
+
end
|
102
|
+
|
103
|
+
def test_where_empty_array
|
104
|
+
store_names ["Product A"]
|
105
|
+
assert_search "product", [], where: {store_id: []}
|
106
|
+
end
|
107
|
+
|
108
|
+
# http://elasticsearch-users.115913.n3.nabble.com/Numeric-range-quey-or-filter-in-an-array-field-possible-or-not-td4042967.html
|
109
|
+
# https://gist.github.com/jprante/7099463
|
110
|
+
def test_where_range_array
|
111
|
+
store [
|
112
|
+
{name: "Product A", user_ids: [11, 23, 13, 16, 17, 23]},
|
113
|
+
{name: "Product B", user_ids: [1, 2, 3, 4, 5, 6, 7, 8, 9]},
|
114
|
+
{name: "Product C", user_ids: [101, 230, 150, 200]}
|
115
|
+
]
|
116
|
+
assert_search "product", ["Product A"], where: {user_ids: {gt: 10, lt: 24}}
|
117
|
+
end
|
118
|
+
|
119
|
+
def test_where_range_array_again
|
120
|
+
store [
|
121
|
+
{name: "Product A", user_ids: [19, 32, 42]},
|
122
|
+
{name: "Product B", user_ids: [13, 40, 52]}
|
123
|
+
]
|
124
|
+
assert_search "product", ["Product A"], where: {user_ids: {gt: 26, lt: 36}}
|
125
|
+
end
|
126
|
+
|
127
|
+
def test_near
|
128
|
+
store [
|
129
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
130
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
131
|
+
]
|
132
|
+
assert_search "san", ["San Francisco"], where: {location: {near: [37.5, -122.5]}}
|
133
|
+
end
|
134
|
+
|
135
|
+
def test_near_hash
|
136
|
+
store [
|
137
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
138
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
139
|
+
]
|
140
|
+
assert_search "san", ["San Francisco"], where: {location: {near: {lat: 37.5, lon: -122.5}}}
|
141
|
+
end
|
142
|
+
|
143
|
+
def test_near_within
|
144
|
+
store [
|
145
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
146
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000},
|
147
|
+
{name: "San Marino", latitude: 43.9333, longitude: 12.4667}
|
148
|
+
]
|
149
|
+
assert_search "san", ["San Francisco", "San Antonio"], where: {location: {near: [37, -122], within: "2000mi"}}
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_near_within_hash
|
153
|
+
store [
|
154
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
155
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000},
|
156
|
+
{name: "San Marino", latitude: 43.9333, longitude: 12.4667}
|
157
|
+
]
|
158
|
+
assert_search "san", ["San Francisco", "San Antonio"], where: {location: {near: {lat: 37, lon: -122}, within: "2000mi"}}
|
159
|
+
end
|
160
|
+
|
161
|
+
def test_geo_polygon
|
162
|
+
store [
|
163
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
164
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000},
|
165
|
+
{name: "San Marino", latitude: 43.9333, longitude: 12.4667}
|
166
|
+
]
|
167
|
+
polygon = [
|
168
|
+
{lat: 42.185695, lon: -125.496146},
|
169
|
+
{lat: 42.185695, lon: -94.125535},
|
170
|
+
{lat: 27.122789, lon: -94.125535},
|
171
|
+
{lat: 27.12278, lon: -125.496146}
|
172
|
+
]
|
173
|
+
assert_search "san", ["San Francisco", "San Antonio"], where: {location: {geo_polygon: {points: polygon}}}
|
174
|
+
end
|
175
|
+
|
176
|
+
def test_top_left_bottom_right
|
177
|
+
store [
|
178
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
179
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
180
|
+
]
|
181
|
+
assert_search "san", ["San Francisco"], where: {location: {top_left: [38, -123], bottom_right: [37, -122]}}
|
182
|
+
end
|
183
|
+
|
184
|
+
def test_top_left_bottom_right_hash
|
185
|
+
store [
|
186
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
187
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
188
|
+
]
|
189
|
+
assert_search "san", ["San Francisco"], where: {location: {top_left: {lat: 38, lon: -123}, bottom_right: {lat: 37, lon: -122}}}
|
190
|
+
end
|
191
|
+
|
192
|
+
def test_multiple_locations
|
193
|
+
store [
|
194
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
195
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
196
|
+
]
|
197
|
+
assert_search "san", ["San Francisco"], where: {multiple_locations: {near: [37.5, -122.5]}}
|
198
|
+
end
|
199
|
+
|
200
|
+
def test_multiple_locations_with_term_filter
|
201
|
+
store [
|
202
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
203
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
204
|
+
]
|
205
|
+
assert_search "san", [], where: {multiple_locations: {near: [37.5, -122.5]}, name: "San Antonio"}
|
206
|
+
assert_search "san", ["San Francisco"], where: {multiple_locations: {near: [37.5, -122.5]}, name: "San Francisco"}
|
207
|
+
end
|
208
|
+
|
209
|
+
def test_multiple_locations_hash
|
210
|
+
store [
|
211
|
+
{name: "San Francisco", latitude: 37.7833, longitude: -122.4167},
|
212
|
+
{name: "San Antonio", latitude: 29.4167, longitude: -98.5000}
|
213
|
+
]
|
214
|
+
assert_search "san", ["San Francisco"], where: {multiple_locations: {near: {lat: 37.5, lon: -122.5}}}
|
215
|
+
end
|
216
|
+
|
217
|
+
def test_nested
|
218
|
+
store [
|
219
|
+
{name: "Product A", details: {year: 2016}}
|
220
|
+
]
|
221
|
+
assert_search "product", ["Product A"], where: {"details.year" => 2016}
|
222
|
+
end
|
223
|
+
end
|
metadata
ADDED
@@ -0,0 +1,250 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: searchkick-hooopo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrew Kane
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activemodel
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: elasticsearch
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: hashie
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Intelligent search made easy
|
98
|
+
email:
|
99
|
+
- andrew@chartkick.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CHANGELOG.md
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- benchmark/Gemfile
|
112
|
+
- benchmark/benchmark.rb
|
113
|
+
- lib/searchkick.rb
|
114
|
+
- lib/searchkick/bulk_reindex_job.rb
|
115
|
+
- lib/searchkick/index.rb
|
116
|
+
- lib/searchkick/index_options.rb
|
117
|
+
- lib/searchkick/indexer.rb
|
118
|
+
- lib/searchkick/logging.rb
|
119
|
+
- lib/searchkick/middleware.rb
|
120
|
+
- lib/searchkick/model.rb
|
121
|
+
- lib/searchkick/process_batch_job.rb
|
122
|
+
- lib/searchkick/process_queue_job.rb
|
123
|
+
- lib/searchkick/query.rb
|
124
|
+
- lib/searchkick/reindex_queue.rb
|
125
|
+
- lib/searchkick/reindex_v2_job.rb
|
126
|
+
- lib/searchkick/results.rb
|
127
|
+
- lib/searchkick/tasks.rb
|
128
|
+
- lib/searchkick/version.rb
|
129
|
+
- searchkick.gemspec
|
130
|
+
- test/aggs_test.rb
|
131
|
+
- test/autocomplete_test.rb
|
132
|
+
- test/boost_test.rb
|
133
|
+
- test/callbacks_test.rb
|
134
|
+
- test/ci/before_install.sh
|
135
|
+
- test/errors_test.rb
|
136
|
+
- test/gemfiles/activerecord31.gemfile
|
137
|
+
- test/gemfiles/activerecord32.gemfile
|
138
|
+
- test/gemfiles/activerecord40.gemfile
|
139
|
+
- test/gemfiles/activerecord41.gemfile
|
140
|
+
- test/gemfiles/activerecord42.gemfile
|
141
|
+
- test/gemfiles/activerecord50.gemfile
|
142
|
+
- test/gemfiles/apartment.gemfile
|
143
|
+
- test/gemfiles/cequel.gemfile
|
144
|
+
- test/gemfiles/mongoid2.gemfile
|
145
|
+
- test/gemfiles/mongoid3.gemfile
|
146
|
+
- test/gemfiles/mongoid4.gemfile
|
147
|
+
- test/gemfiles/mongoid5.gemfile
|
148
|
+
- test/gemfiles/mongoid6.gemfile
|
149
|
+
- test/gemfiles/nobrainer.gemfile
|
150
|
+
- test/gemfiles/parallel_tests.gemfile
|
151
|
+
- test/geo_shape_test.rb
|
152
|
+
- test/highlight_test.rb
|
153
|
+
- test/index_test.rb
|
154
|
+
- test/inheritance_test.rb
|
155
|
+
- test/marshal_test.rb
|
156
|
+
- test/match_test.rb
|
157
|
+
- test/misspellings_test.rb
|
158
|
+
- test/model_test.rb
|
159
|
+
- test/multi_search_test.rb
|
160
|
+
- test/multi_tenancy_test.rb
|
161
|
+
- test/order_test.rb
|
162
|
+
- test/pagination_test.rb
|
163
|
+
- test/partial_reindex_test.rb
|
164
|
+
- test/query_test.rb
|
165
|
+
- test/records_test.rb
|
166
|
+
- test/reindex_test.rb
|
167
|
+
- test/reindex_v2_job_test.rb
|
168
|
+
- test/routing_test.rb
|
169
|
+
- test/should_index_test.rb
|
170
|
+
- test/similar_test.rb
|
171
|
+
- test/sql_test.rb
|
172
|
+
- test/suggest_test.rb
|
173
|
+
- test/synonyms_test.rb
|
174
|
+
- test/test_helper.rb
|
175
|
+
- test/where_test.rb
|
176
|
+
homepage: https://github.com/ankane/searchkick
|
177
|
+
licenses:
|
178
|
+
- MIT
|
179
|
+
metadata: {}
|
180
|
+
post_install_message:
|
181
|
+
rdoc_options: []
|
182
|
+
require_paths:
|
183
|
+
- lib
|
184
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
requirements: []
|
195
|
+
rubyforge_project:
|
196
|
+
rubygems_version: 2.5.1
|
197
|
+
signing_key:
|
198
|
+
specification_version: 4
|
199
|
+
summary: Searchkick learns what your users are looking for. As more people search,
|
200
|
+
it gets smarter and the results get better. It’s friendly for developers - and magical
|
201
|
+
for your users.
|
202
|
+
test_files:
|
203
|
+
- benchmark/Gemfile
|
204
|
+
- benchmark/benchmark.rb
|
205
|
+
- test/aggs_test.rb
|
206
|
+
- test/autocomplete_test.rb
|
207
|
+
- test/boost_test.rb
|
208
|
+
- test/callbacks_test.rb
|
209
|
+
- test/ci/before_install.sh
|
210
|
+
- test/errors_test.rb
|
211
|
+
- test/gemfiles/activerecord31.gemfile
|
212
|
+
- test/gemfiles/activerecord32.gemfile
|
213
|
+
- test/gemfiles/activerecord40.gemfile
|
214
|
+
- test/gemfiles/activerecord41.gemfile
|
215
|
+
- test/gemfiles/activerecord42.gemfile
|
216
|
+
- test/gemfiles/activerecord50.gemfile
|
217
|
+
- test/gemfiles/apartment.gemfile
|
218
|
+
- test/gemfiles/cequel.gemfile
|
219
|
+
- test/gemfiles/mongoid2.gemfile
|
220
|
+
- test/gemfiles/mongoid3.gemfile
|
221
|
+
- test/gemfiles/mongoid4.gemfile
|
222
|
+
- test/gemfiles/mongoid5.gemfile
|
223
|
+
- test/gemfiles/mongoid6.gemfile
|
224
|
+
- test/gemfiles/nobrainer.gemfile
|
225
|
+
- test/gemfiles/parallel_tests.gemfile
|
226
|
+
- test/geo_shape_test.rb
|
227
|
+
- test/highlight_test.rb
|
228
|
+
- test/index_test.rb
|
229
|
+
- test/inheritance_test.rb
|
230
|
+
- test/marshal_test.rb
|
231
|
+
- test/match_test.rb
|
232
|
+
- test/misspellings_test.rb
|
233
|
+
- test/model_test.rb
|
234
|
+
- test/multi_search_test.rb
|
235
|
+
- test/multi_tenancy_test.rb
|
236
|
+
- test/order_test.rb
|
237
|
+
- test/pagination_test.rb
|
238
|
+
- test/partial_reindex_test.rb
|
239
|
+
- test/query_test.rb
|
240
|
+
- test/records_test.rb
|
241
|
+
- test/reindex_test.rb
|
242
|
+
- test/reindex_v2_job_test.rb
|
243
|
+
- test/routing_test.rb
|
244
|
+
- test/should_index_test.rb
|
245
|
+
- test/similar_test.rb
|
246
|
+
- test/sql_test.rb
|
247
|
+
- test/suggest_test.rb
|
248
|
+
- test/synonyms_test.rb
|
249
|
+
- test/test_helper.rb
|
250
|
+
- test/where_test.rb
|