warp-thinking-sphinx 1.2.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. data/LICENCE +20 -0
  2. data/README.textile +144 -0
  3. data/VERSION.yml +4 -0
  4. data/features/a.rb +17 -0
  5. data/features/alternate_primary_key.feature +27 -0
  6. data/features/attribute_transformation.feature +22 -0
  7. data/features/attribute_updates.feature +33 -0
  8. data/features/datetime_deltas.feature +66 -0
  9. data/features/delayed_delta_indexing.feature +37 -0
  10. data/features/deleting_instances.feature +64 -0
  11. data/features/direct_attributes.feature +11 -0
  12. data/features/excerpts.feature +13 -0
  13. data/features/extensible_delta_indexing.feature +9 -0
  14. data/features/facets.feature +76 -0
  15. data/features/facets_across_model.feature +29 -0
  16. data/features/handling_edits.feature +92 -0
  17. data/features/retry_stale_indexes.feature +24 -0
  18. data/features/searching_across_models.feature +20 -0
  19. data/features/searching_by_model.feature +175 -0
  20. data/features/searching_with_find_arguments.feature +56 -0
  21. data/features/sphinx_detection.feature +25 -0
  22. data/features/sphinx_scopes.feature +35 -0
  23. data/features/step_definitions/alpha_steps.rb +3 -0
  24. data/features/step_definitions/beta_steps.rb +7 -0
  25. data/features/step_definitions/common_steps.rb +178 -0
  26. data/features/step_definitions/datetime_delta_steps.rb +15 -0
  27. data/features/step_definitions/delayed_delta_indexing_steps.rb +7 -0
  28. data/features/step_definitions/extensible_delta_indexing_steps.rb +7 -0
  29. data/features/step_definitions/facet_steps.rb +92 -0
  30. data/features/step_definitions/find_arguments_steps.rb +36 -0
  31. data/features/step_definitions/gamma_steps.rb +15 -0
  32. data/features/step_definitions/scope_steps.rb +11 -0
  33. data/features/step_definitions/search_steps.rb +89 -0
  34. data/features/step_definitions/sphinx_steps.rb +31 -0
  35. data/features/sti_searching.feature +14 -0
  36. data/features/support/db/active_record.rb +40 -0
  37. data/features/support/db/database.example.yml +3 -0
  38. data/features/support/db/fixtures/alphas.rb +10 -0
  39. data/features/support/db/fixtures/authors.rb +1 -0
  40. data/features/support/db/fixtures/betas.rb +10 -0
  41. data/features/support/db/fixtures/boxes.rb +9 -0
  42. data/features/support/db/fixtures/categories.rb +1 -0
  43. data/features/support/db/fixtures/cats.rb +3 -0
  44. data/features/support/db/fixtures/comments.rb +24 -0
  45. data/features/support/db/fixtures/delayed_betas.rb +10 -0
  46. data/features/support/db/fixtures/developers.rb +29 -0
  47. data/features/support/db/fixtures/dogs.rb +3 -0
  48. data/features/support/db/fixtures/extensible_betas.rb +10 -0
  49. data/features/support/db/fixtures/gammas.rb +10 -0
  50. data/features/support/db/fixtures/people.rb +1001 -0
  51. data/features/support/db/fixtures/posts.rb +6 -0
  52. data/features/support/db/fixtures/robots.rb +14 -0
  53. data/features/support/db/fixtures/tags.rb +27 -0
  54. data/features/support/db/fixtures/thetas.rb +10 -0
  55. data/features/support/db/migrations/create_alphas.rb +7 -0
  56. data/features/support/db/migrations/create_animals.rb +5 -0
  57. data/features/support/db/migrations/create_authors.rb +3 -0
  58. data/features/support/db/migrations/create_authors_posts.rb +6 -0
  59. data/features/support/db/migrations/create_betas.rb +5 -0
  60. data/features/support/db/migrations/create_boxes.rb +5 -0
  61. data/features/support/db/migrations/create_categories.rb +3 -0
  62. data/features/support/db/migrations/create_comments.rb +10 -0
  63. data/features/support/db/migrations/create_delayed_betas.rb +17 -0
  64. data/features/support/db/migrations/create_developers.rb +9 -0
  65. data/features/support/db/migrations/create_extensible_betas.rb +5 -0
  66. data/features/support/db/migrations/create_gammas.rb +3 -0
  67. data/features/support/db/migrations/create_people.rb +13 -0
  68. data/features/support/db/migrations/create_posts.rb +5 -0
  69. data/features/support/db/migrations/create_robots.rb +5 -0
  70. data/features/support/db/migrations/create_taggings.rb +5 -0
  71. data/features/support/db/migrations/create_tags.rb +4 -0
  72. data/features/support/db/migrations/create_thetas.rb +5 -0
  73. data/features/support/db/mysql.rb +3 -0
  74. data/features/support/db/postgresql.rb +3 -0
  75. data/features/support/env.rb +6 -0
  76. data/features/support/lib/generic_delta_handler.rb +8 -0
  77. data/features/support/models/alpha.rb +10 -0
  78. data/features/support/models/animal.rb +5 -0
  79. data/features/support/models/author.rb +3 -0
  80. data/features/support/models/beta.rb +8 -0
  81. data/features/support/models/box.rb +8 -0
  82. data/features/support/models/cat.rb +3 -0
  83. data/features/support/models/category.rb +4 -0
  84. data/features/support/models/comment.rb +10 -0
  85. data/features/support/models/delayed_beta.rb +7 -0
  86. data/features/support/models/developer.rb +16 -0
  87. data/features/support/models/dog.rb +3 -0
  88. data/features/support/models/extensible_beta.rb +9 -0
  89. data/features/support/models/gamma.rb +5 -0
  90. data/features/support/models/person.rb +23 -0
  91. data/features/support/models/post.rb +20 -0
  92. data/features/support/models/robot.rb +8 -0
  93. data/features/support/models/tag.rb +3 -0
  94. data/features/support/models/tagging.rb +4 -0
  95. data/features/support/models/theta.rb +7 -0
  96. data/features/support/post_database.rb +43 -0
  97. data/features/support/z.rb +19 -0
  98. data/lib/thinking_sphinx.rb +212 -0
  99. data/lib/thinking_sphinx/active_record.rb +306 -0
  100. data/lib/thinking_sphinx/active_record/attribute_updates.rb +48 -0
  101. data/lib/thinking_sphinx/active_record/delta.rb +87 -0
  102. data/lib/thinking_sphinx/active_record/has_many_association.rb +28 -0
  103. data/lib/thinking_sphinx/active_record/scopes.rb +39 -0
  104. data/lib/thinking_sphinx/adapters/abstract_adapter.rb +42 -0
  105. data/lib/thinking_sphinx/adapters/mysql_adapter.rb +54 -0
  106. data/lib/thinking_sphinx/adapters/postgresql_adapter.rb +136 -0
  107. data/lib/thinking_sphinx/association.rb +243 -0
  108. data/lib/thinking_sphinx/attribute.rb +340 -0
  109. data/lib/thinking_sphinx/class_facet.rb +15 -0
  110. data/lib/thinking_sphinx/configuration.rb +282 -0
  111. data/lib/thinking_sphinx/core/array.rb +7 -0
  112. data/lib/thinking_sphinx/core/string.rb +15 -0
  113. data/lib/thinking_sphinx/deltas.rb +30 -0
  114. data/lib/thinking_sphinx/deltas/datetime_delta.rb +50 -0
  115. data/lib/thinking_sphinx/deltas/default_delta.rb +68 -0
  116. data/lib/thinking_sphinx/deltas/delayed_delta.rb +30 -0
  117. data/lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb +24 -0
  118. data/lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb +27 -0
  119. data/lib/thinking_sphinx/deltas/delayed_delta/job.rb +26 -0
  120. data/lib/thinking_sphinx/deploy/capistrano.rb +100 -0
  121. data/lib/thinking_sphinx/excerpter.rb +22 -0
  122. data/lib/thinking_sphinx/facet.rb +125 -0
  123. data/lib/thinking_sphinx/facet_search.rb +134 -0
  124. data/lib/thinking_sphinx/field.rb +81 -0
  125. data/lib/thinking_sphinx/index.rb +99 -0
  126. data/lib/thinking_sphinx/index/builder.rb +286 -0
  127. data/lib/thinking_sphinx/index/faux_column.rb +110 -0
  128. data/lib/thinking_sphinx/property.rb +163 -0
  129. data/lib/thinking_sphinx/rails_additions.rb +150 -0
  130. data/lib/thinking_sphinx/search.rb +708 -0
  131. data/lib/thinking_sphinx/search_methods.rb +421 -0
  132. data/lib/thinking_sphinx/source.rb +152 -0
  133. data/lib/thinking_sphinx/source/internal_properties.rb +46 -0
  134. data/lib/thinking_sphinx/source/sql.rb +127 -0
  135. data/lib/thinking_sphinx/tasks.rb +165 -0
  136. data/rails/init.rb +14 -0
  137. data/spec/lib/thinking_sphinx/active_record/delta_spec.rb +130 -0
  138. data/spec/lib/thinking_sphinx/active_record/has_many_association_spec.rb +49 -0
  139. data/spec/lib/thinking_sphinx/active_record/scopes_spec.rb +96 -0
  140. data/spec/lib/thinking_sphinx/active_record_spec.rb +353 -0
  141. data/spec/lib/thinking_sphinx/association_spec.rb +239 -0
  142. data/spec/lib/thinking_sphinx/attribute_spec.rb +507 -0
  143. data/spec/lib/thinking_sphinx/configuration_spec.rb +268 -0
  144. data/spec/lib/thinking_sphinx/core/array_spec.rb +9 -0
  145. data/spec/lib/thinking_sphinx/core/string_spec.rb +9 -0
  146. data/spec/lib/thinking_sphinx/deltas/job_spec.rb +32 -0
  147. data/spec/lib/thinking_sphinx/excerpter_spec.rb +57 -0
  148. data/spec/lib/thinking_sphinx/facet_search_spec.rb +176 -0
  149. data/spec/lib/thinking_sphinx/facet_spec.rb +333 -0
  150. data/spec/lib/thinking_sphinx/field_spec.rb +154 -0
  151. data/spec/lib/thinking_sphinx/index/builder_spec.rb +455 -0
  152. data/spec/lib/thinking_sphinx/index/faux_column_spec.rb +30 -0
  153. data/spec/lib/thinking_sphinx/index_spec.rb +45 -0
  154. data/spec/lib/thinking_sphinx/rails_additions_spec.rb +203 -0
  155. data/spec/lib/thinking_sphinx/search_methods_spec.rb +152 -0
  156. data/spec/lib/thinking_sphinx/search_spec.rb +1101 -0
  157. data/spec/lib/thinking_sphinx/source_spec.rb +227 -0
  158. data/spec/lib/thinking_sphinx_spec.rb +162 -0
  159. data/tasks/distribution.rb +55 -0
  160. data/tasks/rails.rake +1 -0
  161. data/tasks/testing.rb +83 -0
  162. data/vendor/after_commit/LICENSE +20 -0
  163. data/vendor/after_commit/README +16 -0
  164. data/vendor/after_commit/Rakefile +22 -0
  165. data/vendor/after_commit/init.rb +8 -0
  166. data/vendor/after_commit/lib/after_commit.rb +45 -0
  167. data/vendor/after_commit/lib/after_commit/active_record.rb +114 -0
  168. data/vendor/after_commit/lib/after_commit/connection_adapters.rb +103 -0
  169. data/vendor/after_commit/test/after_commit_test.rb +53 -0
  170. data/vendor/delayed_job/lib/delayed/job.rb +251 -0
  171. data/vendor/delayed_job/lib/delayed/message_sending.rb +7 -0
  172. data/vendor/delayed_job/lib/delayed/performable_method.rb +55 -0
  173. data/vendor/delayed_job/lib/delayed/worker.rb +54 -0
  174. data/vendor/riddle/lib/riddle.rb +30 -0
  175. data/vendor/riddle/lib/riddle/client.rb +635 -0
  176. data/vendor/riddle/lib/riddle/client/filter.rb +53 -0
  177. data/vendor/riddle/lib/riddle/client/message.rb +66 -0
  178. data/vendor/riddle/lib/riddle/client/response.rb +84 -0
  179. data/vendor/riddle/lib/riddle/configuration.rb +33 -0
  180. data/vendor/riddle/lib/riddle/configuration/distributed_index.rb +48 -0
  181. data/vendor/riddle/lib/riddle/configuration/index.rb +142 -0
  182. data/vendor/riddle/lib/riddle/configuration/indexer.rb +19 -0
  183. data/vendor/riddle/lib/riddle/configuration/remote_index.rb +17 -0
  184. data/vendor/riddle/lib/riddle/configuration/searchd.rb +25 -0
  185. data/vendor/riddle/lib/riddle/configuration/section.rb +43 -0
  186. data/vendor/riddle/lib/riddle/configuration/source.rb +23 -0
  187. data/vendor/riddle/lib/riddle/configuration/sql_source.rb +34 -0
  188. data/vendor/riddle/lib/riddle/configuration/xml_source.rb +28 -0
  189. data/vendor/riddle/lib/riddle/controller.rb +53 -0
  190. metadata +267 -0
