sunspot 2.0.0.pre.120720 → 2.0.0.pre.120924

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. data/.gitignore +9 -11
  2. data/.travis.yml +35 -0
  3. data/README.md +863 -0
  4. data/Rakefile +32 -8
  5. data/ci/travis.sh +67 -0
  6. data/sunspot/.gitignore +13 -0
  7. data/{Gemfile → sunspot/Gemfile} +0 -0
  8. data/{History.txt → sunspot/History.txt} +0 -0
  9. data/{LICENSE → sunspot/LICENSE} +0 -0
  10. data/sunspot/Rakefile +13 -0
  11. data/{TODO → sunspot/TODO} +0 -0
  12. data/{lib → sunspot/lib}/light_config.rb +0 -0
  13. data/{lib → sunspot/lib}/sunspot/adapters.rb +85 -5
  14. data/{lib → sunspot/lib}/sunspot/batcher.rb +0 -0
  15. data/{lib → sunspot/lib}/sunspot/class_set.rb +0 -0
  16. data/{lib → sunspot/lib}/sunspot/composite_setup.rb +0 -0
  17. data/{lib → sunspot/lib}/sunspot/configuration.rb +0 -0
  18. data/{lib → sunspot/lib}/sunspot/data_extractor.rb +0 -0
  19. data/{lib → sunspot/lib}/sunspot/dsl/adjustable.rb +0 -0
  20. data/{lib → sunspot/lib}/sunspot/dsl/field_group.rb +2 -2
  21. data/{lib → sunspot/lib}/sunspot/dsl/field_query.rb +1 -1
  22. data/{lib → sunspot/lib}/sunspot/dsl/fields.rb +0 -0
  23. data/{lib → sunspot/lib}/sunspot/dsl/fulltext.rb +0 -0
  24. data/{lib → sunspot/lib}/sunspot/dsl/function.rb +0 -0
  25. data/{lib → sunspot/lib}/sunspot/dsl/functional.rb +0 -0
  26. data/{lib → sunspot/lib}/sunspot/dsl/more_like_this_query.rb +0 -0
  27. data/{lib → sunspot/lib}/sunspot/dsl/paginatable.rb +0 -0
  28. data/{lib → sunspot/lib}/sunspot/dsl/query_facet.rb +0 -0
  29. data/{lib → sunspot/lib}/sunspot/dsl/restriction.rb +0 -0
  30. data/{lib → sunspot/lib}/sunspot/dsl/restriction_with_near.rb +0 -0
  31. data/{lib → sunspot/lib}/sunspot/dsl/scope.rb +8 -11
  32. data/{lib → sunspot/lib}/sunspot/dsl/search.rb +0 -0
  33. data/{lib → sunspot/lib}/sunspot/dsl/standard_query.rb +3 -4
  34. data/{lib → sunspot/lib}/sunspot/dsl.rb +0 -0
  35. data/{lib → sunspot/lib}/sunspot/field.rb +0 -0
  36. data/{lib → sunspot/lib}/sunspot/field_factory.rb +0 -0
  37. data/{lib → sunspot/lib}/sunspot/indexer.rb +0 -0
  38. data/{lib → sunspot/lib}/sunspot/query/abstract_field_facet.rb +1 -1
  39. data/{lib → sunspot/lib}/sunspot/query/bbox.rb +0 -0
  40. data/{lib → sunspot/lib}/sunspot/query/boost_query.rb +0 -0
  41. data/{lib → sunspot/lib}/sunspot/query/common_query.rb +0 -0
  42. data/{lib → sunspot/lib}/sunspot/query/composite_fulltext.rb +0 -0
  43. data/{lib → sunspot/lib}/sunspot/query/connective.rb +0 -0
  44. data/{lib → sunspot/lib}/sunspot/query/date_field_facet.rb +0 -0
  45. data/{lib → sunspot/lib}/sunspot/query/dismax.rb +0 -0
  46. data/{lib → sunspot/lib}/sunspot/query/field_facet.rb +0 -0
  47. data/{lib → sunspot/lib}/sunspot/query/field_group.rb +0 -0
  48. data/{lib → sunspot/lib}/sunspot/query/filter.rb +0 -0
  49. data/{lib → sunspot/lib}/sunspot/query/function_query.rb +0 -0
  50. data/{lib → sunspot/lib}/sunspot/query/geo.rb +0 -0
  51. data/{lib → sunspot/lib}/sunspot/query/geofilt.rb +0 -0
  52. data/{lib → sunspot/lib}/sunspot/query/highlighting.rb +0 -0
  53. data/{lib → sunspot/lib}/sunspot/query/more_like_this.rb +0 -0
  54. data/{lib → sunspot/lib}/sunspot/query/more_like_this_query.rb +0 -0
  55. data/{lib → sunspot/lib}/sunspot/query/pagination.rb +0 -0
  56. data/{lib → sunspot/lib}/sunspot/query/query_facet.rb +0 -0
  57. data/{lib → sunspot/lib}/sunspot/query/range_facet.rb +1 -0
  58. data/{lib → sunspot/lib}/sunspot/query/restriction.rb +12 -0
  59. data/{lib → sunspot/lib}/sunspot/query/scope.rb +0 -0
  60. data/{lib → sunspot/lib}/sunspot/query/sort.rb +0 -0
  61. data/{lib → sunspot/lib}/sunspot/query/sort_composite.rb +0 -0
  62. data/{lib → sunspot/lib}/sunspot/query/standard_query.rb +0 -0
  63. data/{lib → sunspot/lib}/sunspot/query/text_field_boost.rb +0 -0
  64. data/{lib → sunspot/lib}/sunspot/query.rb +0 -0
  65. data/{lib → sunspot/lib}/sunspot/schema.rb +0 -0
  66. data/{lib → sunspot/lib}/sunspot/search/abstract_search.rb +2 -2
  67. data/{lib → sunspot/lib}/sunspot/search/date_facet.rb +0 -0
  68. data/{lib → sunspot/lib}/sunspot/search/facet_row.rb +0 -0
  69. data/{lib → sunspot/lib}/sunspot/search/field_facet.rb +0 -0
  70. data/sunspot/lib/sunspot/search/field_group.rb +70 -0
  71. data/{lib → sunspot/lib}/sunspot/search/group.rb +0 -0
  72. data/{lib → sunspot/lib}/sunspot/search/highlight.rb +0 -0
  73. data/{lib → sunspot/lib}/sunspot/search/hit.rb +0 -0
  74. data/{lib → sunspot/lib}/sunspot/search/hit_enumerable.rb +5 -9
  75. data/{lib → sunspot/lib}/sunspot/search/more_like_this_search.rb +0 -0
  76. data/{lib → sunspot/lib}/sunspot/search/paginated_collection.rb +0 -0
  77. data/{lib → sunspot/lib}/sunspot/search/query_facet.rb +0 -0
  78. data/{lib → sunspot/lib}/sunspot/search/range_facet.rb +0 -0
  79. data/{lib → sunspot/lib}/sunspot/search/standard_search.rb +0 -0
  80. data/{lib → sunspot/lib}/sunspot/search.rb +0 -0
  81. data/{lib → sunspot/lib}/sunspot/session.rb +0 -0
  82. data/{lib → sunspot/lib}/sunspot/session_proxy/abstract_session_proxy.rb +0 -0
  83. data/{lib → sunspot/lib}/sunspot/session_proxy/class_sharding_session_proxy.rb +0 -0
  84. data/{lib → sunspot/lib}/sunspot/session_proxy/id_sharding_session_proxy.rb +0 -0
  85. data/{lib → sunspot/lib}/sunspot/session_proxy/master_slave_session_proxy.rb +0 -0
  86. data/{lib → sunspot/lib}/sunspot/session_proxy/retry_5xx_session_proxy.rb +0 -0
  87. data/{lib → sunspot/lib}/sunspot/session_proxy/sharding_session_proxy.rb +0 -0
  88. data/{lib → sunspot/lib}/sunspot/session_proxy/silent_fail_session_proxy.rb +0 -0
  89. data/{lib → sunspot/lib}/sunspot/session_proxy/thread_local_session_proxy.rb +0 -0
  90. data/{lib → sunspot/lib}/sunspot/session_proxy.rb +0 -0
  91. data/{lib → sunspot/lib}/sunspot/setup.rb +0 -0
  92. data/{lib → sunspot/lib}/sunspot/text_field_setup.rb +0 -0
  93. data/{lib → sunspot/lib}/sunspot/type.rb +0 -0
  94. data/{lib → sunspot/lib}/sunspot/util.rb +0 -0
  95. data/sunspot/lib/sunspot/version.rb +3 -0
  96. data/{lib → sunspot/lib}/sunspot.rb +0 -0
  97. data/{log → sunspot/log}/.gitignore +0 -0
  98. data/{pkg → sunspot/pkg}/.gitignore +0 -0
  99. data/{script → sunspot/script}/console +0 -0
  100. data/sunspot/spec/api/adapters_spec.rb +68 -0
  101. data/{spec → sunspot/spec}/api/batcher_spec.rb +0 -0
  102. data/{spec → sunspot/spec}/api/binding_spec.rb +0 -0
  103. data/{spec → sunspot/spec}/api/class_set_spec.rb +0 -0
  104. data/{spec → sunspot/spec}/api/hit_enumerable_spec.rb +0 -0
  105. data/{spec → sunspot/spec}/api/indexer/attributes_spec.rb +0 -0
  106. data/{spec → sunspot/spec}/api/indexer/batch_spec.rb +0 -0
  107. data/{spec → sunspot/spec}/api/indexer/dynamic_fields_spec.rb +0 -0
  108. data/{spec → sunspot/spec}/api/indexer/fixed_fields_spec.rb +0 -0
  109. data/{spec → sunspot/spec}/api/indexer/fulltext_spec.rb +0 -0
  110. data/{spec → sunspot/spec}/api/indexer/removal_spec.rb +0 -0
  111. data/{spec → sunspot/spec}/api/indexer/spec_helper.rb +0 -0
  112. data/{spec → sunspot/spec}/api/indexer_spec.rb +0 -0
  113. data/{spec → sunspot/spec}/api/query/advanced_manipulation_examples.rb +0 -0
  114. data/{spec → sunspot/spec}/api/query/connectives_examples.rb +12 -0
  115. data/{spec → sunspot/spec}/api/query/dsl_spec.rb +0 -0
  116. data/{spec → sunspot/spec}/api/query/dynamic_fields_examples.rb +0 -0
  117. data/{spec → sunspot/spec}/api/query/faceting_examples.rb +8 -8
  118. data/{spec → sunspot/spec}/api/query/fulltext_examples.rb +0 -0
  119. data/{spec → sunspot/spec}/api/query/function_spec.rb +0 -0
  120. data/{spec → sunspot/spec}/api/query/geo_examples.rb +0 -0
  121. data/{spec → sunspot/spec}/api/query/group_spec.rb +0 -0
  122. data/{spec → sunspot/spec}/api/query/highlighting_examples.rb +0 -0
  123. data/{spec → sunspot/spec}/api/query/more_like_this_spec.rb +0 -0
  124. data/{spec → sunspot/spec}/api/query/ordering_pagination_examples.rb +0 -0
  125. data/{spec → sunspot/spec}/api/query/scope_examples.rb +0 -0
  126. data/{spec → sunspot/spec}/api/query/spatial_examples.rb +0 -0
  127. data/{spec → sunspot/spec}/api/query/spec_helper.rb +0 -0
  128. data/{spec → sunspot/spec}/api/query/standard_spec.rb +0 -0
  129. data/{spec → sunspot/spec}/api/query/text_field_scoping_examples.rb +0 -0
  130. data/{spec → sunspot/spec}/api/query/types_spec.rb +0 -0
  131. data/{spec → sunspot/spec}/api/search/dynamic_fields_spec.rb +0 -0
  132. data/{spec → sunspot/spec}/api/search/faceting_spec.rb +0 -0
  133. data/{spec → sunspot/spec}/api/search/highlighting_spec.rb +0 -0
  134. data/{spec → sunspot/spec}/api/search/hits_spec.rb +16 -0
  135. data/{spec → sunspot/spec}/api/search/paginated_collection_spec.rb +0 -0
  136. data/{spec → sunspot/spec}/api/search/results_spec.rb +0 -0
  137. data/{spec → sunspot/spec}/api/search/search_spec.rb +0 -0
  138. data/{spec → sunspot/spec}/api/search/spec_helper.rb +0 -0
  139. data/{spec → sunspot/spec}/api/session_proxy/class_sharding_session_proxy_spec.rb +0 -0
  140. data/{spec → sunspot/spec}/api/session_proxy/id_sharding_session_proxy_spec.rb +0 -0
  141. data/{spec → sunspot/spec}/api/session_proxy/master_slave_session_proxy_spec.rb +0 -0
  142. data/{spec → sunspot/spec}/api/session_proxy/retry_5xx_session_proxy_spec.rb +5 -0
  143. data/{spec → sunspot/spec}/api/session_proxy/sharding_session_proxy_spec.rb +0 -0
  144. data/{spec → sunspot/spec}/api/session_proxy/silent_fail_session_proxy_spec.rb +0 -0
  145. data/{spec → sunspot/spec}/api/session_proxy/spec_helper.rb +0 -0
  146. data/{spec → sunspot/spec}/api/session_proxy/thread_local_session_proxy_spec.rb +0 -0
  147. data/{spec → sunspot/spec}/api/session_spec.rb +0 -0
  148. data/{spec → sunspot/spec}/api/spec_helper.rb +0 -0
  149. data/{spec → sunspot/spec}/api/sunspot_spec.rb +2 -2
  150. data/{spec → sunspot/spec}/ext.rb +0 -0
  151. data/{spec → sunspot/spec}/helpers/indexer_helper.rb +0 -0
  152. data/{spec → sunspot/spec}/helpers/integration_helper.rb +0 -0
  153. data/{spec → sunspot/spec}/helpers/mock_session_helper.rb +0 -0
  154. data/{spec → sunspot/spec}/helpers/query_helper.rb +0 -0
  155. data/{spec → sunspot/spec}/helpers/search_helper.rb +0 -0
  156. data/{spec → sunspot/spec}/integration/dynamic_fields_spec.rb +0 -0
  157. data/{spec → sunspot/spec}/integration/faceting_spec.rb +26 -0
  158. data/{spec → sunspot/spec}/integration/field_grouping_spec.rb +0 -0
  159. data/{spec → sunspot/spec}/integration/geospatial_spec.rb +11 -0
  160. data/{spec → sunspot/spec}/integration/highlighting_spec.rb +0 -0
  161. data/{spec → sunspot/spec}/integration/indexing_spec.rb +0 -0
  162. data/{spec → sunspot/spec}/integration/keyword_search_spec.rb +0 -0
  163. data/{spec → sunspot/spec}/integration/local_search_spec.rb +0 -0
  164. data/{spec → sunspot/spec}/integration/more_like_this_spec.rb +0 -0
  165. data/{spec → sunspot/spec}/integration/scoped_search_spec.rb +0 -0
  166. data/{spec → sunspot/spec}/integration/stored_fields_spec.rb +0 -0
  167. data/{spec → sunspot/spec}/integration/test_pagination.rb +0 -0
  168. data/{spec → sunspot/spec}/integration/unicode_spec.rb +0 -0
  169. data/{spec → sunspot/spec}/mocks/adapters.rb +1 -0
  170. data/{spec → sunspot/spec}/mocks/blog.rb +0 -0
  171. data/{spec → sunspot/spec}/mocks/comment.rb +0 -0
  172. data/{spec → sunspot/spec}/mocks/connection.rb +0 -0
  173. data/{spec → sunspot/spec}/mocks/mock_adapter.rb +0 -0
  174. data/{spec → sunspot/spec}/mocks/mock_class_sharding_session_proxy.rb +0 -0
  175. data/{spec → sunspot/spec}/mocks/mock_record.rb +0 -0
  176. data/{spec → sunspot/spec}/mocks/mock_sharding_session_proxy.rb +0 -0
  177. data/{spec → sunspot/spec}/mocks/photo.rb +0 -0
  178. data/{spec → sunspot/spec}/mocks/post.rb +0 -0
  179. data/{spec → sunspot/spec}/mocks/super_class.rb +0 -0
  180. data/{spec → sunspot/spec}/mocks/user.rb +0 -0
  181. data/{spec → sunspot/spec}/spec_helper.rb +0 -0
  182. data/{sunspot.gemspec → sunspot/sunspot.gemspec} +0 -0
  183. data/{tasks → sunspot/tasks}/rdoc.rake +0 -0
  184. data/{tasks → sunspot/tasks}/schema.rake +0 -0
  185. data/{tasks → sunspot/tasks}/todo.rake +0 -0
  186. data/sunspot_rails/.gitignore +7 -0
  187. data/sunspot_rails/.rspec +1 -0
  188. data/sunspot_rails/History.txt +74 -0
  189. data/sunspot_rails/LICENSE +18 -0
  190. data/sunspot_rails/MIT-LICENSE +20 -0
  191. data/sunspot_rails/README.rdoc +265 -0
  192. data/sunspot_rails/Rakefile +17 -0
  193. data/sunspot_rails/TODO +8 -0
  194. data/sunspot_rails/dev_tasks/rdoc.rake +24 -0
  195. data/sunspot_rails/dev_tasks/release.rake +4 -0
  196. data/sunspot_rails/dev_tasks/spec.rake +107 -0
  197. data/sunspot_rails/dev_tasks/todo.rake +4 -0
  198. data/sunspot_rails/gemfiles/rails-2.3.14 +12 -0
  199. data/sunspot_rails/gemfiles/rails-3.0.15 +12 -0
  200. data/sunspot_rails/gemfiles/rails-3.1.6 +12 -0
  201. data/sunspot_rails/gemfiles/rails-3.2.6 +12 -0
  202. data/sunspot_rails/generators/sunspot/sunspot_generator.rb +9 -0
  203. data/sunspot_rails/generators/sunspot/templates/sunspot.yml +20 -0
  204. data/sunspot_rails/install.rb +1 -0
  205. data/sunspot_rails/lib/generators/sunspot_rails/install/install_generator.rb +13 -0
  206. data/sunspot_rails/lib/generators/sunspot_rails/install/templates/config/sunspot.yml +19 -0
  207. data/sunspot_rails/lib/generators/sunspot_rails.rb +9 -0
  208. data/sunspot_rails/lib/sunspot/rails/adapters.rb +88 -0
  209. data/sunspot_rails/lib/sunspot/rails/configuration.rb +352 -0
  210. data/sunspot_rails/lib/sunspot/rails/init.rb +5 -0
  211. data/sunspot_rails/lib/sunspot/rails/log_subscriber.rb +45 -0
  212. data/sunspot_rails/lib/sunspot/rails/railtie.rb +41 -0
  213. data/sunspot_rails/lib/sunspot/rails/railties/controller_runtime.rb +36 -0
  214. data/sunspot_rails/lib/sunspot/rails/request_lifecycle.rb +36 -0
  215. data/sunspot_rails/lib/sunspot/rails/searchable.rb +495 -0
  216. data/sunspot_rails/lib/sunspot/rails/server.rb +106 -0
  217. data/sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb +19 -0
  218. data/sunspot_rails/lib/sunspot/rails/solr_logging.rb +62 -0
  219. data/sunspot_rails/lib/sunspot/rails/spec_helper.rb +26 -0
  220. data/sunspot_rails/lib/sunspot/rails/stub_session_proxy.rb +146 -0
  221. data/sunspot_rails/lib/sunspot/rails/tasks.rb +94 -0
  222. data/sunspot_rails/lib/sunspot/rails.rb +69 -0
  223. data/sunspot_rails/lib/sunspot_rails.rb +12 -0
  224. data/sunspot_rails/spec/configuration_spec.rb +209 -0
  225. data/sunspot_rails/spec/model_lifecycle_spec.rb +63 -0
  226. data/sunspot_rails/spec/model_spec.rb +601 -0
  227. data/sunspot_rails/spec/rails_template/app/controllers/application_controller.rb +10 -0
  228. data/sunspot_rails/spec/rails_template/app/controllers/posts_controller.rb +6 -0
  229. data/sunspot_rails/spec/rails_template/app/models/author.rb +10 -0
  230. data/sunspot_rails/spec/rails_template/app/models/blog.rb +14 -0
  231. data/sunspot_rails/spec/rails_template/app/models/location.rb +3 -0
  232. data/sunspot_rails/spec/rails_template/app/models/photo_post.rb +2 -0
  233. data/sunspot_rails/spec/rails_template/app/models/post.rb +13 -0
  234. data/sunspot_rails/spec/rails_template/app/models/post_with_auto.rb +12 -0
  235. data/sunspot_rails/spec/rails_template/app/models/post_with_default_scope.rb +13 -0
  236. data/sunspot_rails/spec/rails_template/config/boot.rb +127 -0
  237. data/sunspot_rails/spec/rails_template/config/preinitializer.rb +22 -0
  238. data/sunspot_rails/spec/rails_template/config/routes.rb +9 -0
  239. data/sunspot_rails/spec/rails_template/config/sunspot.yml +24 -0
  240. data/sunspot_rails/spec/rails_template/db/schema.rb +27 -0
  241. data/sunspot_rails/spec/request_lifecycle_spec.rb +61 -0
  242. data/sunspot_rails/spec/schema.rb +27 -0
  243. data/sunspot_rails/spec/searchable_spec.rb +12 -0
  244. data/sunspot_rails/spec/server_spec.rb +33 -0
  245. data/sunspot_rails/spec/session_spec.rb +57 -0
  246. data/sunspot_rails/spec/shared_examples/indexed_after_save.rb +8 -0
  247. data/sunspot_rails/spec/shared_examples/not_indexed_after_save.rb +8 -0
  248. data/sunspot_rails/spec/spec_helper.rb +48 -0
  249. data/sunspot_rails/spec/stub_session_proxy_spec.rb +122 -0
  250. data/sunspot_rails/sunspot_rails.gemspec +43 -0
  251. data/sunspot_rails/tmp/.gitkeep +0 -0
  252. data/sunspot_solr/Gemfile +3 -0
  253. data/sunspot_solr/README.rdoc +24 -0
  254. data/sunspot_solr/bin/sunspot-installer +20 -0
  255. data/sunspot_solr/bin/sunspot-solr +80 -0
  256. data/sunspot_solr/lib/sunspot/solr/installer/config_installer.rb +46 -0
  257. data/sunspot_solr/lib/sunspot/solr/installer/task_helper.rb +13 -0
  258. data/sunspot_solr/lib/sunspot/solr/installer.rb +25 -0
  259. data/sunspot_solr/lib/sunspot/solr/java.rb +10 -0
  260. data/sunspot_solr/lib/sunspot/solr/railtie.rb +15 -0
  261. data/sunspot_solr/lib/sunspot/solr/server.rb +223 -0
  262. data/sunspot_solr/lib/sunspot/solr/tasks.rb +49 -0
  263. data/sunspot_solr/lib/sunspot_solr.rb +5 -0
  264. data/sunspot_solr/solr/README.txt +42 -0
  265. data/sunspot_solr/solr/etc/jetty.xml +219 -0
  266. data/sunspot_solr/solr/etc/webdefault.xml +379 -0
  267. data/sunspot_solr/solr/lib/jetty-6.1.26-patched-JETTY-1340.jar +0 -0
  268. data/sunspot_solr/solr/lib/jetty-util-6.1.26-patched-JETTY-1340.jar +0 -0
  269. data/sunspot_solr/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
  270. data/sunspot_solr/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
  271. data/sunspot_solr/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
  272. data/sunspot_solr/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
  273. data/sunspot_solr/solr/lib/servlet-api-2.5-20081211.jar +0 -0
  274. data/sunspot_solr/solr/solr/.gitignore +1 -0
  275. data/sunspot_solr/solr/solr/README.txt +54 -0
  276. data/sunspot_solr/solr/solr/conf/admin-extra.html +31 -0
  277. data/sunspot_solr/solr/solr/conf/elevate.xml +36 -0
  278. data/sunspot_solr/solr/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  279. data/sunspot_solr/solr/solr/conf/protwords.txt +21 -0
  280. data/sunspot_solr/solr/solr/conf/schema.xml +250 -0
  281. data/sunspot_solr/solr/solr/conf/scripts.conf +24 -0
  282. data/sunspot_solr/solr/solr/conf/solrconfig.xml +934 -0
  283. data/sunspot_solr/solr/solr/conf/spellings.txt +2 -0
  284. data/sunspot_solr/solr/solr/conf/stopwords.txt +58 -0
  285. data/sunspot_solr/solr/solr/conf/synonyms.txt +31 -0
  286. data/sunspot_solr/solr/solr/conf/xslt/example.xsl +132 -0
  287. data/sunspot_solr/solr/solr/conf/xslt/example_atom.xsl +67 -0
  288. data/sunspot_solr/solr/solr/conf/xslt/example_rss.xsl +66 -0
  289. data/sunspot_solr/solr/solr/conf/xslt/luke.xsl +337 -0
  290. data/sunspot_solr/solr/start.jar +0 -0
  291. data/sunspot_solr/solr/webapps/solr.war +0 -0
  292. data/sunspot_solr/spec/server_spec.rb +98 -0
  293. data/sunspot_solr/spec/spec_helper.rb +18 -0
  294. data/sunspot_solr/sunspot_solr.gemspec +37 -0
  295. data/tools/gem_tasks.rb +69 -0
  296. metadata +353 -343
  297. data/lib/sunspot/search/field_group.rb +0 -46
  298. data/lib/sunspot/version.rb +0 -3
  299. data/spec/api/adapters_spec.rb +0 -33
