erichummel-sunspot 1.2.1g → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +12 -0
- data/Gemfile +3 -9
- data/Rakefile +11 -5
- data/lib/sunspot/dsl/field_query.rb +13 -0
- data/lib/sunspot/dsl/functional.rb +3 -0
- data/lib/sunspot/search/abstract_search.rb +9 -12
- data/lib/sunspot/search/paginated_collection.rb +55 -0
- data/lib/sunspot/server.rb +3 -7
- data/lib/sunspot/version.rb +1 -1
- data/script/console +10 -0
- data/solr-1.3/etc/jetty.xml +212 -0
- data/solr-1.3/etc/webdefault.xml +379 -0
- data/solr-1.3/lib/jetty-6.1.3.jar +0 -0
- data/solr-1.3/lib/jetty-util-6.1.3.jar +0 -0
- data/solr-1.3/lib/jsp-2.1/ant-1.6.5.jar +0 -0
- data/solr-1.3/lib/jsp-2.1/core-3.1.1.jar +0 -0
- data/solr-1.3/lib/jsp-2.1/jsp-2.1.jar +0 -0
- data/solr-1.3/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
- data/solr-1.3/lib/servlet-api-2.5-6.1.3.jar +0 -0
- data/solr-1.3/solr/conf/elevate.xml +36 -0
- data/solr-1.3/solr/conf/protwords.txt +21 -0
- data/solr-1.3/solr/conf/schema.xml +64 -0
- data/solr-1.3/solr/conf/solrconfig.xml +725 -0
- data/solr-1.3/solr/conf/stopwords.txt +57 -0
- data/solr-1.3/solr/conf/synonyms.txt +31 -0
- data/solr-1.3/solr/lib/geoapi-nogenerics-2.1-M2.jar +0 -0
- data/solr-1.3/solr/lib/gt2-referencing-2.3.1.jar +0 -0
- data/solr-1.3/solr/lib/jsr108-0.01.jar +0 -0
- data/solr-1.3/solr/lib/locallucene.jar +0 -0
- data/solr-1.3/solr/lib/localsolr.jar +0 -0
- data/solr-1.3/start.jar +0 -0
- data/solr-1.3/webapps/solr.war +0 -0
- data/solr/README.txt +42 -0
- data/solr/etc/jetty.xml +4 -0
- data/solr/solr/.gitignore +1 -0
- data/solr/solr/README.txt +54 -0
- data/solr/solr/conf/xslt/example.xsl +132 -0
- data/solr/solr/conf/xslt/example_atom.xsl +67 -0
- data/solr/solr/conf/xslt/example_rss.xsl +66 -0
- data/solr/solr/conf/xslt/luke.xsl +337 -0
- data/spec/api/adapters_spec.rb +1 -1
- data/spec/api/binding_spec.rb +1 -1
- data/spec/api/indexer/attributes_spec.rb +1 -1
- data/spec/api/indexer/batch_spec.rb +1 -1
- data/spec/api/indexer/dynamic_fields_spec.rb +1 -1
- data/spec/api/indexer/fixed_fields_spec.rb +1 -1
- data/spec/api/indexer/fulltext_spec.rb +1 -1
- data/spec/api/indexer/removal_spec.rb +1 -1
- data/spec/api/indexer/spec_helper.rb +1 -1
- data/spec/api/indexer_spec.rb +1 -1
- data/spec/api/query/advanced_manipulation_examples.rb +1 -1
- data/spec/api/query/dsl_spec.rb +1 -1
- data/spec/api/query/faceting_examples.rb +0 -2
- data/spec/api/query/fulltext_examples.rb +0 -2
- data/spec/api/query/function_spec.rb +1 -1
- data/spec/api/query/geo_examples.rb +0 -1
- data/spec/api/query/highlighting_examples.rb +0 -2
- data/spec/api/query/more_like_this_spec.rb +1 -1
- data/spec/api/query/ordering_pagination_examples.rb +0 -2
- data/spec/api/query/spec_helper.rb +1 -1
- data/spec/api/query/standard_spec.rb +1 -1
- data/spec/api/search/dynamic_fields_spec.rb +1 -1
- data/spec/api/search/faceting_spec.rb +1 -1
- data/spec/api/search/highlighting_spec.rb +1 -1
- data/spec/api/search/hits_spec.rb +12 -32
- data/spec/api/search/paginated_collection_spec.rb +26 -0
- data/spec/api/search/results_spec.rb +6 -19
- data/spec/api/search/search_spec.rb +1 -1
- data/spec/api/search/spec_helper.rb +1 -1
- data/spec/api/server_spec.rb +1 -1
- data/spec/api/session_proxy/class_sharding_session_proxy_spec.rb +1 -1
- data/spec/api/session_proxy/id_sharding_session_proxy_spec.rb +1 -1
- data/spec/api/session_proxy/master_slave_session_proxy_spec.rb +1 -1
- data/spec/api/session_proxy/sharding_session_proxy_spec.rb +1 -1
- data/spec/api/session_proxy/silent_fail_session_proxy_spec.rb +1 -1
- data/spec/api/session_proxy/spec_helper.rb +1 -1
- data/spec/api/session_proxy/thread_local_session_proxy_spec.rb +1 -1
- data/spec/api/session_spec.rb +1 -1
- data/spec/api/spec_helper.rb +1 -1
- data/spec/api/sunspot_spec.rb +1 -1
- data/spec/integration/faceting_spec.rb +1 -1
- data/spec/integration/indexing_spec.rb +1 -1
- data/spec/integration/keyword_search_spec.rb +1 -1
- data/spec/integration/local_search_spec.rb +1 -1
- data/spec/integration/more_like_this_spec.rb +1 -1
- data/spec/integration/scoped_search_spec.rb +1 -1
- data/spec/integration/spec_helper.rb +1 -1
- data/spec/integration/test_pagination.rb +1 -1
- data/spec/mocks/connection.rb +1 -1
- data/spec/spec_helper.rb +4 -16
- metadata +118 -37
- data/Gemfile.lock +0 -32
@@ -1 +1 @@
|
|
1
|
-
require File.expand_path(File.join(File.dirname(__FILE__), '..'
|
1
|
+
require File.expand_path('spec_helper', File.join(File.dirname(__FILE__), '..'))
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.
|
1
|
+
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
2
2
|
|
3
3
|
describe 'hits', :type => :search do
|
4
4
|
it 'should return hits without loading instances' do
|
@@ -12,38 +12,18 @@ describe 'hits', :type => :search do
|
|
12
12
|
end.should == [['Post', post_1.id.to_s], ['Post', post_2.id.to_s]]
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
end.hits.total_entries.should == 4
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'returns search total as attribute of verified hits' do
|
25
|
-
stub_results(Post.new, 4)
|
26
|
-
session.search(Post) do
|
27
|
-
paginate(:page => 1)
|
28
|
-
end.hits(:verify => true).total_entries.should == 4
|
29
|
-
end
|
30
|
-
|
31
|
-
else
|
32
|
-
|
33
|
-
it 'returns vanilla array of hits if WillPaginate is not available' do
|
34
|
-
stub_results(Post.new)
|
35
|
-
session.search(Post) do
|
36
|
-
paginate(:page => 1)
|
37
|
-
end.hits.should_not respond_to(:total_entries)
|
38
|
-
end
|
39
|
-
|
40
|
-
it 'returns vanilla array of verified hits if WillPaginate is not available' do
|
41
|
-
stub_results(Post.new)
|
42
|
-
session.search(Post) do
|
43
|
-
paginate(:page => 1)
|
44
|
-
end.hits(:verified => true).should_not respond_to(:total_entries)
|
45
|
-
end
|
15
|
+
it 'returns search total as attribute of hits' do
|
16
|
+
stub_results(Post.new, 4)
|
17
|
+
session.search(Post) do
|
18
|
+
paginate(:page => 1)
|
19
|
+
end.hits.total_entries.should == 4
|
20
|
+
end
|
46
21
|
|
22
|
+
it 'returns search total as attribute of verified hits' do
|
23
|
+
stub_results(Post.new, 4)
|
24
|
+
session.search(Post) do
|
25
|
+
paginate(:page => 1)
|
26
|
+
end.hits(:verify => true).total_entries.should == 4
|
47
27
|
end
|
48
28
|
|
49
29
|
it 'should return instance from hit' do
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
2
|
+
|
3
|
+
describe "PaginatedCollection" do
|
4
|
+
subject { Sunspot::Search::PaginatedCollection.new [], 1, 10, 20 }
|
5
|
+
|
6
|
+
it { subject.should be_an(Array) }
|
7
|
+
|
8
|
+
context "behaves like a WillPaginate::Collection" do
|
9
|
+
it { subject.total_entries.should eql(20) }
|
10
|
+
it { subject.total_pages.should eql(2) }
|
11
|
+
it { subject.current_page.should eql(1) }
|
12
|
+
it { subject.per_page.should eql(10) }
|
13
|
+
it { subject.previous_page.should be_nil }
|
14
|
+
it { subject.next_page.should eql(2) }
|
15
|
+
it { subject.out_of_bounds?.should_not be_true }
|
16
|
+
it { subject.offset.should eql(0) }
|
17
|
+
end
|
18
|
+
|
19
|
+
context "behaves like Kaminari" do
|
20
|
+
it { subject.total_count.should eql(20) }
|
21
|
+
it { subject.num_pages.should eql(2) }
|
22
|
+
it { subject.limit_value.should eql(10) }
|
23
|
+
it { subject.first_page?.should be_true }
|
24
|
+
it { subject.last_page?.should_not be_true }
|
25
|
+
end
|
26
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.
|
1
|
+
require File.expand_path('spec_helper', File.dirname(__FILE__))
|
2
2
|
|
3
3
|
describe 'search results', :type => :search do
|
4
4
|
it 'loads single result' do
|
@@ -30,24 +30,11 @@ describe 'search results', :type => :search do
|
|
30
30
|
session.search(Post).results.should == []
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
paginate(:page => 1)
|
39
|
-
end.results.total_entries.should == 4
|
40
|
-
end
|
41
|
-
|
42
|
-
else
|
43
|
-
|
44
|
-
it 'returns vanilla array if WillPaginate is not available' do
|
45
|
-
stub_results(Post.new)
|
46
|
-
session.search(Post) do
|
47
|
-
paginate(:page => 1)
|
48
|
-
end.results.should_not respond_to(:total_entries)
|
49
|
-
end
|
50
|
-
|
33
|
+
it 'returns search total as attribute of results' do
|
34
|
+
stub_results(Post.new, 4)
|
35
|
+
session.search(Post) do
|
36
|
+
paginate(:page => 1)
|
37
|
+
end.results.total_entries.should == 4
|
51
38
|
end
|
52
39
|
|
53
40
|
it 'returns total' do
|
@@ -1 +1 @@
|
|
1
|
-
require File.expand_path(File.join(File.dirname(__FILE__), '..'
|
1
|
+
require File.expand_path('spec_helper', File.join(File.dirname(__FILE__), '..'))
|
data/spec/api/server_spec.rb
CHANGED
data/spec/api/session_spec.rb
CHANGED
data/spec/api/spec_helper.rb
CHANGED
data/spec/api/sunspot_spec.rb
CHANGED
data/spec/mocks/connection.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,20 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
require 'spec'
|
5
|
-
Bundler.setup(:default, :test)
|
6
|
-
if ENV['USE_WILL_PAGINATE']
|
7
|
-
require 'will_paginate'
|
8
|
-
require 'will_paginate/collection'
|
9
|
-
end
|
10
|
-
rescue LoadError => e
|
11
|
-
if require 'rubygems'
|
12
|
-
retry
|
13
|
-
else
|
14
|
-
raise(e)
|
15
|
-
end
|
16
|
-
end
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler/setup'
|
17
4
|
|
5
|
+
require 'ostruct'
|
18
6
|
require 'sunspot'
|
19
7
|
|
20
8
|
require File.join(File.dirname(__FILE__), 'mocks', 'mock_record.rb')
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erichummel-sunspot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.2.
|
4
|
+
prerelease:
|
5
|
+
version: 1.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mat Brown
|
@@ -28,7 +28,7 @@ autorequire:
|
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
30
|
|
31
|
-
date: 2011-08-
|
31
|
+
date: 2011-08-17 00:00:00 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rsolr
|
@@ -74,10 +74,20 @@ dependencies:
|
|
74
74
|
version: "1.1"
|
75
75
|
type: :development
|
76
76
|
version_requirements: *id004
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: hanna
|
79
|
+
prerelease: false
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: "0"
|
86
|
+
type: :development
|
87
|
+
version_requirements: *id005
|
88
|
+
description: " Sunspot is a library providing a powerful, all-ruby API for the Solr search engine. Sunspot manages the configuration of persistent\n Ruby classes for search and indexing and exposes Solr's most powerful features through a collection of DSLs. Complex search operations\n can be performed without hand-writing any boolean queries or building Solr parameters by hand.\n"
|
89
|
+
email:
|
90
|
+
- mat@patch.com
|
81
91
|
executables:
|
82
92
|
- sunspot-solr
|
83
93
|
- sunspot-installer
|
@@ -86,8 +96,8 @@ extensions: []
|
|
86
96
|
extra_rdoc_files: []
|
87
97
|
|
88
98
|
files:
|
99
|
+
- .gitignore
|
89
100
|
- Gemfile
|
90
|
-
- Gemfile.lock
|
91
101
|
- History.txt
|
92
102
|
- LICENSE
|
93
103
|
- Rakefile
|
@@ -97,10 +107,12 @@ files:
|
|
97
107
|
- bin/sunspot-solr
|
98
108
|
- installer/config/schema.yml
|
99
109
|
- lib/light_config.rb
|
110
|
+
- lib/sunspot.rb
|
100
111
|
- lib/sunspot/adapters.rb
|
101
112
|
- lib/sunspot/composite_setup.rb
|
102
113
|
- lib/sunspot/configuration.rb
|
103
114
|
- lib/sunspot/data_extractor.rb
|
115
|
+
- lib/sunspot/dsl.rb
|
104
116
|
- lib/sunspot/dsl/adjustable.rb
|
105
117
|
- lib/sunspot/dsl/field_query.rb
|
106
118
|
- lib/sunspot/dsl/fields.rb
|
@@ -115,15 +127,15 @@ files:
|
|
115
127
|
- lib/sunspot/dsl/scope.rb
|
116
128
|
- lib/sunspot/dsl/search.rb
|
117
129
|
- lib/sunspot/dsl/standard_query.rb
|
118
|
-
- lib/sunspot/dsl.rb
|
119
130
|
- lib/sunspot/field.rb
|
120
131
|
- lib/sunspot/field_factory.rb
|
121
132
|
- lib/sunspot/indexer.rb
|
133
|
+
- lib/sunspot/installer.rb
|
122
134
|
- lib/sunspot/installer/library_installer.rb
|
123
135
|
- lib/sunspot/installer/schema_builder.rb
|
124
136
|
- lib/sunspot/installer/solrconfig_updater.rb
|
125
137
|
- lib/sunspot/installer/task_helper.rb
|
126
|
-
- lib/sunspot/
|
138
|
+
- lib/sunspot/query.rb
|
127
139
|
- lib/sunspot/query/abstract_field_facet.rb
|
128
140
|
- lib/sunspot/query/boost_query.rb
|
129
141
|
- lib/sunspot/query/common_query.rb
|
@@ -146,8 +158,8 @@ files:
|
|
146
158
|
- lib/sunspot/query/sort_composite.rb
|
147
159
|
- lib/sunspot/query/standard_query.rb
|
148
160
|
- lib/sunspot/query/text_field_boost.rb
|
149
|
-
- lib/sunspot/query.rb
|
150
161
|
- lib/sunspot/schema.rb
|
162
|
+
- lib/sunspot/search.rb
|
151
163
|
- lib/sunspot/search/abstract_search.rb
|
152
164
|
- lib/sunspot/search/date_facet.rb
|
153
165
|
- lib/sunspot/search/facet_row.rb
|
@@ -155,11 +167,12 @@ files:
|
|
155
167
|
- lib/sunspot/search/highlight.rb
|
156
168
|
- lib/sunspot/search/hit.rb
|
157
169
|
- lib/sunspot/search/more_like_this_search.rb
|
170
|
+
- lib/sunspot/search/paginated_collection.rb
|
158
171
|
- lib/sunspot/search/query_facet.rb
|
159
172
|
- lib/sunspot/search/standard_search.rb
|
160
|
-
- lib/sunspot/search.rb
|
161
173
|
- lib/sunspot/server.rb
|
162
174
|
- lib/sunspot/session.rb
|
175
|
+
- lib/sunspot/session_proxy.rb
|
163
176
|
- lib/sunspot/session_proxy/abstract_session_proxy.rb
|
164
177
|
- lib/sunspot/session_proxy/class_sharding_session_proxy.rb
|
165
178
|
- lib/sunspot/session_proxy/id_sharding_session_proxy.rb
|
@@ -167,13 +180,65 @@ files:
|
|
167
180
|
- lib/sunspot/session_proxy/sharding_session_proxy.rb
|
168
181
|
- lib/sunspot/session_proxy/silent_fail_session_proxy.rb
|
169
182
|
- lib/sunspot/session_proxy/thread_local_session_proxy.rb
|
170
|
-
- lib/sunspot/session_proxy.rb
|
171
183
|
- lib/sunspot/setup.rb
|
172
184
|
- lib/sunspot/text_field_setup.rb
|
173
185
|
- lib/sunspot/type.rb
|
174
186
|
- lib/sunspot/util.rb
|
175
187
|
- lib/sunspot/version.rb
|
176
|
-
-
|
188
|
+
- log/.gitignore
|
189
|
+
- pkg/.gitignore
|
190
|
+
- script/console
|
191
|
+
- solr-1.3/etc/jetty.xml
|
192
|
+
- solr-1.3/etc/webdefault.xml
|
193
|
+
- solr-1.3/lib/jetty-6.1.3.jar
|
194
|
+
- solr-1.3/lib/jetty-util-6.1.3.jar
|
195
|
+
- solr-1.3/lib/jsp-2.1/ant-1.6.5.jar
|
196
|
+
- solr-1.3/lib/jsp-2.1/core-3.1.1.jar
|
197
|
+
- solr-1.3/lib/jsp-2.1/jsp-2.1.jar
|
198
|
+
- solr-1.3/lib/jsp-2.1/jsp-api-2.1.jar
|
199
|
+
- solr-1.3/lib/servlet-api-2.5-6.1.3.jar
|
200
|
+
- solr-1.3/solr/conf/elevate.xml
|
201
|
+
- solr-1.3/solr/conf/protwords.txt
|
202
|
+
- solr-1.3/solr/conf/schema.xml
|
203
|
+
- solr-1.3/solr/conf/solrconfig.xml
|
204
|
+
- solr-1.3/solr/conf/stopwords.txt
|
205
|
+
- solr-1.3/solr/conf/synonyms.txt
|
206
|
+
- solr-1.3/solr/lib/geoapi-nogenerics-2.1-M2.jar
|
207
|
+
- solr-1.3/solr/lib/gt2-referencing-2.3.1.jar
|
208
|
+
- solr-1.3/solr/lib/jsr108-0.01.jar
|
209
|
+
- solr-1.3/solr/lib/locallucene.jar
|
210
|
+
- solr-1.3/solr/lib/localsolr.jar
|
211
|
+
- solr-1.3/start.jar
|
212
|
+
- solr-1.3/webapps/solr.war
|
213
|
+
- solr/README.txt
|
214
|
+
- solr/etc/jetty.xml
|
215
|
+
- solr/etc/webdefault.xml
|
216
|
+
- solr/lib/jetty-6.1.3.jar
|
217
|
+
- solr/lib/jetty-util-6.1.3.jar
|
218
|
+
- solr/lib/jsp-2.1/ant-1.6.5.jar
|
219
|
+
- solr/lib/jsp-2.1/core-3.1.1.jar
|
220
|
+
- solr/lib/jsp-2.1/jsp-2.1.jar
|
221
|
+
- solr/lib/jsp-2.1/jsp-api-2.1.jar
|
222
|
+
- solr/lib/servlet-api-2.5-6.1.3.jar
|
223
|
+
- solr/logs/.gitignore
|
224
|
+
- solr/solr/.gitignore
|
225
|
+
- solr/solr/README.txt
|
226
|
+
- solr/solr/conf/admin-extra.html
|
227
|
+
- solr/solr/conf/elevate.xml
|
228
|
+
- solr/solr/conf/mapping-ISOLatin1Accent.txt
|
229
|
+
- solr/solr/conf/protwords.txt
|
230
|
+
- solr/solr/conf/schema.xml
|
231
|
+
- solr/solr/conf/scripts.conf
|
232
|
+
- solr/solr/conf/solrconfig.xml
|
233
|
+
- solr/solr/conf/spellings.txt
|
234
|
+
- solr/solr/conf/stopwords.txt
|
235
|
+
- solr/solr/conf/synonyms.txt
|
236
|
+
- solr/solr/conf/xslt/example.xsl
|
237
|
+
- solr/solr/conf/xslt/example_atom.xsl
|
238
|
+
- solr/solr/conf/xslt/example_rss.xsl
|
239
|
+
- solr/solr/conf/xslt/luke.xsl
|
240
|
+
- solr/start.jar
|
241
|
+
- solr/webapps/solr.war
|
177
242
|
- spec/api/adapters_spec.rb
|
178
243
|
- spec/api/binding_spec.rb
|
179
244
|
- spec/api/indexer/attributes_spec.rb
|
@@ -204,6 +269,7 @@ files:
|
|
204
269
|
- spec/api/search/faceting_spec.rb
|
205
270
|
- spec/api/search/highlighting_spec.rb
|
206
271
|
- spec/api/search/hits_spec.rb
|
272
|
+
- spec/api/search/paginated_collection_spec.rb
|
207
273
|
- spec/api/search/results_spec.rb
|
208
274
|
- spec/api/search/search_spec.rb
|
209
275
|
- spec/api/search/spec_helper.rb
|
@@ -246,30 +312,10 @@ files:
|
|
246
312
|
- spec/mocks/super_class.rb
|
247
313
|
- spec/mocks/user.rb
|
248
314
|
- spec/spec_helper.rb
|
315
|
+
- sunspot.gemspec
|
249
316
|
- tasks/rdoc.rake
|
250
317
|
- tasks/schema.rake
|
251
318
|
- tasks/todo.rake
|
252
|
-
- solr/etc/jetty.xml
|
253
|
-
- solr/etc/webdefault.xml
|
254
|
-
- solr/lib/jetty-6.1.3.jar
|
255
|
-
- solr/lib/jetty-util-6.1.3.jar
|
256
|
-
- solr/lib/jsp-2.1/ant-1.6.5.jar
|
257
|
-
- solr/lib/jsp-2.1/core-3.1.1.jar
|
258
|
-
- solr/lib/jsp-2.1/jsp-2.1.jar
|
259
|
-
- solr/lib/jsp-2.1/jsp-api-2.1.jar
|
260
|
-
- solr/lib/servlet-api-2.5-6.1.3.jar
|
261
|
-
- solr/webapps/solr.war
|
262
|
-
- solr/solr/conf/admin-extra.html
|
263
|
-
- solr/solr/conf/elevate.xml
|
264
|
-
- solr/solr/conf/mapping-ISOLatin1Accent.txt
|
265
|
-
- solr/solr/conf/protwords.txt
|
266
|
-
- solr/solr/conf/schema.xml
|
267
|
-
- solr/solr/conf/scripts.conf
|
268
|
-
- solr/solr/conf/solrconfig.xml
|
269
|
-
- solr/solr/conf/spellings.txt
|
270
|
-
- solr/solr/conf/stopwords.txt
|
271
|
-
- solr/solr/conf/synonyms.txt
|
272
|
-
- solr/start.jar
|
273
319
|
homepage: http://outoftime.github.com/sunspot
|
274
320
|
licenses: []
|
275
321
|
|
@@ -291,9 +337,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
291
337
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
338
|
none: false
|
293
339
|
requirements:
|
294
|
-
- - "
|
340
|
+
- - ">="
|
295
341
|
- !ruby/object:Gem::Version
|
296
|
-
version:
|
342
|
+
version: "0"
|
297
343
|
requirements: []
|
298
344
|
|
299
345
|
rubyforge_project: sunspot
|
@@ -310,27 +356,47 @@ test_files:
|
|
310
356
|
- spec/api/indexer/fixed_fields_spec.rb
|
311
357
|
- spec/api/indexer/fulltext_spec.rb
|
312
358
|
- spec/api/indexer/removal_spec.rb
|
359
|
+
- spec/api/indexer/spec_helper.rb
|
313
360
|
- spec/api/indexer_spec.rb
|
361
|
+
- spec/api/query/advanced_manipulation_examples.rb
|
362
|
+
- spec/api/query/connectives_examples.rb
|
314
363
|
- spec/api/query/dsl_spec.rb
|
364
|
+
- spec/api/query/dynamic_fields_examples.rb
|
365
|
+
- spec/api/query/faceting_examples.rb
|
366
|
+
- spec/api/query/fulltext_examples.rb
|
315
367
|
- spec/api/query/function_spec.rb
|
368
|
+
- spec/api/query/geo_examples.rb
|
369
|
+
- spec/api/query/highlighting_examples.rb
|
316
370
|
- spec/api/query/more_like_this_spec.rb
|
371
|
+
- spec/api/query/ordering_pagination_examples.rb
|
372
|
+
- spec/api/query/scope_examples.rb
|
373
|
+
- spec/api/query/spec_helper.rb
|
317
374
|
- spec/api/query/standard_spec.rb
|
375
|
+
- spec/api/query/text_field_scoping_examples.rb
|
318
376
|
- spec/api/query/types_spec.rb
|
319
377
|
- spec/api/search/dynamic_fields_spec.rb
|
320
378
|
- spec/api/search/faceting_spec.rb
|
321
379
|
- spec/api/search/highlighting_spec.rb
|
322
380
|
- spec/api/search/hits_spec.rb
|
381
|
+
- spec/api/search/paginated_collection_spec.rb
|
323
382
|
- spec/api/search/results_spec.rb
|
324
383
|
- spec/api/search/search_spec.rb
|
384
|
+
- spec/api/search/spec_helper.rb
|
325
385
|
- spec/api/server_spec.rb
|
326
386
|
- spec/api/session_proxy/class_sharding_session_proxy_spec.rb
|
327
387
|
- spec/api/session_proxy/id_sharding_session_proxy_spec.rb
|
328
388
|
- spec/api/session_proxy/master_slave_session_proxy_spec.rb
|
329
389
|
- spec/api/session_proxy/sharding_session_proxy_spec.rb
|
330
390
|
- spec/api/session_proxy/silent_fail_session_proxy_spec.rb
|
391
|
+
- spec/api/session_proxy/spec_helper.rb
|
331
392
|
- spec/api/session_proxy/thread_local_session_proxy_spec.rb
|
332
393
|
- spec/api/session_spec.rb
|
394
|
+
- spec/api/spec_helper.rb
|
333
395
|
- spec/api/sunspot_spec.rb
|
396
|
+
- spec/ext.rb
|
397
|
+
- spec/helpers/indexer_helper.rb
|
398
|
+
- spec/helpers/query_helper.rb
|
399
|
+
- spec/helpers/search_helper.rb
|
334
400
|
- spec/integration/dynamic_fields_spec.rb
|
335
401
|
- spec/integration/faceting_spec.rb
|
336
402
|
- spec/integration/highlighting_spec.rb
|
@@ -339,4 +405,19 @@ test_files:
|
|
339
405
|
- spec/integration/local_search_spec.rb
|
340
406
|
- spec/integration/more_like_this_spec.rb
|
341
407
|
- spec/integration/scoped_search_spec.rb
|
408
|
+
- spec/integration/spec_helper.rb
|
342
409
|
- spec/integration/stored_fields_spec.rb
|
410
|
+
- spec/integration/test_pagination.rb
|
411
|
+
- spec/mocks/adapters.rb
|
412
|
+
- spec/mocks/blog.rb
|
413
|
+
- spec/mocks/comment.rb
|
414
|
+
- spec/mocks/connection.rb
|
415
|
+
- spec/mocks/mock_adapter.rb
|
416
|
+
- spec/mocks/mock_class_sharding_session_proxy.rb
|
417
|
+
- spec/mocks/mock_record.rb
|
418
|
+
- spec/mocks/mock_sharding_session_proxy.rb
|
419
|
+
- spec/mocks/photo.rb
|
420
|
+
- spec/mocks/post.rb
|
421
|
+
- spec/mocks/super_class.rb
|
422
|
+
- spec/mocks/user.rb
|
423
|
+
- spec/spec_helper.rb
|