groonga-client-rails 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/text/news.md +7 -0
- data/lib/groonga/client/rails/version.rb +1 -1
- data/lib/groonga/client/searcher.rb +2 -0
- data/lib/groonga/client/searcher/schema.rb +9 -0
- data/lib/groonga/client/searcher/schema_synchronizer.rb +3 -0
- metadata +1 -3
- data/test/apps/rails5-activerecord/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ca5a60fd3fca5df8832cd9c8be6683466666614
|
|
4
|
+
data.tar.gz: 7da2fe87adb1ba2e2b2c9f0bee00edcb84581a0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 114bb69be2a9d780fc5d4864f4f16fd902902046fa8895bd54a1174f64c96b2245425e255d93aad06984be15e0ea4e087bab119f65907fc18596eba53d7c82f7
|
|
7
|
+
data.tar.gz: 220a17172ebb90296290974f7232a56f3e54a9878155a7b9b45b6d70779f1168bbd5ff6b20fa48b752957ef89776dd32fcfc7138dcaa3b5ee0c4a016cc9f6b13
|
data/doc/text/news.md
CHANGED
|
@@ -149,6 +149,8 @@ module Groonga
|
|
|
149
149
|
schema.columns.each do |name, column|
|
|
150
150
|
if column.have_full_text_search_index?
|
|
151
151
|
full_text_searchable_column_names << name
|
|
152
|
+
elsif column.have_index? and column.vector?
|
|
153
|
+
full_text_searchable_column_names << name
|
|
152
154
|
end
|
|
153
155
|
end
|
|
154
156
|
extensions = [SelectRequest]
|
|
@@ -98,6 +98,9 @@ module Groonga
|
|
|
98
98
|
parameters[:normalizer] = "NormalizerAuto"
|
|
99
99
|
else
|
|
100
100
|
parameters[:key_type] = column.type
|
|
101
|
+
if column.text_family_type?
|
|
102
|
+
parameters[:normalizer] = "NormalizerAuto"
|
|
103
|
+
end
|
|
101
104
|
end
|
|
102
105
|
Client.open do |client|
|
|
103
106
|
client.table_create(parameters)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groonga-client-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
@@ -481,7 +481,6 @@ files:
|
|
|
481
481
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/z6/z6juZG91PfdGTEhEife_MlutAwyoheFYa52JtbCUvBM.cache
|
|
482
482
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/zh/zhmfmdnnow0QqwfT_7IXfN-FAU8qAMm03N7XQjFct6E.cache
|
|
483
483
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/zz/zzyY0k_acKQ2rB0GJcjv6jioH5c2iq-jMM_qIhbfdnI.cache
|
|
484
|
-
- test/apps/rails5-activerecord/tmp/pids/server.pid
|
|
485
484
|
- test/apps/rails5-activerecord/tmp/restart.txt
|
|
486
485
|
- test/run-test.rb
|
|
487
486
|
- test/unit/run-test.rb
|
|
@@ -839,7 +838,6 @@ test_files:
|
|
|
839
838
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/DY/DYQB1uQOZWEQCZyNqRYGbp3TUGnhwGln6l0LJxvfdSM.cache
|
|
840
839
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/zh/zhmfmdnnow0QqwfT_7IXfN-FAU8qAMm03N7XQjFct6E.cache
|
|
841
840
|
- test/apps/rails5-activerecord/tmp/cache/assets/sprockets/v3.0/s8/s85RambnXGg0AXRuWcCg0nv0_yQuuimoB-efYJZXR_g.cache
|
|
842
|
-
- test/apps/rails5-activerecord/tmp/pids/server.pid
|
|
843
841
|
- test/run-test.rb
|
|
844
842
|
- test/unit/run-test.rb
|
|
845
843
|
- test/unit/test_helper.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
15026
|