metadata CHANGED
@@ -1,16 +1,10 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sunspot
3
- version: !ruby/object:Gem::Version
4
- prerelease: true
5
- segments:
6
- - 2
7
- - 0
8
- - 0
9
- - pre
10
- - 120720
11
- version: 2.0.0.pre.120720
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.pre.120924
5
+ prerelease: 6
12
6
  platform: ruby
13
- authors:
7
+ authors:
14
8
  - Mat Brown
15
9
  - Peer Allan
16
10
  - Dmitriy Dzema
@@ -33,369 +27,385 @@ authors:
33
27
  autorequire:
34
28
  bindir: bin
35
29
  cert_chain: []
36
-
37
- date: 2012-07-20 00:00:00 -07:00
38
- default_executable:
39
- dependencies:
40
- - !ruby/object:Gem::Dependency
30
+ date: 2012-09-24 00:00:00.000000000 Z
31
+ dependencies:
32
+ - !ruby/object:Gem::Dependency
41
33
  name: rsolr
42
- prerelease: false
43
- requirement: &id001 !ruby/object:Gem::Requirement
44
- requirements:
34
+ requirement: &70134007006780 !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
45
37
  - - ~>
46
- - !ruby/object:Gem::Version
47
- segments:
48
- - 1
49
- - 0
50
- - 7
38
+ - !ruby/object:Gem::Version
51
39
  version: 1.0.7
