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.
Files changed (92) hide show
  1. data/.gitignore +12 -0
  2. data/Gemfile +3 -9
  3. data/Rakefile +11 -5
  4. data/lib/sunspot/dsl/field_query.rb +13 -0
  5. data/lib/sunspot/dsl/functional.rb +3 -0
  6. data/lib/sunspot/search/abstract_search.rb +9 -12
  7. data/lib/sunspot/search/paginated_collection.rb +55 -0
  8. data/lib/sunspot/server.rb +3 -7
  9. data/lib/sunspot/version.rb +1 -1
  10. data/script/console +10 -0
  11. data/solr-1.3/etc/jetty.xml +212 -0
  12. data/solr-1.3/etc/webdefault.xml +379 -0
  13. data/solr-1.3/lib/jetty-6.1.3.jar +0 -0
  14. data/solr-1.3/lib/jetty-util-6.1.3.jar +0 -0
  15. data/solr-1.3/lib/jsp-2.1/ant-1.6.5.jar +0 -0
  16. data/solr-1.3/lib/jsp-2.1/core-3.1.1.jar +0 -0
  17. data/solr-1.3/lib/jsp-2.1/jsp-2.1.jar +0 -0
  18. data/solr-1.3/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
  19. data/solr-1.3/lib/servlet-api-2.5-6.1.3.jar +0 -0
  20. data/solr-1.3/solr/conf/elevate.xml +36 -0
  21. data/solr-1.3/solr/conf/protwords.txt +21 -0
  22. data/solr-1.3/solr/conf/schema.xml +64 -0
  23. data/solr-1.3/solr/conf/solrconfig.xml +725 -0
  24. data/solr-1.3/solr/conf/stopwords.txt +57 -0
  25. data/solr-1.3/solr/conf/synonyms.txt +31 -0
  26. data/solr-1.3/solr/lib/geoapi-nogenerics-2.1-M2.jar +0 -0
  27. data/solr-1.3/solr/lib/gt2-referencing-2.3.1.jar +0 -0
  28. data/solr-1.3/solr/lib/jsr108-0.01.jar +0 -0
  29. data/solr-1.3/solr/lib/locallucene.jar +0 -0
  30. data/solr-1.3/solr/lib/localsolr.jar +0 -0
  31. data/solr-1.3/start.jar +0 -0
  32. data/solr-1.3/webapps/solr.war +0 -0
  33. data/solr/README.txt +42 -0
  34. data/solr/etc/jetty.xml +4 -0
  35. data/solr/solr/.gitignore +1 -0
  36. data/solr/solr/README.txt +54 -0
  37. data/solr/solr/conf/xslt/example.xsl +132 -0
  38. data/solr/solr/conf/xslt/example_atom.xsl +67 -0
  39. data/solr/solr/conf/xslt/example_rss.xsl +66 -0
  40. data/solr/solr/conf/xslt/luke.xsl +337 -0
  41. data/spec/api/adapters_spec.rb +1 -1
  42. data/spec/api/binding_spec.rb +1 -1
  43. data/spec/api/indexer/attributes_spec.rb +1 -1
  44. data/spec/api/indexer/batch_spec.rb +1 -1
  45. data/spec/api/indexer/dynamic_fields_spec.rb +1 -1
  46. data/spec/api/indexer/fixed_fields_spec.rb +1 -1
  47. data/spec/api/indexer/fulltext_spec.rb +1 -1
  48. data/spec/api/indexer/removal_spec.rb +1 -1
  49. data/spec/api/indexer/spec_helper.rb +1 -1
  50. data/spec/api/indexer_spec.rb +1 -1
  51. data/spec/api/query/advanced_manipulation_examples.rb +1 -1
  52. data/spec/api/query/dsl_spec.rb +1 -1
  53. data/spec/api/query/faceting_examples.rb +0 -2
  54. data/spec/api/query/fulltext_examples.rb +0 -2
  55. data/spec/api/query/function_spec.rb +1 -1
  56. data/spec/api/query/geo_examples.rb +0 -1
  57. data/spec/api/query/highlighting_examples.rb +0 -2
  58. data/spec/api/query/more_like_this_spec.rb +1 -1
  59. data/spec/api/query/ordering_pagination_examples.rb +0 -2
  60. data/spec/api/query/spec_helper.rb +1 -1
  61. data/spec/api/query/standard_spec.rb +1 -1
  62. data/spec/api/search/dynamic_fields_spec.rb +1 -1
  63. data/spec/api/search/faceting_spec.rb +1 -1
  64. data/spec/api/search/highlighting_spec.rb +1 -1
  65. data/spec/api/search/hits_spec.rb +12 -32
  66. data/spec/api/search/paginated_collection_spec.rb +26 -0
  67. data/spec/api/search/results_spec.rb +6 -19
  68. data/spec/api/search/search_spec.rb +1 -1
  69. data/spec/api/search/spec_helper.rb +1 -1
  70. data/spec/api/server_spec.rb +1 -1
  71. data/spec/api/session_proxy/class_sharding_session_proxy_spec.rb +1 -1
  72. data/spec/api/session_proxy/id_sharding_session_proxy_spec.rb +1 -1
  73. data/spec/api/session_proxy/master_slave_session_proxy_spec.rb +1 -1
  74. data/spec/api/session_proxy/sharding_session_proxy_spec.rb +1 -1
  75. data/spec/api/session_proxy/silent_fail_session_proxy_spec.rb +1 -1
  76. data/spec/api/session_proxy/spec_helper.rb +1 -1
  77. data/spec/api/session_proxy/thread_local_session_proxy_spec.rb +1 -1
  78. data/spec/api/session_spec.rb +1 -1
  79. data/spec/api/spec_helper.rb +1 -1
  80. data/spec/api/sunspot_spec.rb +1 -1
  81. data/spec/integration/faceting_spec.rb +1 -1
  82. data/spec/integration/indexing_spec.rb +1 -1
  83. data/spec/integration/keyword_search_spec.rb +1 -1
  84. data/spec/integration/local_search_spec.rb +1 -1
  85. data/spec/integration/more_like_this_spec.rb +1 -1
  86. data/spec/integration/scoped_search_spec.rb +1 -1
  87. data/spec/integration/spec_helper.rb +1 -1
  88. data/spec/integration/test_pagination.rb +1 -1
  89. data/spec/mocks/connection.rb +1 -1
  90. data/spec/spec_helper.rb +4 -16
  91. metadata +118 -37
  92. data/Gemfile.lock +0 -32
@@ -1,32 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- sunspot (1.2.0)
5
- escape (= 0.0.4)
6
- pr_geohash (~> 1.0)
7
- rsolr (= 0.12.1)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- builder (3.0.0)
13
- columnize (0.3.2)
14
- escape (0.0.4)
15
- linecache (0.43)
16
- pr_geohash (1.0.0)
17
- rsolr (0.12.1)
18
- builder (>= 2.1.2)
19
- rspec (1.3.0)
20
- ruby-debug (0.10.3)
21
- columnize (>= 0.1)
22
- ruby-debug-base (~> 0.10.3.0)
23
- ruby-debug-base (0.10.3)
24
- linecache (>= 0.3)
25
-
26
- PLATFORMS
27
- ruby
28
-
29
- DEPENDENCIES
30
- rspec (~> 1.3)
31
- ruby-debug
32
- sunspot (= 1.2.0)!