@@ -0,0 +1,17 @@
1
+ module Riddle
2
+ class Configuration
3
+ class RemoteIndex
4
+ attr_accessor :address, :port, :name
5
+
6
+ def initialize(address, port, name)
7
+ @address = address
8
+ @port = port
9
+ @name = name
10
+ end
11
+
12
+ def remote
13
+ "#{address}:#{port}"
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,25 @@
1
+ module Riddle
2
+ class Configuration
3
+ class Searchd < Riddle::Configuration::Section
4
+ self.settings = [:address, :port, :log, :query_log, :read_timeout,
5
+ :max_children, :pid_file, :max_matches, :seamless_rotate,
6
+ :preopen_indexes, :unlink_old]
7
+
8
+ attr_accessor *self.settings
9
+
10
+ def render
11
+ raise ConfigurationError unless valid?
12
+
13
+ (
14
+ ["searchd", "{"] +
15
+ settings_body +
16
+ ["}", ""]
17
+ ).join("\n")
18
+ end
19
+
20
+ def valid?
21
+ !( @port.nil? || @pid_file.nil? )
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,43 @@
1
+ module Riddle
2
+ class Configuration
3
+ class Section
4
+ class << self
5
+ attr_accessor :settings
6
+ end
7
+
8
+ settings = []
9
+
10
+ def valid?
11
+ true
12
+ end
13
+
14
+ private
15
+
16
+ def settings_body
17
+ self.class.settings.select { |setting|
18
+ !send(setting).nil?
19
+ }.collect { |setting|
20
+ if send(setting) == ""
21
+ conf = " #{setting} = "
22
+ else
23
+ conf = setting_to_array(setting).collect { |set|
24
+ " #{setting} = #{set}"
25
+ }
26
+ end
27
+ conf.length == 0 ? nil : conf
28
+ }.flatten.compact
29
+ end
30
+
31
+ def setting_to_array(setting)
32
+ value = send(setting)
33
+ case value
34
+ when Array then value
35
+ when TrueClass then [1]
36
+ when FalseClass then [0]
37
+ else
38
+ [value]
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,23 @@
1
+ module Riddle
2
+ class Configuration
3
+ class Source < Riddle::Configuration::Section
4
+ attr_accessor :name, :parent, :type
5
+
6
+ def render
7
+ raise ConfigurationError unless valid?
8
+
9
+ inherited_name = "#{name}"
10
+ inherited_name << " : #{parent}" if parent
11
+ (
12
+ ["source #{inherited_name}", "{"] +
13
+ settings_body +
14
+ ["}", ""]
15
+ ).join("\n")
16
+ end
17
+
18
+ def valid?
19
+ !( @name.nil? || @type.nil? )
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,34 @@
1
+ module Riddle
2
+ class Configuration
3
+ class SQLSource < Riddle::Configuration::Source
4
+ self.settings = [:type, :sql_host, :sql_user, :sql_pass, :sql_db,
5
+ :sql_port, :sql_sock, :mysql_connect_flags, :sql_query_pre, :sql_query,
6
+ :sql_query_range, :sql_range_step, :sql_attr_uint, :sql_attr_bool,
7
+ :sql_attr_timestamp, :sql_attr_str2ordinal, :sql_attr_float,
8
+ :sql_attr_multi, :sql_query_post, :sql_query_post_index,
9
+ :sql_ranged_throttle, :sql_query_info]
10
+
11
+ attr_accessor *self.settings
12
+
13
+ def initialize(name, type)
14
+ @name = name
15
+ @type = type
16
+
17
+ @sql_query_pre = []
18
+ @sql_attr_uint = []
19
+ @sql_attr_bool = []
20
+ @sql_attr_timestamp = []
21
+ @sql_attr_str2ordinal = []
22
+ @sql_attr_float = []
23
+ @sql_attr_multi = []
24
+ @sql_query_post = []
25
+ @sql_query_post_index = []
26
+ end
27
+
28
+ def valid?
29
+ super && (!( @sql_host.nil? || @sql_user.nil? || @sql_db.nil? ||
30
+ @sql_query.nil? ) || !@parent.nil?)
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,28 @@
1
+ module Riddle
2
+ class Configuration
3
+ class XMLSource < Riddle::Configuration::Source
4
+ self.settings = [:type, :xmlpipe_command, :xmlpipe_field,
5
+ :xmlpipe_attr_uint, :xmlpipe_attr_bool, :xmlpipe_attr_timestamp,
6
+ :xmlpipe_attr_str2ordinal, :xmlpipe_attr_float, :xmlpipe_attr_multi]
7
+
8
+ attr_accessor *self.settings
9
+
10
+ def initialize(name, type)
11
+ @name = name
12
+ @type = type
13
+
14
+ @xmlpipe_field = []
15
+ @xmlpipe_attr_uint = []
16
+ @xmlpipe_attr_bool = []
17
+ @xmlpipe_attr_timestamp = []
18
+ @xmlpipe_attr_str2ordinal = []
19
+ @xmlpipe_attr_float = []
20
+ @xmlpipe_attr_multi = []
21
+ end
22
+
23
+ def valid?
24
+ super && ( !@xmlpipe_command.nil? || !parent.nil? )
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,53 @@
1
+ module Riddle
2
+ class Controller
3
+ def initialize(configuration, path)
4
+ @configuration = configuration
5
+ @path = path
6
+ end
7
+
8
+ def index
9
+ cmd = "indexer --config #{@path} --all"
10
+ cmd << " --rotate" if running?
11
+ `#{cmd}`
12
+ end
13
+
14
+ def start
15
+ return if running?
16
+
17
+ cmd = "searchd --pidfile --config #{@path}"
18
+
19
+ if RUBY_PLATFORM =~ /mswin/
20
+ system("start /B #{cmd} 1> NUL 2>&1")
21
+ else
22
+ `#{cmd}`
23
+ end
24
+
25
+ sleep(1)
26
+
27
+ unless running?
28
+ puts "Failed to start searchd daemon. Check #{@configuration.searchd.log}."
29
+ end
30
+ end
31
+
32
+ def stop
33
+ return unless running?
34
+ Process.kill('SIGTERM', pid.to_i)
35
+ rescue Errno::EINVAL
36
+ Process.kill('SIGKILL', pid.to_i)
37
+ end
38
+
39
+ def pid
40
+ if File.exists?(@configuration.searchd.pid_file)
41
+ File.read(@configuration.searchd.pid_file)[/\d+/]
42
+ else
43
+ nil
44
+ end
45
+ end
46
+
47
+ def running?
48
+ !!pid && !!Process.kill(0, pid.to_i)
49
+ rescue
50
+ false
51
+ end
52
+ end
53
+ end
metadata ADDED
@@ -0,0 +1,267 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: warp-thinking-sphinx
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.12
5
+ platform: ruby
6
+ authors:
7
+ - Pat Allan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-23 00:00:00 +08:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.15.6
24
+ version:
25
+ description: A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.
26
+ email: pat@freelancing-gods.com
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - README.textile
33
+ files:
34
+ - LICENCE
35
+ - README.textile
36
+ - VERSION.yml
37
+ - lib/thinking_sphinx.rb
38
+ - lib/thinking_sphinx/active_record.rb
39
+ - lib/thinking_sphinx/active_record/attribute_updates.rb
40
+ - lib/thinking_sphinx/active_record/delta.rb
41
+ - lib/thinking_sphinx/active_record/has_many_association.rb
42
+ - lib/thinking_sphinx/active_record/scopes.rb
43
+ - lib/thinking_sphinx/adapters/abstract_adapter.rb
44
+ - lib/thinking_sphinx/adapters/mysql_adapter.rb
45
+ - lib/thinking_sphinx/adapters/postgresql_adapter.rb
46
+ - lib/thinking_sphinx/association.rb
47
+ - lib/thinking_sphinx/attribute.rb
48
+ - lib/thinking_sphinx/class_facet.rb
49
+ - lib/thinking_sphinx/configuration.rb
50
+ - lib/thinking_sphinx/core/array.rb
51
+ - lib/thinking_sphinx/core/string.rb
52
+ - lib/thinking_sphinx/deltas.rb
53
+ - lib/thinking_sphinx/deltas/datetime_delta.rb
54
+ - lib/thinking_sphinx/deltas/default_delta.rb
55
+ - lib/thinking_sphinx/deltas/delayed_delta.rb
56
+ - lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb
57
+ - lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb
58
+ - lib/thinking_sphinx/deltas/delayed_delta/job.rb
59
+ - lib/thinking_sphinx/deploy/capistrano.rb
60
+ - lib/thinking_sphinx/excerpter.rb
61
+ - lib/thinking_sphinx/facet.rb
62
+ - lib/thinking_sphinx/facet_search.rb
63
+ - lib/thinking_sphinx/field.rb
64
+ - lib/thinking_sphinx/index.rb
65
+ - lib/thinking_sphinx/index/builder.rb
66
+ - lib/thinking_sphinx/index/faux_column.rb
67
+ - lib/thinking_sphinx/property.rb
68
+ - lib/thinking_sphinx/rails_additions.rb
69
+ - lib/thinking_sphinx/search.rb
70
+ - lib/thinking_sphinx/search_methods.rb
71
+ - lib/thinking_sphinx/source.rb
72
+ - lib/thinking_sphinx/source/internal_properties.rb
73
+ - lib/thinking_sphinx/source/sql.rb
74
+ - lib/thinking_sphinx/tasks.rb
75
+ - rails/init.rb
76
+ - tasks/distribution.rb
77
+ - tasks/rails.rake
78
+ - tasks/testing.rb
79
+ - vendor/after_commit/LICENSE
80
+ - vendor/after_commit/README
81
+ - vendor/after_commit/Rakefile
82
+ - vendor/after_commit/init.rb
83
+ - vendor/after_commit/lib/after_commit.rb
84
+ - vendor/after_commit/lib/after_commit/active_record.rb
85
+ - vendor/after_commit/lib/after_commit/connection_adapters.rb
86
+ - vendor/after_commit/test/after_commit_test.rb
87
+ - vendor/delayed_job/lib/delayed/job.rb
88
+ - vendor/delayed_job/lib/delayed/message_sending.rb
89
+ - vendor/delayed_job/lib/delayed/performable_method.rb
90
+ - vendor/delayed_job/lib/delayed/worker.rb
91
+ - vendor/riddle/lib/riddle.rb
92
+ - vendor/riddle/lib/riddle/client.rb
93
+ - vendor/riddle/lib/riddle/client/filter.rb
94
+ - vendor/riddle/lib/riddle/client/message.rb
95
+ - vendor/riddle/lib/riddle/client/response.rb
96
+ - vendor/riddle/lib/riddle/configuration.rb
97
+ - vendor/riddle/lib/riddle/configuration/distributed_index.rb
98
+ - vendor/riddle/lib/riddle/configuration/index.rb
99
+ - vendor/riddle/lib/riddle/configuration/indexer.rb
100
+ - vendor/riddle/lib/riddle/configuration/remote_index.rb
101
+ - vendor/riddle/lib/riddle/configuration/searchd.rb
102
+ - vendor/riddle/lib/riddle/configuration/section.rb
103
+ - vendor/riddle/lib/riddle/configuration/source.rb
104
+ - vendor/riddle/lib/riddle/configuration/sql_source.rb
105
+ - vendor/riddle/lib/riddle/configuration/xml_source.rb
106
+ - vendor/riddle/lib/riddle/controller.rb
107
+ has_rdoc: true
108
+ homepage: http://ts.freelancing-gods.com
109
+ licenses: []
110
+
111
+ post_install_message: |+
112
+ With the release of Thinking Sphinx 1.1.18, there is one important change to
113
+ note: previously, the default morphology for indexing was 'stem_en'. The new
114
+ default is nil, to avoid any unexpected behavior. If you wish to keep the old
115
+ value though, you will need to add the following settings to your
116
+ config/sphinx.yml file:
117
+
118
+ development:
119
+ morphology: stem_en
120
+ test:
121
+ morphology: stem_en
122
+ production:
123
+ morphology: stem_en
124
+
125
+ To understand morphologies/stemmers better, visit the following link:
126
+ http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
127
+
128
+ rdoc_options:
129
+ - --charset=UTF-8
130
+ require_paths:
131
+ - lib
132
+ required_ruby_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: "0"
137
+ version:
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: "0"
143
+ version:
144
+ requirements: []
145
+
146
+ rubyforge_project:
147
+ rubygems_version: 1.3.5
148
+ signing_key:
149
+ specification_version: 3
150
+ summary: ActiveRecord/Rails Sphinx library
151
+ test_files:
152
+ - features/a.rb
153
+ - features/attribute_transformation.feature
154
+ - features/attribute_updates.feature
155
+ - features/datetime_deltas.feature
156
+ - features/delayed_delta_indexing.feature
157
+ - features/deleting_instances.feature
158
+ - features/extensible_delta_indexing.feature
159
+ - features/facets.feature
160
+ - features/facets_across_model.feature
161
+ - features/handling_edits.feature
162
+ - features/retry_stale_indexes.feature
163
+ - features/searching_across_models.feature
164
+ - features/searching_by_model.feature
165
+ - features/searching_with_find_arguments.feature
166
+ - features/sphinx_detection.feature
167
+ - features/step_definitions/alpha_steps.rb
168
+ - features/step_definitions/beta_steps.rb
169
+ - features/step_definitions/common_steps.rb
170
+ - features/step_definitions/datetime_delta_steps.rb
171
+ - features/step_definitions/delayed_delta_indexing_steps.rb
172
+ - features/step_definitions/extensible_delta_indexing_steps.rb
173
+ - features/step_definitions/facet_steps.rb
174
+ - features/step_definitions/find_arguments_steps.rb
175
+ - features/step_definitions/gamma_steps.rb
176
+ - features/step_definitions/search_steps.rb
177
+ - features/step_definitions/sphinx_steps.rb
178
+ - features/step_definitions/scope_steps.rb
179
+ - features/sti_searching.feature
180
+ - features/support/db/active_record.rb
181
+ - features/support/db/database.example.yml
182
+ - features/support/db/fixtures/alphas.rb
183
+ - features/support/db/fixtures/betas.rb
184
+ - features/support/db/fixtures/boxes.rb
185
+ - features/support/db/fixtures/categories.rb
186
+ - features/support/db/fixtures/cats.rb
187
+ - features/support/db/fixtures/comments.rb
188
+ - features/support/db/fixtures/delayed_betas.rb
189
+ - features/support/db/fixtures/developers.rb
190
+ - features/support/db/fixtures/dogs.rb
191
+ - features/support/db/fixtures/extensible_betas.rb
192
+ - features/support/db/fixtures/gammas.rb
193
+ - features/support/db/fixtures/people.rb
194
+ - features/support/db/fixtures/posts.rb
195
+ - features/support/db/fixtures/tags.rb
196
+ - features/support/db/fixtures/thetas.rb
197
+ - features/support/db/fixtures/authors.rb
198
+ - features/support/db/fixtures/robots.rb
199
+ - features/support/db/migrations/create_alphas.rb
200
+ - features/support/db/migrations/create_animals.rb
201
+ - features/support/db/migrations/create_betas.rb
202
+ - features/support/db/migrations/create_boxes.rb
203
+ - features/support/db/migrations/create_categories.rb
204
+ - features/support/db/migrations/create_comments.rb
205
+ - features/support/db/migrations/create_delayed_betas.rb
206
+ - features/support/db/migrations/create_developers.rb
207
+ - features/support/db/migrations/create_extensible_betas.rb
208
+ - features/support/db/migrations/create_gammas.rb
209
+ - features/support/db/migrations/create_people.rb
210
+ - features/support/db/migrations/create_posts.rb
211
+ - features/support/db/migrations/create_taggings.rb
212
+ - features/support/db/migrations/create_tags.rb
213
+ - features/support/db/migrations/create_thetas.rb
214
+ - features/support/db/migrations/create_authors.rb
215
+ - features/support/db/migrations/create_authors_posts.rb
216
+ - features/support/db/migrations/create_robots.rb
217
+ - features/support/db/mysql.rb
218
+ - features/support/db/postgresql.rb
219
+ - features/support/env.rb
220
+ - features/support/lib/generic_delta_handler.rb
221
+ - features/support/models/alpha.rb
222
+ - features/support/models/animal.rb
223
+ - features/support/models/beta.rb
224
+ - features/support/models/box.rb
225
+ - features/support/models/cat.rb
226
+ - features/support/models/category.rb
227
+ - features/support/models/comment.rb
228
+ - features/support/models/delayed_beta.rb
229
+ - features/support/models/developer.rb
230
+ - features/support/models/dog.rb
231
+ - features/support/models/extensible_beta.rb
232
+ - features/support/models/gamma.rb
233
+ - features/support/models/person.rb
234
+ - features/support/models/post.rb
235
+ - features/support/models/tag.rb
236
+ - features/support/models/tagging.rb
237
+ - features/support/models/theta.rb
238
+ - features/support/models/author.rb
239
+ - features/support/models/robot.rb
240
+ - features/support/post_database.rb
241
+ - features/support/z.rb
242
+ - features/alternate_primary_key.feature
243
+ - features/direct_attributes.feature
244
+ - features/excerpts.feature
245
+ - features/sphinx_scopes.feature
246
+ - spec/lib/thinking_sphinx/active_record/delta_spec.rb
247
+ - spec/lib/thinking_sphinx/active_record/has_many_association_spec.rb
248
+ - spec/lib/thinking_sphinx/active_record/scopes_spec.rb
249
+ - spec/lib/thinking_sphinx/active_record_spec.rb
250
+ - spec/lib/thinking_sphinx/association_spec.rb
251
+ - spec/lib/thinking_sphinx/attribute_spec.rb
252
+ - spec/lib/thinking_sphinx/configuration_spec.rb
253
+ - spec/lib/thinking_sphinx/core/array_spec.rb
254
+ - spec/lib/thinking_sphinx/core/string_spec.rb
255
+ - spec/lib/thinking_sphinx/deltas/job_spec.rb
256
+ - spec/lib/thinking_sphinx/excerpter_spec.rb
257
+ - spec/lib/thinking_sphinx/facet_search_spec.rb
258
+ - spec/lib/thinking_sphinx/facet_spec.rb
259
+ - spec/lib/thinking_sphinx/field_spec.rb
260
+ - spec/lib/thinking_sphinx/index/builder_spec.rb
261
+ - spec/lib/thinking_sphinx/index/faux_column_spec.rb
262
+ - spec/lib/thinking_sphinx/index_spec.rb
263
+ - spec/lib/thinking_sphinx/rails_additions_spec.rb
264
+ - spec/lib/thinking_sphinx/search_methods_spec.rb
265
+ - spec/lib/thinking_sphinx/search_spec.rb
266
+ - spec/lib/thinking_sphinx/source_spec.rb
267
+ - spec/lib/thinking_sphinx_spec.rb