52
40
  type: :runtime
53
- version_requirements: *id001
54
- - !ruby/object:Gem::Dependency
55
- name: pr_geohash
56
41
  prerelease: false
57
- requirement: &id002 !ruby/object:Gem::Requirement
58
- requirements:
42
+ version_requirements: *70134007006780
43
+ - !ruby/object:Gem::Dependency
44
+ name: pr_geohash
45
+ requirement: &70134007231860 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
59
48
  - - ~>
60
- - !ruby/object:Gem::Version
61
- segments:
62
- - 1
63
- - 0
64
- version: "1.0"
49
+ - !ruby/object:Gem::Version
50
+ version: '1.0'
65
51
  type: :runtime
66
- version_requirements: *id002
67
- - !ruby/object:Gem::Dependency
68
- name: rspec
69
52
  prerelease: false
70
- requirement: &id003 !ruby/object:Gem::Requirement
71
- requirements:
53
+ version_requirements: *70134007231860
54
+ - !ruby/object:Gem::Dependency
55
+ name: rspec
56
+ requirement: &70134007230940 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
72
59
  - - ~>
73
- - !ruby/object:Gem::Version
74
- segments:
75
- - 2
76
- - 6
77
- - 0
60
+ - !ruby/object:Gem::Version
78
61
  version: 2.6.0
