ebeigarts-thinking-sphinx 1.1.22 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +14 -0
- data/VERSION.yml +4 -0
- data/lib/thinking_sphinx.rb +60 -64
- data/lib/thinking_sphinx/active_record.rb +35 -7
- data/lib/thinking_sphinx/active_record/scopes.rb +39 -0
- data/lib/thinking_sphinx/adapters/postgresql_adapter.rb +3 -2
- data/lib/thinking_sphinx/attribute.rb +62 -22
- data/lib/thinking_sphinx/configuration.rb +21 -1
- data/lib/thinking_sphinx/core/array.rb +7 -0
- data/lib/thinking_sphinx/deltas/delayed_delta.rb +3 -0
- data/lib/thinking_sphinx/deploy/capistrano.rb +26 -8
- data/lib/thinking_sphinx/excerpter.rb +22 -0
- data/lib/thinking_sphinx/facet.rb +8 -2
- data/lib/thinking_sphinx/facet_search.rb +134 -0
- data/lib/thinking_sphinx/index.rb +2 -2
- data/lib/thinking_sphinx/index/builder.rb +0 -1
- data/lib/thinking_sphinx/property.rb +2 -0
- data/lib/thinking_sphinx/rails_additions.rb +14 -0
- data/lib/thinking_sphinx/search.rb +633 -671
- data/lib/thinking_sphinx/search_methods.rb +421 -0
- data/lib/thinking_sphinx/source.rb +5 -5
- data/lib/thinking_sphinx/source/internal_properties.rb +1 -1
- data/lib/thinking_sphinx/source/sql.rb +10 -8
- data/lib/thinking_sphinx/tasks.rb +14 -9
- data/spec/{unit → lib}/thinking_sphinx/active_record/delta_spec.rb +1 -1
- data/spec/{unit → lib}/thinking_sphinx/active_record/has_many_association_spec.rb +0 -0
- data/spec/lib/thinking_sphinx/active_record/scopes_spec.rb +96 -0
- data/spec/{unit → lib}/thinking_sphinx/active_record_spec.rb +44 -5
- data/spec/{unit → lib}/thinking_sphinx/association_spec.rb +0 -0
- data/spec/{unit → lib}/thinking_sphinx/attribute_spec.rb +110 -3
- data/spec/{unit → lib}/thinking_sphinx/configuration_spec.rb +87 -41
- data/spec/lib/thinking_sphinx/core/array_spec.rb +9 -0
- data/spec/{unit → lib}/thinking_sphinx/core/string_spec.rb +0 -0
- data/spec/lib/thinking_sphinx/excerpter_spec.rb +49 -0
- data/spec/lib/thinking_sphinx/facet_search_spec.rb +176 -0
- data/spec/{unit → lib}/thinking_sphinx/facet_spec.rb +34 -15
- data/spec/{unit → lib}/thinking_sphinx/field_spec.rb +0 -0
- data/spec/{unit → lib}/thinking_sphinx/index/builder_spec.rb +100 -0
- data/spec/{unit → lib}/thinking_sphinx/index/faux_column_spec.rb +0 -0
- data/spec/{unit → lib}/thinking_sphinx/index_spec.rb +0 -0
- data/spec/{unit → lib}/thinking_sphinx/rails_additions_spec.rb +12 -0
- data/spec/lib/thinking_sphinx/search_methods_spec.rb +152 -0
- data/spec/lib/thinking_sphinx/search_spec.rb +1066 -0
- data/spec/{unit → lib}/thinking_sphinx/source_spec.rb +10 -0
- data/spec/{unit → lib}/thinking_sphinx_spec.rb +10 -0
- data/tasks/distribution.rb +20 -38
- data/tasks/testing.rb +3 -1
- data/vendor/riddle/lib/riddle.rb +1 -1
- data/vendor/riddle/lib/riddle/client.rb +3 -0
- data/vendor/riddle/lib/riddle/client/message.rb +4 -3
- data/vendor/riddle/lib/riddle/configuration/section.rb +1 -1
- data/vendor/riddle/lib/riddle/controller.rb +17 -7
- metadata +63 -83
- data/lib/thinking_sphinx/active_record/search.rb +0 -57
- data/lib/thinking_sphinx/collection.rb +0 -148
- data/lib/thinking_sphinx/facet_collection.rb +0 -59
- data/lib/thinking_sphinx/search/facets.rb +0 -104
- data/spec/unit/thinking_sphinx/active_record/search_spec.rb +0 -107
- data/spec/unit/thinking_sphinx/collection_spec.rb +0 -15
- data/spec/unit/thinking_sphinx/facet_collection_spec.rb +0 -64
- data/spec/unit/thinking_sphinx/search_spec.rb +0 -228
@@ -72,6 +72,16 @@ describe ThinkingSphinx::Source do
|
|
72
72
|
@riddle.sql_sock.should == config[:socket]
|
73
73
|
end
|
74
74
|
|
75
|
+
it "should use a default username of root if nothing else is provided" do
|
76
|
+
Person.connection.stub!(:instance_variable_get => {
|
77
|
+
:user => nil,
|
78
|
+
:username => nil
|
79
|
+
})
|
80
|
+
|
81
|
+
riddle = @source.to_riddle_for_core(1, 0)
|
82
|
+
riddle.sql_user.should == 'root'
|
83
|
+
end
|
84
|
+
|
75
85
|
it "should assign attributes" do
|
76
86
|
# 3 internal attributes plus the one requested
|
77
87
|
@riddle.sql_attr_uint.length.should == 4
|
@@ -67,6 +67,16 @@ describe ThinkingSphinx do
|
|
67
67
|
ThinkingSphinx.sphinx_running?.should be_true
|
68
68
|
end
|
69
69
|
|
70
|
+
describe '.version' do
|
71
|
+
it "should return the version from the stored YAML file" do
|
72
|
+
version = Jeweler::VersionHelper.new(
|
73
|
+
File.join(File.dirname(__FILE__), '../..')
|
74
|
+
).to_s
|
75
|
+
|
76
|
+
ThinkingSphinx.version.should == version
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
70
80
|
describe "use_group_by_shortcut? method" do
|
71
81
|
before :each do
|
72
82
|
adapter = defined?(JRUBY_VERSION) ? :JdbcAdapter : :MysqlAdapter
|
data/tasks/distribution.rb
CHANGED
@@ -1,41 +1,34 @@
|
|
1
|
-
require '
|
2
|
-
require '
|
3
|
-
|
4
|
-
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
|
5
|
-
require 'thinking_sphinx'
|
1
|
+
require 'yard'
|
2
|
+
require 'jeweler'
|
6
3
|
|
7
4
|
desc 'Generate documentation'
|
8
|
-
Rake::
|
9
|
-
|
10
|
-
rdoc.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin'
|
11
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
12
|
-
rdoc.rdoc_files.include('README')
|
13
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
5
|
+
YARD::Rake::YardocTask.new do |t|
|
6
|
+
# t.title = 'Thinking Sphinx - ActiveRecord Sphinx Plugin'
|
14
7
|
end
|
15
8
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
s.
|
24
|
-
|
25
|
-
s.rdoc_options << "--title" << "Thinking Sphinx -- Rails/Merb Sphinx Plugin" <<
|
26
|
-
"--line-numbers"
|
27
|
-
s.rubyforge_project = "thinking-sphinx"
|
28
|
-
s.test_files = FileList["spec/**/*_spec.rb"]
|
29
|
-
s.files = FileList[
|
9
|
+
Jeweler::Tasks.new do |gem|
|
10
|
+
gem.name = "thinking-sphinx"
|
11
|
+
gem.summary = "A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching."
|
12
|
+
gem.author = "Pat Allan"
|
13
|
+
gem.email = "pat@freelancing-gods.com"
|
14
|
+
gem.homepage = "http://ts.freelancing-gods.com"
|
15
|
+
|
16
|
+
# s.rubyforge_project = "thinking-sphinx"
|
17
|
+
gem.files = FileList[
|
30
18
|
"rails/*.rb",
|
31
19
|
"lib/**/*.rb",
|
32
20
|
"LICENCE",
|
33
21
|
"README.textile",
|
34
22
|
"tasks/**/*.rb",
|
35
23
|
"tasks/**/*.rake",
|
36
|
-
"vendor/**/*"
|
24
|
+
"vendor/**/*",
|
25
|
+
"VERSION.yml"
|
37
26
|
]
|
38
|
-
|
27
|
+
gem.test_files = FileList["spec/**/*_spec.rb"]
|
28
|
+
|
29
|
+
gem.add_dependency 'activerecord', '>= 1.15.6'
|
30
|
+
|
31
|
+
gem.post_install_message = <<-MESSAGE
|
39
32
|
With the release of Thinking Sphinx 1.1.18, there is one important change to
|
40
33
|
note: previously, the default morphology for indexing was 'stem_en'. The new
|
41
34
|
default is nil, to avoid any unexpected behavior. If you wish to keep the old
|
@@ -54,14 +47,3 @@ http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
|
|
54
47
|
|
55
48
|
MESSAGE
|
56
49
|
end
|
57
|
-
|
58
|
-
Rake::GemPackageTask.new(spec) do |p|
|
59
|
-
p.gem_spec = spec
|
60
|
-
p.need_tar = true
|
61
|
-
p.need_zip = true
|
62
|
-
end
|
63
|
-
|
64
|
-
desc "Build gemspec file"
|
65
|
-
task :build do
|
66
|
-
File.open('thinking-sphinx.gemspec', 'w') { |f| f.write spec.to_ruby }
|
67
|
-
end
|
data/tasks/testing.rb
CHANGED
@@ -84,10 +84,12 @@ task :cucumber_defaults do
|
|
84
84
|
end
|
85
85
|
|
86
86
|
namespace :thinking_sphinx do
|
87
|
-
#
|
87
|
+
# Initialize test enviroment for ts:xml rake task
|
88
88
|
task :app_env do
|
89
89
|
# Establish DB connection
|
90
90
|
if ENV['DATABASE']
|
91
|
+
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '../lib')
|
92
|
+
require "thinking_sphinx"
|
91
93
|
database = ENV['DATABASE'].to_s.sub(/jdbc|_enhanced/, '')
|
92
94
|
require "features/support/db/#{database}"
|
93
95
|
require "features/support/db/active_record"
|
data/vendor/riddle/lib/riddle.rb
CHANGED
@@ -18,7 +18,7 @@ module Riddle #:nodoc:
|
|
18
18
|
Rev = 1533
|
19
19
|
# Release number to mark my own fixes, beyond feature parity with
|
20
20
|
# Sphinx itself.
|
21
|
-
Release =
|
21
|
+
Release = 7
|
22
22
|
|
23
23
|
String = [Major, Minor, Tiny].join('.')
|
24
24
|
GemVersion = [Major, Minor, Tiny, Rev, Release].join('.')
|
@@ -10,14 +10,15 @@ module Riddle
|
|
10
10
|
|
11
11
|
# Append raw data (only use if you know what you're doing)
|
12
12
|
def append(*args)
|
13
|
-
return if args.length == 0
|
14
|
-
|
15
13
|
args.each { |arg| @message << arg }
|
16
14
|
end
|
17
15
|
|
18
16
|
# Append a string's length, then the string itself
|
19
17
|
def append_string(str)
|
20
|
-
|
18
|
+
string = str.respond_to?(:force_encoding) ?
|
19
|
+
str.dup.force_encoding('ASCII-8BIT') : str
|
20
|
+
|
21
|
+
@message << [string.send(@size_method)].pack('N') + string
|
21
22
|
end
|
22
23
|
|
23
24
|
# Append an integer
|
@@ -4,18 +4,23 @@ module Riddle
|
|
4
4
|
@configuration = configuration
|
5
5
|
@path = path
|
6
6
|
end
|
7
|
-
|
7
|
+
|
8
8
|
def index
|
9
9
|
cmd = "indexer --config #{@path} --all"
|
10
10
|
cmd << " --rotate" if running?
|
11
11
|
`#{cmd}`
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def start
|
15
15
|
return if running?
|
16
16
|
|
17
17
|
cmd = "searchd --pidfile --config #{@path}"
|
18
|
-
|
18
|
+
|
19
|
+
if RUBY_PLATFORM =~ /mswin/
|
20
|
+
system("start /B #{cmd} 1> NUL 2>&1")
|
21
|
+
else
|
22
|
+
`#{cmd}`
|
23
|
+
end
|
19
24
|
|
20
25
|
sleep(1)
|
21
26
|
|
@@ -26,19 +31,24 @@ module Riddle
|
|
26
31
|
|
27
32
|
def stop
|
28
33
|
return unless running?
|
29
|
-
|
34
|
+
Process.kill('SIGTERM', pid.to_i)
|
35
|
+
rescue Errno::EINVAL
|
36
|
+
Process.kill('SIGKILL', pid.to_i)
|
30
37
|
end
|
31
38
|
|
32
39
|
def pid
|
33
|
-
if File.exists?(
|
34
|
-
|
40
|
+
if File.exists?(@configuration.searchd.pid_file)
|
41
|
+
File.read(@configuration.searchd.pid_file)[/\d+/]
|
35
42
|
else
|
36
43
|
nil
|
37
44
|
end
|
38
45
|
end
|
39
46
|
|
40
47
|
def running?
|
41
|
-
pid &&
|
48
|
+
!!pid && !!Process.kill(0, pid.to_i)
|
49
|
+
rescue
|
50
|
+
false
|
42
51
|
end
|
52
|
+
|
43
53
|
end
|
44
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ebeigarts-thinking-sphinx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pat Allan
|
@@ -9,92 +9,93 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-12 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
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:
|
17
26
|
email: pat@freelancing-gods.com
|
18
27
|
executables: []
|
19
28
|
|
20
29
|
extensions: []
|
21
30
|
|
22
|
-
extra_rdoc_files:
|
23
|
-
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README.textile
|
24
33
|
files:
|
25
|
-
-
|
34
|
+
- LICENCE
|
35
|
+
- README.textile
|
36
|
+
- VERSION.yml
|
37
|
+
- lib/thinking_sphinx.rb
|
38
|
+
- lib/thinking_sphinx/active_record.rb
|
26
39
|
- lib/thinking_sphinx/active_record/attribute_updates.rb
|
27
40
|
- lib/thinking_sphinx/active_record/delta.rb
|
28
41
|
- lib/thinking_sphinx/active_record/has_many_association.rb
|
29
|
-
- lib/thinking_sphinx/active_record/
|
30
|
-
- lib/thinking_sphinx/active_record.rb
|
42
|
+
- lib/thinking_sphinx/active_record/scopes.rb
|
31
43
|
- lib/thinking_sphinx/adapters/abstract_adapter.rb
|
32
44
|
- lib/thinking_sphinx/adapters/mysql_adapter.rb
|
33
|
-
- lib/thinking_sphinx/adapters/sqlite3_adapter.rb
|
34
45
|
- lib/thinking_sphinx/adapters/oracle_adapter.rb
|
35
46
|
- lib/thinking_sphinx/adapters/postgresql_adapter.rb
|
47
|
+
- lib/thinking_sphinx/adapters/sqlite3_adapter.rb
|
36
48
|
- lib/thinking_sphinx/association.rb
|
37
49
|
- lib/thinking_sphinx/attribute.rb
|
38
50
|
- lib/thinking_sphinx/class_facet.rb
|
39
|
-
- lib/thinking_sphinx/collection.rb
|
40
51
|
- lib/thinking_sphinx/configuration.rb
|
52
|
+
- lib/thinking_sphinx/core/array.rb
|
41
53
|
- lib/thinking_sphinx/core/string.rb
|
54
|
+
- lib/thinking_sphinx/deltas.rb
|
42
55
|
- lib/thinking_sphinx/deltas/datetime_delta.rb
|
43
56
|
- lib/thinking_sphinx/deltas/default_delta.rb
|
57
|
+
- lib/thinking_sphinx/deltas/delayed_delta.rb
|
44
58
|
- lib/thinking_sphinx/deltas/delayed_delta/delta_job.rb
|
45
59
|
- lib/thinking_sphinx/deltas/delayed_delta/flag_as_deleted_job.rb
|
46
60
|
- lib/thinking_sphinx/deltas/delayed_delta/job.rb
|
47
|
-
- lib/thinking_sphinx/deltas/delayed_delta.rb
|
48
|
-
- lib/thinking_sphinx/deltas.rb
|
49
61
|
- lib/thinking_sphinx/deploy/capistrano.rb
|
62
|
+
- lib/thinking_sphinx/excerpter.rb
|
50
63
|
- lib/thinking_sphinx/facet.rb
|
51
|
-
- lib/thinking_sphinx/
|
64
|
+
- lib/thinking_sphinx/facet_search.rb
|
52
65
|
- lib/thinking_sphinx/field.rb
|
66
|
+
- lib/thinking_sphinx/index.rb
|
53
67
|
- lib/thinking_sphinx/index/builder.rb
|
54
68
|
- lib/thinking_sphinx/index/faux_column.rb
|
55
|
-
- lib/thinking_sphinx/index.rb
|
56
69
|
- lib/thinking_sphinx/property.rb
|
57
70
|
- lib/thinking_sphinx/rails_additions.rb
|
58
|
-
- lib/thinking_sphinx/search/facets.rb
|
59
71
|
- lib/thinking_sphinx/search.rb
|
72
|
+
- lib/thinking_sphinx/search_methods.rb
|
73
|
+
- lib/thinking_sphinx/source.rb
|
60
74
|
- lib/thinking_sphinx/source/internal_properties.rb
|
61
75
|
- lib/thinking_sphinx/source/sql.rb
|
62
|
-
- lib/thinking_sphinx/source.rb
|
63
76
|
- lib/thinking_sphinx/tasks.rb
|
64
|
-
-
|
65
|
-
- LICENCE
|
66
|
-
- README.textile
|
77
|
+
- rails/init.rb
|
67
78
|
- tasks/distribution.rb
|
68
|
-
- tasks/testing.rb
|
69
79
|
- tasks/rails.rake
|
70
|
-
-
|
80
|
+
- tasks/testing.rb
|
81
|
+
- vendor/after_commit/LICENSE
|
82
|
+
- vendor/after_commit/README
|
83
|
+
- vendor/after_commit/Rakefile
|
71
84
|
- vendor/after_commit/init.rb
|
72
|
-
- vendor/after_commit/lib
|
73
|
-
- vendor/after_commit/lib/after_commit
|
85
|
+
- vendor/after_commit/lib/after_commit.rb
|
74
86
|
- vendor/after_commit/lib/after_commit/active_record.rb
|
75
87
|
- vendor/after_commit/lib/after_commit/connection_adapters.rb
|
76
|
-
- vendor/after_commit/lib/after_commit.rb
|
77
|
-
- vendor/after_commit/LICENSE
|
78
|
-
- vendor/after_commit/Rakefile
|
79
|
-
- vendor/after_commit/README
|
80
|
-
- vendor/after_commit/test
|
81
88
|
- vendor/after_commit/test/after_commit_test.rb
|
82
|
-
- vendor/delayed_job
|
83
|
-
- vendor/delayed_job/lib
|
84
|
-
- vendor/delayed_job/lib/delayed
|
85
89
|
- vendor/delayed_job/lib/delayed/job.rb
|
86
90
|
- vendor/delayed_job/lib/delayed/message_sending.rb
|
87
91
|
- vendor/delayed_job/lib/delayed/performable_method.rb
|
88
92
|
- vendor/delayed_job/lib/delayed/worker.rb
|
89
|
-
- vendor/riddle
|
90
|
-
- vendor/riddle/lib
|
91
|
-
- vendor/riddle/lib/riddle
|
92
|
-
- vendor/riddle/lib/riddle/client
|
93
|
+
- vendor/riddle/lib/riddle.rb
|
94
|
+
- vendor/riddle/lib/riddle/client.rb
|
93
95
|
- vendor/riddle/lib/riddle/client/filter.rb
|
94
96
|
- vendor/riddle/lib/riddle/client/message.rb
|
95
97
|
- vendor/riddle/lib/riddle/client/response.rb
|
96
|
-
- vendor/riddle/lib/riddle/
|
97
|
-
- vendor/riddle/lib/riddle/configuration
|
98
|
+
- vendor/riddle/lib/riddle/configuration.rb
|
98
99
|
- vendor/riddle/lib/riddle/configuration/distributed_index.rb
|
99
100
|
- vendor/riddle/lib/riddle/configuration/index.rb
|
100
101
|
- vendor/riddle/lib/riddle/configuration/indexer.rb
|
@@ -104,28 +105,7 @@ files:
|
|
104
105
|
- vendor/riddle/lib/riddle/configuration/source.rb
|
105
106
|
- vendor/riddle/lib/riddle/configuration/sql_source.rb
|
106
107
|
- vendor/riddle/lib/riddle/configuration/xml_source.rb
|
107
|
-
- vendor/riddle/lib/riddle/configuration.rb
|
108
108
|
- vendor/riddle/lib/riddle/controller.rb
|
109
|
-
- vendor/riddle/lib/riddle.rb
|
110
|
-
- spec/unit/thinking_sphinx/active_record/delta_spec.rb
|
111
|
-
- spec/unit/thinking_sphinx/active_record/has_many_association_spec.rb
|
112
|
-
- spec/unit/thinking_sphinx/active_record/search_spec.rb
|
113
|
-
- spec/unit/thinking_sphinx/active_record_spec.rb
|
114
|
-
- spec/unit/thinking_sphinx/association_spec.rb
|
115
|
-
- spec/unit/thinking_sphinx/attribute_spec.rb
|
116
|
-
- spec/unit/thinking_sphinx/collection_spec.rb
|
117
|
-
- spec/unit/thinking_sphinx/configuration_spec.rb
|
118
|
-
- spec/unit/thinking_sphinx/core/string_spec.rb
|
119
|
-
- spec/unit/thinking_sphinx/facet_collection_spec.rb
|
120
|
-
- spec/unit/thinking_sphinx/facet_spec.rb
|
121
|
-
- spec/unit/thinking_sphinx/field_spec.rb
|
122
|
-
- spec/unit/thinking_sphinx/index/builder_spec.rb
|
123
|
-
- spec/unit/thinking_sphinx/index/faux_column_spec.rb
|
124
|
-
- spec/unit/thinking_sphinx/index_spec.rb
|
125
|
-
- spec/unit/thinking_sphinx/rails_additions_spec.rb
|
126
|
-
- spec/unit/thinking_sphinx/search_spec.rb
|
127
|
-
- spec/unit/thinking_sphinx/source_spec.rb
|
128
|
-
- spec/unit/thinking_sphinx_spec.rb
|
129
109
|
has_rdoc: true
|
130
110
|
homepage: http://ts.freelancing-gods.com
|
131
111
|
licenses:
|
@@ -147,9 +127,7 @@ post_install_message: |+
|
|
147
127
|
http://www.sphinxsearch.com/docs/manual-0.9.8.html#conf-morphology
|
148
128
|
|
149
129
|
rdoc_options:
|
150
|
-
- --
|
151
|
-
- Thinking Sphinx -- Rails/Merb Sphinx Plugin
|
152
|
-
- --line-numbers
|
130
|
+
- --charset=UTF-8
|
153
131
|
require_paths:
|
154
132
|
- lib
|
155
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -166,28 +144,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
144
|
version:
|
167
145
|
requirements: []
|
168
146
|
|
169
|
-
rubyforge_project:
|
147
|
+
rubyforge_project:
|
170
148
|
rubygems_version: 1.3.5
|
171
149
|
signing_key:
|
172
150
|
specification_version: 2
|
173
151
|
summary: A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration, indexing and searching.
|
174
152
|
test_files:
|
175
|
-
- spec/
|
176
|
-
- spec/
|
177
|
-
- spec/
|
178
|
-
- spec/
|
179
|
-
- spec/
|
180
|
-
- spec/
|
181
|
-
- spec/
|
182
|
-
- spec/
|
183
|
-
- spec/
|
184
|
-
- spec/
|
185
|
-
- spec/
|
186
|
-
- spec/
|
187
|
-
- spec/
|
188
|
-
- spec/
|
189
|
-
- spec/
|
190
|
-
- spec/
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
153
|
+
- spec/lib/thinking_sphinx/active_record/delta_spec.rb
|
154
|
+
- spec/lib/thinking_sphinx/active_record/has_many_association_spec.rb
|
155
|
+
- spec/lib/thinking_sphinx/active_record/scopes_spec.rb
|
156
|
+
- spec/lib/thinking_sphinx/active_record_spec.rb
|
157
|
+
- spec/lib/thinking_sphinx/association_spec.rb
|
158
|
+
- spec/lib/thinking_sphinx/attribute_spec.rb
|
159
|
+
- spec/lib/thinking_sphinx/configuration_spec.rb
|
160
|
+
- spec/lib/thinking_sphinx/core/array_spec.rb
|
161
|
+
- spec/lib/thinking_sphinx/core/string_spec.rb
|
162
|
+
- spec/lib/thinking_sphinx/excerpter_spec.rb
|
163
|
+
- spec/lib/thinking_sphinx/facet_search_spec.rb
|
164
|
+
- spec/lib/thinking_sphinx/facet_spec.rb
|
165
|
+
- spec/lib/thinking_sphinx/field_spec.rb
|
166
|
+
- spec/lib/thinking_sphinx/index/builder_spec.rb
|
167
|
+
- spec/lib/thinking_sphinx/index/faux_column_spec.rb
|
168
|
+
- spec/lib/thinking_sphinx/index_spec.rb
|
169
|
+
- spec/lib/thinking_sphinx/rails_additions_spec.rb
|
170
|
+
- spec/lib/thinking_sphinx/search_methods_spec.rb
|
171
|
+
- spec/lib/thinking_sphinx/search_spec.rb
|
172
|
+
- spec/lib/thinking_sphinx/source_spec.rb
|
173
|
+
- spec/lib/thinking_sphinx_spec.rb
|