79
62
  type: :development
80
- version_requirements: *id003
81
- - !ruby/object:Gem::Dependency
82
- name: hanna
83
63
  prerelease: false
84
- requirement: &id004 !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- segments:
89
- - 0
90
- version: "0"
64
+ version_requirements: *70134007230940
65
+ - !ruby/object:Gem::Dependency
66
+ name: hanna
67
+ requirement: &70134007230000 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ! '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
91
73
  type: :development
92
- version_requirements: *id004
93
- 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"
94
- email:
74
+ prerelease: false
75
+ version_requirements: *70134007230000
76
+ description: ! " Sunspot is a library providing a powerful, all-ruby API for the
77
+ Solr search engine. Sunspot manages the configuration of persistent\n Ruby classes
78
+ for search and indexing and exposes Solr's most powerful features through a collection
79
+ of DSLs. Complex search operations\n can be performed without hand-writing any
80
+ boolean queries or building Solr parameters by hand.\n"
81
+ email:
95
82
  - mat@patch.com
96
83
  executables: []
97
-
98
84
  extensions: []
99
-
100
85
  extra_rdoc_files: []
101
-
102
- files:
86
+ files:
103
87
  - .gitignore
104
- - Gemfile
105
- - History.txt
106
- - LICENSE
88
+ - .travis.yml
89
+ - README.md
107
90
  - Rakefile
108
- - TODO
109
- - lib/light_config.rb
110
- - lib/sunspot.rb
111
- - lib/sunspot/adapters.rb
112
- - lib/sunspot/batcher.rb
113
- - lib/sunspot/class_set.rb
114
- - lib/sunspot/composite_setup.rb
115
- - lib/sunspot/configuration.rb
116
- - lib/sunspot/data_extractor.rb
117
- - lib/sunspot/dsl.rb
118
- - lib/sunspot/dsl/adjustable.rb
119
- - lib/sunspot/dsl/field_group.rb
120
- - lib/sunspot/dsl/field_query.rb
121
- - lib/sunspot/dsl/fields.rb
122
- - lib/sunspot/dsl/fulltext.rb
123
- - lib/sunspot/dsl/function.rb
124
- - lib/sunspot/dsl/functional.rb
125
- - lib/sunspot/dsl/more_like_this_query.rb
126
- - lib/sunspot/dsl/paginatable.rb
127
- - lib/sunspot/dsl/query_facet.rb
128
- - lib/sunspot/dsl/restriction.rb
129
- - lib/sunspot/dsl/restriction_with_near.rb
130
- - lib/sunspot/dsl/scope.rb
131
- - lib/sunspot/dsl/search.rb
132
- - lib/sunspot/dsl/standard_query.rb
133
- - lib/sunspot/field.rb
134
- - lib/sunspot/field_factory.rb
135
- - lib/sunspot/indexer.rb
136
- - lib/sunspot/query.rb
137
- - lib/sunspot/query/abstract_field_facet.rb
138
- - lib/sunspot/query/bbox.rb
139
- - lib/sunspot/query/boost_query.rb
140
- - lib/sunspot/query/common_query.rb
141
- - lib/sunspot/query/composite_fulltext.rb
142
- - lib/sunspot/query/connective.rb
143
- - lib/sunspot/query/date_field_facet.rb
144
- - lib/sunspot/query/dismax.rb
145
- - lib/sunspot/query/field_facet.rb
146
- - lib/sunspot/query/field_group.rb
147
- - lib/sunspot/query/filter.rb
148
- - lib/sunspot/query/function_query.rb
149
- - lib/sunspot/query/geo.rb
150
- - lib/sunspot/query/geofilt.rb
151
- - lib/sunspot/query/highlighting.rb
152
- - lib/sunspot/query/more_like_this.rb
153
- - lib/sunspot/query/more_like_this_query.rb
154
- - lib/sunspot/query/pagination.rb
155
- - lib/sunspot/query/query_facet.rb
156
- - lib/sunspot/query/range_facet.rb
157
- - lib/sunspot/query/restriction.rb
158
- - lib/sunspot/query/scope.rb
159
- - lib/sunspot/query/sort.rb
160
- - lib/sunspot/query/sort_composite.rb
161
- - lib/sunspot/query/standard_query.rb
162
- - lib/sunspot/query/text_field_boost.rb
163
- - lib/sunspot/schema.rb
164
- - lib/sunspot/search.rb
165
- - lib/sunspot/search/abstract_search.rb
166
- - lib/sunspot/search/date_facet.rb
167
- - lib/sunspot/search/facet_row.rb
168
- - lib/sunspot/search/field_facet.rb
169
- - lib/sunspot/search/field_group.rb
170
- - lib/sunspot/search/group.rb
171
- - lib/sunspot/search/highlight.rb
172
- - lib/sunspot/search/hit.rb
173
- - lib/sunspot/search/hit_enumerable.rb
174
- - lib/sunspot/search/more_like_this_search.rb
175
- - lib/sunspot/search/paginated_collection.rb
176
- - lib/sunspot/search/query_facet.rb
177
- - lib/sunspot/search/range_facet.rb
178
- - lib/sunspot/search/standard_search.rb
179
- - lib/sunspot/session.rb
180
- - lib/sunspot/session_proxy.rb
181
- - lib/sunspot/session_proxy/abstract_session_proxy.rb
182
- - lib/sunspot/session_proxy/class_sharding_session_proxy.rb
183
- - lib/sunspot/session_proxy/id_sharding_session_proxy.rb
184
- - lib/sunspot/session_proxy/master_slave_session_proxy.rb
185
- - lib/sunspot/session_proxy/retry_5xx_session_proxy.rb
186
- - lib/sunspot/session_proxy/sharding_session_proxy.rb
187
- - lib/sunspot/session_proxy/silent_fail_session_proxy.rb
188
- - lib/sunspot/session_proxy/thread_local_session_proxy.rb
189
- - lib/sunspot/setup.rb
190
- - lib/sunspot/text_field_setup.rb
191
- - lib/sunspot/type.rb
192
- - lib/sunspot/util.rb
193
- - lib/sunspot/version.rb
194
- - log/.gitignore
195
- - pkg/.gitignore
196
- - script/console
197
- - spec/api/adapters_spec.rb
198
- - spec/api/batcher_spec.rb
199
- - spec/api/binding_spec.rb
200
- - spec/api/class_set_spec.rb
201
- - spec/api/hit_enumerable_spec.rb
202
- - spec/api/indexer/attributes_spec.rb
203
- - spec/api/indexer/batch_spec.rb
204
- - spec/api/indexer/dynamic_fields_spec.rb
205
- - spec/api/indexer/fixed_fields_spec.rb
206
- - spec/api/indexer/fulltext_spec.rb
207
- - spec/api/indexer/removal_spec.rb
208
- - spec/api/indexer/spec_helper.rb
209
- - spec/api/indexer_spec.rb
210
- - spec/api/query/advanced_manipulation_examples.rb
211
- - spec/api/query/connectives_examples.rb
212
- - spec/api/query/dsl_spec.rb
213
- - spec/api/query/dynamic_fields_examples.rb
214
- - spec/api/query/faceting_examples.rb
215
- - spec/api/query/fulltext_examples.rb
216
- - spec/api/query/function_spec.rb
217
- - spec/api/query/geo_examples.rb
218
- - spec/api/query/group_spec.rb
219
- - spec/api/query/highlighting_examples.rb
220
- - spec/api/query/more_like_this_spec.rb
221
- - spec/api/query/ordering_pagination_examples.rb
222
- - spec/api/query/scope_examples.rb
223
- - spec/api/query/spatial_examples.rb
224
- - spec/api/query/spec_helper.rb
225
- - spec/api/query/standard_spec.rb
226
- - spec/api/query/text_field_scoping_examples.rb
227
- - spec/api/query/types_spec.rb
228
- - spec/api/search/dynamic_fields_spec.rb
229
- - spec/api/search/faceting_spec.rb
230
- - spec/api/search/highlighting_spec.rb
231
- - spec/api/search/hits_spec.rb
232
- - spec/api/search/paginated_collection_spec.rb
233
- - spec/api/search/results_spec.rb
234
- - spec/api/search/search_spec.rb
235
- - spec/api/search/spec_helper.rb
236
- - spec/api/session_proxy/class_sharding_session_proxy_spec.rb
237
- - spec/api/session_proxy/id_sharding_session_proxy_spec.rb
238
- - spec/api/session_proxy/master_slave_session_proxy_spec.rb
239
- - spec/api/session_proxy/retry_5xx_session_proxy_spec.rb
240
- - spec/api/session_proxy/sharding_session_proxy_spec.rb
241
- - spec/api/session_proxy/silent_fail_session_proxy_spec.rb
242
- - spec/api/session_proxy/spec_helper.rb
243
- - spec/api/session_proxy/thread_local_session_proxy_spec.rb
244
- - spec/api/session_spec.rb
245
- - spec/api/spec_helper.rb
246
- - spec/api/sunspot_spec.rb
247
- - spec/ext.rb
248
- - spec/helpers/indexer_helper.rb
249
- - spec/helpers/integration_helper.rb
250
- - spec/helpers/mock_session_helper.rb
251
- - spec/helpers/query_helper.rb
252
- - spec/helpers/search_helper.rb
253
- - spec/integration/dynamic_fields_spec.rb
254
- - spec/integration/faceting_spec.rb
255
- - spec/integration/field_grouping_spec.rb
256
- - spec/integration/geospatial_spec.rb
257
- - spec/integration/highlighting_spec.rb
258
- - spec/integration/indexing_spec.rb
259
- - spec/integration/keyword_search_spec.rb
260
- - spec/integration/local_search_spec.rb
261
- - spec/integration/more_like_this_spec.rb
262
- - spec/integration/scoped_search_spec.rb
263
- - spec/integration/stored_fields_spec.rb
264
- - spec/integration/test_pagination.rb
265
- - spec/integration/unicode_spec.rb
266
- - spec/mocks/adapters.rb
267
- - spec/mocks/blog.rb
268
- - spec/mocks/comment.rb
269
- - spec/mocks/connection.rb
270
- - spec/mocks/mock_adapter.rb
271
- - spec/mocks/mock_class_sharding_session_proxy.rb
272
- - spec/mocks/mock_record.rb
273
- - spec/mocks/mock_sharding_session_proxy.rb
274
- - spec/mocks/photo.rb
275
- - spec/mocks/post.rb
276
- - spec/mocks/super_class.rb
277
- - spec/mocks/user.rb
278
- - spec/spec_helper.rb
279
- - sunspot.gemspec
280
- - tasks/rdoc.rake
281
- - tasks/schema.rake
282
- - tasks/todo.rake
283
- has_rdoc: true
91
+ - ci/travis.sh
92
+ - sunspot/.gitignore
93
+ - sunspot/Gemfile
94
+ - sunspot/History.txt
95
+ - sunspot/LICENSE
96
+ - sunspot/Rakefile
97
+ - sunspot/TODO
98
+ - sunspot/lib/light_config.rb
99
+ - sunspot/lib/sunspot.rb
100
+ - sunspot/lib/sunspot/adapters.rb
101
+ - sunspot/lib/sunspot/batcher.rb
102
+ - sunspot/lib/sunspot/class_set.rb
103
+ - sunspot/lib/sunspot/composite_setup.rb
104
+ - sunspot/lib/sunspot/configuration.rb
105
+ - sunspot/lib/sunspot/data_extractor.rb
106
+ - sunspot/lib/sunspot/dsl.rb
107
+ - sunspot/lib/sunspot/dsl/adjustable.rb
108
+ - sunspot/lib/sunspot/dsl/field_group.rb
109
+ - sunspot/lib/sunspot/dsl/field_query.rb
110
+ - sunspot/lib/sunspot/dsl/fields.rb
111
+ - sunspot/lib/sunspot/dsl/fulltext.rb
112
+ - sunspot/lib/sunspot/dsl/function.rb
113
+ - sunspot/lib/sunspot/dsl/functional.rb
114
+ - sunspot/lib/sunspot/dsl/more_like_this_query.rb
115
+ - sunspot/lib/sunspot/dsl/paginatable.rb
116
+ - sunspot/lib/sunspot/dsl/query_facet.rb
117
+ - sunspot/lib/sunspot/dsl/restriction.rb
118
+ - sunspot/lib/sunspot/dsl/restriction_with_near.rb
119
+ - sunspot/lib/sunspot/dsl/scope.rb
120
+ - sunspot/lib/sunspot/dsl/search.rb
121
+ - sunspot/lib/sunspot/dsl/standard_query.rb
122
+ - sunspot/lib/sunspot/field.rb
123
+ - sunspot/lib/sunspot/field_factory.rb
124
+ - sunspot/lib/sunspot/indexer.rb
125
+ - sunspot/lib/sunspot/query.rb
126
+ - sunspot/lib/sunspot/query/abstract_field_facet.rb
127
+ - sunspot/lib/sunspot/query/bbox.rb
128
+ - sunspot/lib/sunspot/query/boost_query.rb
129
+ - sunspot/lib/sunspot/query/common_query.rb
130
+ - sunspot/lib/sunspot/query/composite_fulltext.rb
131
+ - sunspot/lib/sunspot/query/connective.rb
132
+ - sunspot/lib/sunspot/query/date_field_facet.rb
133
+ - sunspot/lib/sunspot/query/dismax.rb
134
+ - sunspot/lib/sunspot/query/field_facet.rb
135
+ - sunspot/lib/sunspot/query/field_group.rb
136
+ - sunspot/lib/sunspot/query/filter.rb
137
+ - sunspot/lib/sunspot/query/function_query.rb
138
+ - sunspot/lib/sunspot/query/geo.rb
139
+ - sunspot/lib/sunspot/query/geofilt.rb
140
+ - sunspot/lib/sunspot/query/highlighting.rb
141
+ - sunspot/lib/sunspot/query/more_like_this.rb
142
+ - sunspot/lib/sunspot/query/more_like_this_query.rb
143
+ - sunspot/lib/sunspot/query/pagination.rb
144
+ - sunspot/lib/sunspot/query/query_facet.rb
145
+ - sunspot/lib/sunspot/query/range_facet.rb
146
+ - sunspot/lib/sunspot/query/restriction.rb
147
+ - sunspot/lib/sunspot/query/scope.rb
148
+ - sunspot/lib/sunspot/query/sort.rb
149
+ - sunspot/lib/sunspot/query/sort_composite.rb
150
+ - sunspot/lib/sunspot/query/standard_query.rb
151
+ - sunspot/lib/sunspot/query/text_field_boost.rb
152
+ - sunspot/lib/sunspot/schema.rb
153
+ - sunspot/lib/sunspot/search.rb
154
+ - sunspot/lib/sunspot/search/abstract_search.rb
155
+ - sunspot/lib/sunspot/search/date_facet.rb
156
+ - sunspot/lib/sunspot/search/facet_row.rb
157
+ - sunspot/lib/sunspot/search/field_facet.rb
158
+ - sunspot/lib/sunspot/search/field_group.rb
159
+ - sunspot/lib/sunspot/search/group.rb
160
+ - sunspot/lib/sunspot/search/highlight.rb
161
+ - sunspot/lib/sunspot/search/hit.rb
162
+ - sunspot/lib/sunspot/search/hit_enumerable.rb
163
+ - sunspot/lib/sunspot/search/more_like_this_search.rb
164
+ - sunspot/lib/sunspot/search/paginated_collection.rb
165
+ - sunspot/lib/sunspot/search/query_facet.rb
166
+ - sunspot/lib/sunspot/search/range_facet.rb
167
+ - sunspot/lib/sunspot/search/standard_search.rb
168
+ - sunspot/lib/sunspot/session.rb
169
+ - sunspot/lib/sunspot/session_proxy.rb
170
+ - sunspot/lib/sunspot/session_proxy/abstract_session_proxy.rb
171
+ - sunspot/lib/sunspot/session_proxy/class_sharding_session_proxy.rb
172
+ - sunspot/lib/sunspot/session_proxy/id_sharding_session_proxy.rb
173
+ - sunspot/lib/sunspot/session_proxy/master_slave_session_proxy.rb
174
+ - sunspot/lib/sunspot/session_proxy/retry_5xx_session_proxy.rb
175
+ - sunspot/lib/sunspot/session_proxy/sharding_session_proxy.rb
176
+ - sunspot/lib/sunspot/session_proxy/silent_fail_session_proxy.rb
177
+ - sunspot/lib/sunspot/session_proxy/thread_local_session_proxy.rb
178
+ - sunspot/lib/sunspot/setup.rb
179
+ - sunspot/lib/sunspot/text_field_setup.rb
180
+ - sunspot/lib/sunspot/type.rb
181
+ - sunspot/lib/sunspot/util.rb
182
+ - sunspot/lib/sunspot/version.rb
183
+ - sunspot/log/.gitignore
184
+ - sunspot/pkg/.gitignore
185
+ - sunspot/script/console
186
+ - sunspot/spec/api/adapters_spec.rb
187
+ - sunspot/spec/api/batcher_spec.rb
188
+ - sunspot/spec/api/binding_spec.rb
189
+ - sunspot/spec/api/class_set_spec.rb
190
+ - sunspot/spec/api/hit_enumerable_spec.rb
191
+ - sunspot/spec/api/indexer/attributes_spec.rb
192
+ - sunspot/spec/api/indexer/batch_spec.rb
193
+ - sunspot/spec/api/indexer/dynamic_fields_spec.rb
194
+ - sunspot/spec/api/indexer/fixed_fields_spec.rb
195
+ - sunspot/spec/api/indexer/fulltext_spec.rb
196
+ - sunspot/spec/api/indexer/removal_spec.rb
197
+ - sunspot/spec/api/indexer/spec_helper.rb
198
+ - sunspot/spec/api/indexer_spec.rb
199
+ - sunspot/spec/api/query/advanced_manipulation_examples.rb
200
+ - sunspot/spec/api/query/connectives_examples.rb
201
+ - sunspot/spec/api/query/dsl_spec.rb
202
+ - sunspot/spec/api/query/dynamic_fields_examples.rb
203
+ - sunspot/spec/api/query/faceting_examples.rb
204
+ - sunspot/spec/api/query/fulltext_examples.rb
205
+ - sunspot/spec/api/query/function_spec.rb
206
+ - sunspot/spec/api/query/geo_examples.rb
207
+ - sunspot/spec/api/query/group_spec.rb
208
+ - sunspot/spec/api/query/highlighting_examples.rb
209
+ - sunspot/spec/api/query/more_like_this_spec.rb
210
+ - sunspot/spec/api/query/ordering_pagination_examples.rb
211
+ - sunspot/spec/api/query/scope_examples.rb
212
+ - sunspot/spec/api/query/spatial_examples.rb
213
+ - sunspot/spec/api/query/spec_helper.rb
214
+ - sunspot/spec/api/query/standard_spec.rb
215
+ - sunspot/spec/api/query/text_field_scoping_examples.rb
216
+ - sunspot/spec/api/query/types_spec.rb
217
+ - sunspot/spec/api/search/dynamic_fields_spec.rb
218
+ - sunspot/spec/api/search/faceting_spec.rb
219
+ - sunspot/spec/api/search/highlighting_spec.rb
220
+ - sunspot/spec/api/search/hits_spec.rb
221
+ - sunspot/spec/api/search/paginated_collection_spec.rb
222
+ - sunspot/spec/api/search/results_spec.rb
223
+ - sunspot/spec/api/search/search_spec.rb
224
+ - sunspot/spec/api/search/spec_helper.rb
225
+ - sunspot/spec/api/session_proxy/class_sharding_session_proxy_spec.rb
226
+ - sunspot/spec/api/session_proxy/id_sharding_session_proxy_spec.rb
227
+ - sunspot/spec/api/session_proxy/master_slave_session_proxy_spec.rb
228
+ - sunspot/spec/api/session_proxy/retry_5xx_session_proxy_spec.rb
229
+ - sunspot/spec/api/session_proxy/sharding_session_proxy_spec.rb
230
+ - sunspot/spec/api/session_proxy/silent_fail_session_proxy_spec.rb
231
+ - sunspot/spec/api/session_proxy/spec_helper.rb
232
+ - sunspot/spec/api/session_proxy/thread_local_session_proxy_spec.rb
233
+ - sunspot/spec/api/session_spec.rb
234
+ - sunspot/spec/api/spec_helper.rb
235
+ - sunspot/spec/api/sunspot_spec.rb
236
+ - sunspot/spec/ext.rb
237
+ - sunspot/spec/helpers/indexer_helper.rb
238
+ - sunspot/spec/helpers/integration_helper.rb
239
+ - sunspot/spec/helpers/mock_session_helper.rb
240
+ - sunspot/spec/helpers/query_helper.rb
241
+ - sunspot/spec/helpers/search_helper.rb
242
+ - sunspot/spec/integration/dynamic_fields_spec.rb
243
+ - sunspot/spec/integration/faceting_spec.rb
244
+ - sunspot/spec/integration/field_grouping_spec.rb
245
+ - sunspot/spec/integration/geospatial_spec.rb
246
+ - sunspot/spec/integration/highlighting_spec.rb
247
+ - sunspot/spec/integration/indexing_spec.rb
248
+ - sunspot/spec/integration/keyword_search_spec.rb
249
+ - sunspot/spec/integration/local_search_spec.rb
250
+ - sunspot/spec/integration/more_like_this_spec.rb
251
+ - sunspot/spec/integration/scoped_search_spec.rb
252
+ - sunspot/spec/integration/stored_fields_spec.rb
253
+ - sunspot/spec/integration/test_pagination.rb
254
+ - sunspot/spec/integration/unicode_spec.rb
255
+ - sunspot/spec/mocks/adapters.rb
256
+ - sunspot/spec/mocks/blog.rb
257
+ - sunspot/spec/mocks/comment.rb
258
+ - sunspot/spec/mocks/connection.rb
259
+ - sunspot/spec/mocks/mock_adapter.rb
260
+ - sunspot/spec/mocks/mock_class_sharding_session_proxy.rb
261
+ - sunspot/spec/mocks/mock_record.rb
262
+ - sunspot/spec/mocks/mock_sharding_session_proxy.rb
263
+ - sunspot/spec/mocks/photo.rb
264
+ - sunspot/spec/mocks/post.rb
265
+ - sunspot/spec/mocks/super_class.rb
266
+ - sunspot/spec/mocks/user.rb
267
+ - sunspot/spec/spec_helper.rb
268
+ - sunspot/sunspot.gemspec
269
+ - sunspot/tasks/rdoc.rake
270
+ - sunspot/tasks/schema.rake
271
+ - sunspot/tasks/todo.rake
272
+ - sunspot_rails/.gitignore
273
+ - sunspot_rails/.rspec
274
+ - sunspot_rails/History.txt
275
+ - sunspot_rails/LICENSE
276
+ - sunspot_rails/MIT-LICENSE
277
+ - sunspot_rails/README.rdoc
278
+ - sunspot_rails/Rakefile
279
+ - sunspot_rails/TODO
280
+ - sunspot_rails/dev_tasks/rdoc.rake
281
+ - sunspot_rails/dev_tasks/release.rake
282
+ - sunspot_rails/dev_tasks/spec.rake
283
+ - sunspot_rails/dev_tasks/todo.rake
284
+ - sunspot_rails/gemfiles/rails-2.3.14
285
+ - sunspot_rails/gemfiles/rails-3.0.15
286
+ - sunspot_rails/gemfiles/rails-3.1.6
287
+ - sunspot_rails/gemfiles/rails-3.2.6
288
+ - sunspot_rails/generators/sunspot/sunspot_generator.rb
289
+ - sunspot_rails/generators/sunspot/templates/sunspot.yml
290
+ - sunspot_rails/install.rb
291
+ - sunspot_rails/lib/generators/sunspot_rails.rb
292
+ - sunspot_rails/lib/generators/sunspot_rails/install/install_generator.rb
293
+ - sunspot_rails/lib/generators/sunspot_rails/install/templates/config/sunspot.yml
294
+ - sunspot_rails/lib/sunspot/rails.rb
295
+ - sunspot_rails/lib/sunspot/rails/adapters.rb
296
+ - sunspot_rails/lib/sunspot/rails/configuration.rb
297
+ - sunspot_rails/lib/sunspot/rails/init.rb
298
+ - sunspot_rails/lib/sunspot/rails/log_subscriber.rb
299
+ - sunspot_rails/lib/sunspot/rails/railtie.rb
300
+ - sunspot_rails/lib/sunspot/rails/railties/controller_runtime.rb
301
+ - sunspot_rails/lib/sunspot/rails/request_lifecycle.rb
302
+ - sunspot_rails/lib/sunspot/rails/searchable.rb
303
+ - sunspot_rails/lib/sunspot/rails/server.rb
304
+ - sunspot_rails/lib/sunspot/rails/solr_instrumentation.rb
305
+ - sunspot_rails/lib/sunspot/rails/solr_logging.rb
306
+ - sunspot_rails/lib/sunspot/rails/spec_helper.rb
307
+ - sunspot_rails/lib/sunspot/rails/stub_session_proxy.rb
308
+ - sunspot_rails/lib/sunspot/rails/tasks.rb
309
+ - sunspot_rails/lib/sunspot_rails.rb
310
+ - sunspot_rails/spec/configuration_spec.rb
311
+ - sunspot_rails/spec/model_lifecycle_spec.rb
312
+ - sunspot_rails/spec/model_spec.rb
313
+ - sunspot_rails/spec/rails_template/app/controllers/application_controller.rb
314
+ - sunspot_rails/spec/rails_template/app/controllers/posts_controller.rb
315
+ - sunspot_rails/spec/rails_template/app/models/author.rb
316
+ - sunspot_rails/spec/rails_template/app/models/blog.rb
317
+ - sunspot_rails/spec/rails_template/app/models/location.rb
318
+ - sunspot_rails/spec/rails_template/app/models/photo_post.rb
319
+ - sunspot_rails/spec/rails_template/app/models/post.rb
320
+ - sunspot_rails/spec/rails_template/app/models/post_with_auto.rb
321
+ - sunspot_rails/spec/rails_template/app/models/post_with_default_scope.rb
322
+ - sunspot_rails/spec/rails_template/config/boot.rb
323
+ - sunspot_rails/spec/rails_template/config/preinitializer.rb
324
+ - sunspot_rails/spec/rails_template/config/routes.rb
325
+ - sunspot_rails/spec/rails_template/config/sunspot.yml
326
+ - sunspot_rails/spec/rails_template/db/schema.rb
327
+ - sunspot_rails/spec/request_lifecycle_spec.rb
328
+ - sunspot_rails/spec/schema.rb
329
+ - sunspot_rails/spec/searchable_spec.rb
330
+ - sunspot_rails/spec/server_spec.rb
331
+ - sunspot_rails/spec/session_spec.rb
332
+ - sunspot_rails/spec/shared_examples/indexed_after_save.rb
333
+ - sunspot_rails/spec/shared_examples/not_indexed_after_save.rb
334
+ - sunspot_rails/spec/spec_helper.rb
335
+ - sunspot_rails/spec/stub_session_proxy_spec.rb
336
+ - sunspot_rails/sunspot_rails.gemspec
337
+ - sunspot_rails/tmp/.gitkeep
338
+ - sunspot_solr/Gemfile
339
+ - sunspot_solr/README.rdoc
340
+ - sunspot_solr/bin/sunspot-installer
341
+ - sunspot_solr/bin/sunspot-solr
342
+ - sunspot_solr/lib/sunspot/solr/installer.rb
343
+ - sunspot_solr/lib/sunspot/solr/installer/config_installer.rb
344
+ - sunspot_solr/lib/sunspot/solr/installer/task_helper.rb
345
+ - sunspot_solr/lib/sunspot/solr/java.rb
346
+ - sunspot_solr/lib/sunspot/solr/railtie.rb
347
+ - sunspot_solr/lib/sunspot/solr/server.rb
348
+ - sunspot_solr/lib/sunspot/solr/tasks.rb
349
+ - sunspot_solr/lib/sunspot_solr.rb
350
+ - sunspot_solr/solr/README.txt
351
+ - sunspot_solr/solr/etc/jetty.xml
352
+ - sunspot_solr/solr/etc/webdefault.xml
353
+ - sunspot_solr/solr/lib/jetty-6.1.26-patched-JETTY-1340.jar
354
+ - sunspot_solr/solr/lib/jetty-util-6.1.26-patched-JETTY-1340.jar
355
+ - sunspot_solr/solr/lib/jsp-2.1/ant-1.6.5.jar
356
+ - sunspot_solr/solr/lib/jsp-2.1/core-3.1.1.jar
357
+ - sunspot_solr/solr/lib/jsp-2.1/jsp-2.1.jar
358
+ - sunspot_solr/solr/lib/jsp-2.1/jsp-api-2.1.jar
359
+ - sunspot_solr/solr/lib/servlet-api-2.5-20081211.jar
360
+ - sunspot_solr/solr/solr/.gitignore
361
+ - sunspot_solr/solr/solr/README.txt
362
+ - sunspot_solr/solr/solr/conf/admin-extra.html
363
+ - sunspot_solr/solr/solr/conf/elevate.xml
364
+ - sunspot_solr/solr/solr/conf/mapping-ISOLatin1Accent.txt
365
+ - sunspot_solr/solr/solr/conf/protwords.txt
366
+ - sunspot_solr/solr/solr/conf/schema.xml
367
+ - sunspot_solr/solr/solr/conf/scripts.conf
368
+ - sunspot_solr/solr/solr/conf/solrconfig.xml
369
+ - sunspot_solr/solr/solr/conf/spellings.txt
370
+ - sunspot_solr/solr/solr/conf/stopwords.txt
371
+ - sunspot_solr/solr/solr/conf/synonyms.txt
372
+ - sunspot_solr/solr/solr/conf/xslt/example.xsl
373
+ - sunspot_solr/solr/solr/conf/xslt/example_atom.xsl
374
+ - sunspot_solr/solr/solr/conf/xslt/example_rss.xsl
375
+ - sunspot_solr/solr/solr/conf/xslt/luke.xsl
376
+ - sunspot_solr/solr/start.jar
377
+ - sunspot_solr/solr/webapps/solr.war
378
+ - sunspot_solr/spec/server_spec.rb
379
+ - sunspot_solr/spec/spec_helper.rb
380
+ - sunspot_solr/sunspot_solr.gemspec
381
+ - tools/gem_tasks.rb
284
382
  homepage: http://outoftime.github.com/sunspot
285
383
  licenses: []
286
-
287
384
  post_install_message:
288
- rdoc_options:
385
+ rdoc_options:
289
386
  - --webcvs=http://github.com/outoftime/sunspot/tree/master/%s
290
387
  - --title
291
388
  - Sunspot - Solr-powered search for Ruby objects - API Documentation
292
389
  - --main
293
390
  - README.rdoc
294
- require_paths:
391
+ require_paths:
295
392
  - lib
296
- required_ruby_version: !ruby/object:Gem::Requirement
297
- requirements:
298
- - - ">="
299
- - !ruby/object:Gem::Version
300
- segments:
301
- - 0
302
- version: "0"
303
- required_rubygems_version: !ruby/object:Gem::Requirement
304
- requirements:
305
- - - ">"
306
- - !ruby/object:Gem::Version
307
- segments:
308
- - 1
309
- - 3
310
- - 1
393
+ required_ruby_version: !ruby/object:Gem::Requirement
394
+ none: false
395
+ requirements:
396
+ - - ! '>='
397
+ - !ruby/object:Gem::Version
398
+ version: '0'
399
+ required_rubygems_version: !ruby/object:Gem::Requirement
400
+ none: false
401
+ requirements:
402
+ - - ! '>'
403
+ - !ruby/object:Gem::Version
311
404
  version: 1.3.1
312
405
  requirements: []
313
-
314
406
  rubyforge_project: sunspot
315
- rubygems_version: 1.3.6
407
+ rubygems_version: 1.8.15
316
408
  signing_key:
317
409
  specification_version: 3
318
410
  summary: Library for expressive, powerful interaction with the Solr search engine
319
- test_files:
320
- - spec/api/adapters_spec.rb
321
- - spec/api/batcher_spec.rb
322
- - spec/api/binding_spec.rb
323
- - spec/api/class_set_spec.rb
324
- - spec/api/hit_enumerable_spec.rb
325
- - spec/api/indexer/attributes_spec.rb
326
- - spec/api/indexer/batch_spec.rb
327
- - spec/api/indexer/dynamic_fields_spec.rb
328
- - spec/api/indexer/fixed_fields_spec.rb
329
- - spec/api/indexer/fulltext_spec.rb
330
- - spec/api/indexer/removal_spec.rb
331
- - spec/api/indexer/spec_helper.rb
332
- - spec/api/indexer_spec.rb
333
- - spec/api/query/advanced_manipulation_examples.rb
334
- - spec/api/query/connectives_examples.rb
335
- - spec/api/query/dsl_spec.rb
336
- - spec/api/query/dynamic_fields_examples.rb
337
- - spec/api/query/faceting_examples.rb
338
- - spec/api/query/fulltext_examples.rb
339
- - spec/api/query/function_spec.rb
340
- - spec/api/query/geo_examples.rb
341
- - spec/api/query/group_spec.rb
342
- - spec/api/query/highlighting_examples.rb
343
- - spec/api/query/more_like_this_spec.rb
344
- - spec/api/query/ordering_pagination_examples.rb
345
- - spec/api/query/scope_examples.rb
346
- - spec/api/query/spatial_examples.rb
347
- - spec/api/query/spec_helper.rb
348
- - spec/api/query/standard_spec.rb
349
- - spec/api/query/text_field_scoping_examples.rb
350
- - spec/api/query/types_spec.rb
351
- - spec/api/search/dynamic_fields_spec.rb
352
- - spec/api/search/faceting_spec.rb
353
- - spec/api/search/highlighting_spec.rb
354
- - spec/api/search/hits_spec.rb
355
- - spec/api/search/paginated_collection_spec.rb
356
- - spec/api/search/results_spec.rb
357
- - spec/api/search/search_spec.rb
358
- - spec/api/search/spec_helper.rb
359
- - spec/api/session_proxy/class_sharding_session_proxy_spec.rb
360
- - spec/api/session_proxy/id_sharding_session_proxy_spec.rb
361
- - spec/api/session_proxy/master_slave_session_proxy_spec.rb
362
- - spec/api/session_proxy/retry_5xx_session_proxy_spec.rb
363
- - spec/api/session_proxy/sharding_session_proxy_spec.rb
364
- - spec/api/session_proxy/silent_fail_session_proxy_spec.rb
365
- - spec/api/session_proxy/spec_helper.rb
366
- - spec/api/session_proxy/thread_local_session_proxy_spec.rb
367
- - spec/api/session_spec.rb
368
- - spec/api/spec_helper.rb
369
- - spec/api/sunspot_spec.rb
370
- - spec/ext.rb
371
- - spec/helpers/indexer_helper.rb
372
- - spec/helpers/integration_helper.rb
373
- - spec/helpers/mock_session_helper.rb
374
- - spec/helpers/query_helper.rb
375
- - spec/helpers/search_helper.rb
376
- - spec/integration/dynamic_fields_spec.rb
377
- - spec/integration/faceting_spec.rb
378
- - spec/integration/field_grouping_spec.rb
379
- - spec/integration/geospatial_spec.rb
380
- - spec/integration/highlighting_spec.rb
381
- - spec/integration/indexing_spec.rb
382
- - spec/integration/keyword_search_spec.rb
383
- - spec/integration/local_search_spec.rb
384
- - spec/integration/more_like_this_spec.rb
385
- - spec/integration/scoped_search_spec.rb
386
- - spec/integration/stored_fields_spec.rb
387
- - spec/integration/test_pagination.rb
388
- - spec/integration/unicode_spec.rb
389
- - spec/mocks/adapters.rb
390
- - spec/mocks/blog.rb
391
- - spec/mocks/comment.rb
392
- - spec/mocks/connection.rb
393
- - spec/mocks/mock_adapter.rb
394
- - spec/mocks/mock_class_sharding_session_proxy.rb
395
- - spec/mocks/mock_record.rb
396
- - spec/mocks/mock_sharding_session_proxy.rb
397
- - spec/mocks/photo.rb
398
- - spec/mocks/post.rb
399
- - spec/mocks/super_class.rb
400
- - spec/mocks/user.rb
401
- - spec/spec_helper.rb
411
+ test_files: []