riddle 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. data/README.textile +8 -18
  2. data/lib/riddle/configuration/index.rb +4 -2
  3. data/lib/riddle/configuration/indexer.rb +2 -1
  4. data/lib/riddle/configuration/searchd.rb +2 -1
  5. data/lib/riddle/configuration/sql_source.rb +2 -1
  6. data/lib/riddle/configuration/xml_source.rb +2 -1
  7. data/spec/fixtures/data/anchor.bin +0 -0
  8. data/spec/fixtures/data/any.bin +0 -0
  9. data/spec/fixtures/data/boolean.bin +0 -0
  10. data/spec/fixtures/data/comment.bin +0 -0
  11. data/spec/fixtures/data/distinct.bin +0 -0
  12. data/spec/fixtures/data/field_weights.bin +0 -0
  13. data/spec/fixtures/data/filter.bin +0 -0
  14. data/spec/fixtures/data/filter_array.bin +0 -0
  15. data/spec/fixtures/data/filter_array_exclude.bin +0 -0
  16. data/spec/fixtures/data/filter_boolean.bin +0 -0
  17. data/spec/fixtures/data/filter_floats.bin +0 -0
  18. data/spec/fixtures/data/filter_floats_exclude.bin +0 -0
  19. data/spec/fixtures/data/filter_range.bin +0 -0
  20. data/spec/fixtures/data/filter_range_exclude.bin +0 -0
  21. data/spec/fixtures/data/group.bin +0 -0
  22. data/spec/fixtures/data/index.bin +0 -0
  23. data/spec/fixtures/data/index_weights.bin +0 -0
  24. data/spec/fixtures/data/keywords_with_hits.bin +0 -0
  25. data/spec/fixtures/data/keywords_without_hits.bin +0 -0
  26. data/spec/fixtures/data/overrides.bin +0 -0
  27. data/spec/fixtures/data/phrase.bin +0 -0
  28. data/spec/fixtures/data/rank_mode.bin +0 -0
  29. data/spec/fixtures/data/select.bin +0 -0
  30. data/spec/fixtures/data/simple.bin +0 -0
  31. data/spec/fixtures/data/sort.bin +0 -0
  32. data/spec/fixtures/data/update_simple.bin +0 -0
  33. data/spec/fixtures/data/weights.bin +0 -0
  34. data/spec/fixtures/sphinx/searchd.log +222 -0
  35. data/spec/fixtures/sphinx/searchd.query.log +60 -0
  36. metadata +29 -2
data/README.textile CHANGED
@@ -1,3 +1,5 @@
1
+ h1. Riddle
2
+
1
3
  This client has been written to interface with "Sphinx":http://sphinxsearch.com/. It is written by
2
4
  "Pat Allan":http://freelancing-gods.com, and has been influenced by both Dmytro Shteflyuk's Ruby
3
5
  client and the original PHP client - credit where credit's due, after all.
@@ -5,28 +7,16 @@ client and the original PHP client - credit where credit's due, after all.
5
7
  It does not follow the same syntax as those two, though (not much point writing this otherwise) -
6
8
  opting for a more Ruby-like structure.
7
9
 
8
- The easiest way to install is to grab the gem from GitHub:
9
-
10
- sudo gem install freelancing-god-riddle --source http://gems.github.com/
11
-
12
- However, if you're so inclined, you can grab sourcecode.
13
-
14
- git clone git://github.com/freelancing-god/thinking-sphinx.git
10
+ h2. Installation
15
11
 
16
- If you're looking for old versions - for older versions of Sphinx - you'll want to peruse the tagged versions in the old subversion repository
12
+ sudo gem install riddle --source http://gemcutter.org
17
13
 
18
- svn co http://rails-oceania.googlecode.com/svn/patallan/riddle/tags riddle-tags
14
+ h3. Usage
19
15
 
20
- Please note that at the time of writing, the following versions are supported (if you get the appropriate tag):
16
+ As of version 1.0.0, Riddle now supports multiple versions of Sphinx in the one gem - you'll need to require your specific version after a normal require, though.
21
17
 
22
- * 0.9.8-r871
23
- * 0.9.8-r909
24
- * 0.9.8-r985
25
- * 0.9.8-r1065
26
- * 0.9.8-r1112
27
- * 0.9.8-rc1 (gem version: 0.9.8.1198)
28
- * 0.9.8-rc2 (gem version: 0.9.8.1231)
29
- * 0.9.8 (gem version: 0.9.8.1371)
18
+ require 'riddle'
19
+ require 'riddle/0.9.9'
30
20
 
31
21
  To get started, just instantiate a Client object:
32
22
 
@@ -8,7 +8,8 @@ module Riddle
8
8
  :ngram_len, :ngram_chars, :phrase_boundary, :phrase_boundary_step,
9
9
  :html_strip, :html_index_attrs, :html_remove_elements, :preopen,
10
10
  :ondisk_dict, :inplace_enable, :inplace_hit_gap, :inplace_docinfo_gap,
11
- :inplace_reloc_factor, :inplace_write_factor, :index_exact_words]
11
+ :inplace_reloc_factor, :inplace_write_factor, :index_exact_words,
12
+ :overshort_step, :stopwords_step]
12
13
 
13
14
  attr_accessor :name, :parent, :sources, :path, :docinfo, :mlock,
14
15
  :morphologies, :min_stemming_len, :stopword_files, :wordform_files,
@@ -18,7 +19,8 @@ module Riddle
18
19
  :ngram_characters, :phrase_boundaries, :phrase_boundary_step,
19
20
  :html_strip, :html_index_attrs, :html_remove_element_tags, :preopen,
20
21
  :ondisk_dict, :inplace_enable, :inplace_hit_gap, :inplace_docinfo_gap,
21
- :inplace_reloc_factor, :inplace_write_factor, :index_exact_words
22
+ :inplace_reloc_factor, :inplace_write_factor, :index_exact_words,
23
+ :overshort_step, :stopwords_step
22
24
 
23
25
  def initialize(name, *sources)
24
26
  @name = name
@@ -1,7 +1,8 @@
1
1
  module Riddle
2
2
  class Configuration
3
3
  class Indexer < Riddle::Configuration::Section
4
- self.settings = [:mem_limit, :max_iops, :max_iosize]
4
+ self.settings = [:mem_limit, :max_iops, :max_iosize, :max_xmlpipe2_field,
5
+ :write_buffer]
5
6
 
6
7
  attr_accessor *self.settings
7
8
 
@@ -5,7 +5,8 @@ module Riddle
5
5
  :read_timeout, :client_timeout, :max_children, :pid_file, :max_matches,
6
6
  :seamless_rotate, :preopen_indexes, :unlink_old, :attr_flush_period,
7
7
  :ondisk_dict_default, :max_packet_size, :mva_updates_pool,
8
- :crash_log_path, :max_filters, :max_filter_values]
8
+ :crash_log_path, :max_filters, :max_filter_values, :listen_backlog,
9
+ :read_buffer, :read_unhinted]
9
10
 
10
11
  attr_accessor *self.settings
11
12
 
@@ -2,7 +2,8 @@ module Riddle
2
2
  class Configuration
3
3
  class SQLSource < Riddle::Configuration::Source
4
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,
5
+ :sql_port, :sql_sock, :mysql_connect_flags, :mysql_ssl_cert,
6
+ :mysql_ssl_key, :mysql_ssl_ca, :odbc_dsn, :sql_query_pre, :sql_query,
6
7
  :sql_query_range, :sql_range_step, :sql_query_killlist, :sql_attr_uint,
7
8
  :sql_attr_bool, :sql_attr_bigint, :sql_attr_timestamp,
8
9
  :sql_attr_str2ordinal, :sql_attr_float, :sql_attr_multi,
@@ -3,7 +3,8 @@ module Riddle
3
3
  class XMLSource < Riddle::Configuration::Source
4
4
  self.settings = [:type, :xmlpipe_command, :xmlpipe_field,
5
5
  :xmlpipe_attr_uint, :xmlpipe_attr_bool, :xmlpipe_attr_timestamp,
6
- :xmlpipe_attr_str2ordinal, :xmlpipe_attr_float, :xmlpipe_attr_multi]
6
+ :xmlpipe_attr_str2ordinal, :xmlpipe_attr_float, :xmlpipe_attr_multi,
7
+ :xmlpipe_fixup_utf8]
7
8
 
8
9
  attr_accessor *self.settings
9
10
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -3729,3 +3729,225 @@
3729
3729
  [Mon Nov 9 14:55:59.892 2009] [70188] accepting connections
3730
3730
  [Mon Nov 9 14:56:00.941 2009] [70188] caught SIGTERM, shutting down
3731
3731
  [Mon Nov 9 14:56:00.951 2009] [70188] shutdown complete
3732
+ [Mon Nov 16 14:56:18.695 2009] [39191] accepting connections
3733
+ [Mon Nov 16 14:56:19.890 2009] [39191] caught SIGTERM, shutting down
3734
+ [Mon Nov 16 14:56:19.891 2009] [39191] shutdown complete
3735
+ [Mon Nov 16 14:56:19.967 2009] [39211] accepting connections
3736
+ [Mon Nov 16 14:56:21.023 2009] [39211] caught SIGTERM, shutting down
3737
+ [Mon Nov 16 14:56:21.024 2009] [39211] shutdown complete
3738
+ [Mon Nov 16 14:56:21.104 2009] [39230] accepting connections
3739
+ [Mon Nov 16 14:56:22.160 2009] [39230] caught SIGTERM, shutting down
3740
+ [Mon Nov 16 14:56:22.172 2009] [39230] shutdown complete
3741
+ [Mon Nov 16 14:56:22.249 2009] [39246] accepting connections
3742
+ [Mon Nov 16 14:56:23.436 2009] [39246] caught SIGTERM, shutting down
3743
+ [Mon Nov 16 14:56:23.437 2009] [39246] shutdown complete
3744
+ [Mon Nov 16 14:56:23.517 2009] [39271] accepting connections
3745
+ [Mon Nov 16 14:56:24.579 2009] [39271] caught SIGTERM, shutting down
3746
+ [Mon Nov 16 14:56:24.591 2009] [39271] shutdown complete
3747
+ [Mon Nov 16 14:56:24.666 2009] [39292] accepting connections
3748
+ [Mon Nov 16 14:56:26.733 2009] [39292] caught SIGTERM, shutting down
3749
+ [Mon Nov 16 14:56:26.756 2009] [39292] shutdown complete
3750
+ [Mon Nov 16 14:56:26.820 2009] [39307] accepting connections
3751
+ [Mon Nov 16 14:56:27.870 2009] [39307] caught SIGTERM, shutting down
3752
+ [Mon Nov 16 14:56:27.881 2009] [39307] shutdown complete
3753
+ [Mon Nov 16 14:56:27.954 2009] [39322] accepting connections
3754
+ [Mon Nov 16 14:56:29.004 2009] [39322] caught SIGTERM, shutting down
3755
+ [Mon Nov 16 14:56:29.018 2009] [39322] shutdown complete
3756
+ [Mon Nov 16 14:56:29.087 2009] [39337] accepting connections
3757
+ [Mon Nov 16 14:56:30.138 2009] [39337] caught SIGTERM, shutting down
3758
+ [Mon Nov 16 14:56:30.139 2009] [39337] shutdown complete
3759
+ [Mon Nov 16 14:56:30.244 2009] [39352] accepting connections
3760
+ [Mon Nov 16 14:56:31.292 2009] [39352] caught SIGTERM, shutting down
3761
+ [Mon Nov 16 14:56:31.302 2009] [39352] shutdown complete
3762
+ [Mon Nov 16 14:56:31.375 2009] [39373] accepting connections
3763
+ [Mon Nov 16 14:56:32.427 2009] [39373] caught SIGTERM, shutting down
3764
+ [Mon Nov 16 14:56:32.437 2009] [39373] shutdown complete
3765
+ [Mon Nov 16 14:56:32.557 2009] [39388] accepting connections
3766
+ [Mon Nov 16 14:56:33.613 2009] [39388] caught SIGTERM, shutting down
3767
+ [Mon Nov 16 14:56:33.623 2009] [39388] shutdown complete
3768
+ [Mon Nov 16 14:56:33.705 2009] [39403] accepting connections
3769
+ [Mon Nov 16 14:56:34.766 2009] [39403] caught SIGTERM, shutting down
3770
+ [Mon Nov 16 14:56:34.777 2009] [39403] shutdown complete
3771
+ [Mon Nov 16 14:56:34.854 2009] [39418] accepting connections
3772
+ [Mon Nov 16 14:56:35.936 2009] [39418] caught SIGTERM, shutting down
3773
+ [Mon Nov 16 14:56:35.942 2009] [39418] shutdown complete
3774
+ [Mon Nov 16 14:56:36.029 2009] [39433] accepting connections
3775
+ [Mon Nov 16 14:56:37.085 2009] [39433] caught SIGTERM, shutting down
3776
+ [Mon Nov 16 14:56:37.086 2009] [39433] shutdown complete
3777
+ [Mon Nov 16 14:56:37.164 2009] [39448] accepting connections
3778
+ [Mon Nov 16 14:56:38.217 2009] [39448] caught SIGTERM, shutting down
3779
+ [Mon Nov 16 14:56:38.228 2009] [39448] shutdown complete
3780
+ [Mon Nov 16 14:56:38.298 2009] [39463] accepting connections
3781
+ [Mon Nov 16 14:56:39.354 2009] [39463] caught SIGTERM, shutting down
3782
+ [Mon Nov 16 14:56:39.366 2009] [39463] shutdown complete
3783
+ [Mon Nov 16 14:56:39.436 2009] [39478] accepting connections
3784
+ [Mon Nov 16 14:56:40.487 2009] [39478] caught SIGTERM, shutting down
3785
+ [Mon Nov 16 14:56:40.508 2009] [39478] shutdown complete
3786
+ [Mon Nov 16 14:58:12.667 2009] [39520] accepting connections
3787
+ [Mon Nov 16 14:58:13.789 2009] [39520] caught SIGTERM, shutting down
3788
+ [Mon Nov 16 14:58:13.792 2009] [39520] shutdown complete
3789
+ [Mon Nov 16 14:58:13.870 2009] [39540] accepting connections
3790
+ [Mon Nov 16 14:58:14.929 2009] [39540] caught SIGTERM, shutting down
3791
+ [Mon Nov 16 14:58:14.939 2009] [39540] shutdown complete
3792
+ [Mon Nov 16 14:58:15.010 2009] [39559] accepting connections
3793
+ [Mon Nov 16 14:58:16.060 2009] [39559] caught SIGTERM, shutting down
3794
+ [Mon Nov 16 14:58:16.061 2009] [39559] shutdown complete
3795
+ [Mon Nov 16 14:58:16.139 2009] [39575] accepting connections
3796
+ [Mon Nov 16 14:58:17.242 2009] [39575] caught SIGTERM, shutting down
3797
+ [Mon Nov 16 14:58:17.243 2009] [39575] shutdown complete
3798
+ [Mon Nov 16 14:58:17.321 2009] [39601] accepting connections
3799
+ [Mon Nov 16 14:58:18.410 2009] [39601] caught SIGTERM, shutting down
3800
+ [Mon Nov 16 14:58:18.411 2009] [39601] shutdown complete
3801
+ [Mon Nov 16 14:58:18.489 2009] [39618] accepting connections
3802
+ [Mon Nov 16 14:58:19.553 2009] [39618] caught SIGTERM, shutting down
3803
+ [Mon Nov 16 14:58:19.570 2009] [39618] shutdown complete
3804
+ [Mon Nov 16 14:58:19.635 2009] [39639] accepting connections
3805
+ [Mon Nov 16 14:58:21.704 2009] [39639] caught SIGTERM, shutting down
3806
+ [Mon Nov 16 14:58:21.714 2009] [39639] shutdown complete
3807
+ [Mon Nov 16 14:58:21.786 2009] [39654] accepting connections
3808
+ [Mon Nov 16 14:58:22.837 2009] [39654] caught SIGTERM, shutting down
3809
+ [Mon Nov 16 14:58:22.847 2009] [39654] shutdown complete
3810
+ [Mon Nov 16 14:58:22.922 2009] [39669] accepting connections
3811
+ [Mon Nov 16 14:58:23.973 2009] [39669] caught SIGTERM, shutting down
3812
+ [Mon Nov 16 14:58:23.985 2009] [39669] shutdown complete
3813
+ [Mon Nov 16 14:58:24.101 2009] [39684] accepting connections
3814
+ [Mon Nov 16 14:58:25.156 2009] [39684] caught SIGTERM, shutting down
3815
+ [Mon Nov 16 14:58:25.166 2009] [39684] shutdown complete
3816
+ [Mon Nov 16 14:58:25.238 2009] [39699] accepting connections
3817
+ [Mon Nov 16 14:58:26.298 2009] [39699] caught SIGTERM, shutting down
3818
+ [Mon Nov 16 14:58:26.308 2009] [39699] shutdown complete
3819
+ [Mon Nov 16 14:58:26.385 2009] [39714] accepting connections
3820
+ [Mon Nov 16 14:58:27.445 2009] [39714] caught SIGTERM, shutting down
3821
+ [Mon Nov 16 14:58:27.459 2009] [39714] shutdown complete
3822
+ [Mon Nov 16 14:58:27.527 2009] [39729] accepting connections
3823
+ [Mon Nov 16 14:58:28.582 2009] [39729] caught SIGTERM, shutting down
3824
+ [Mon Nov 16 14:58:28.597 2009] [39729] shutdown complete
3825
+ [Mon Nov 16 14:58:28.664 2009] [39744] accepting connections
3826
+ [Mon Nov 16 14:58:29.718 2009] [39744] caught SIGTERM, shutting down
3827
+ [Mon Nov 16 14:58:29.728 2009] [39744] shutdown complete
3828
+ [Mon Nov 16 14:58:29.799 2009] [39759] accepting connections
3829
+ [Mon Nov 16 14:58:30.849 2009] [39759] caught SIGTERM, shutting down
3830
+ [Mon Nov 16 14:58:30.850 2009] [39759] shutdown complete
3831
+ [Mon Nov 16 14:58:30.931 2009] [39774] accepting connections
3832
+ [Mon Nov 16 14:58:31.987 2009] [39774] caught SIGTERM, shutting down
3833
+ [Mon Nov 16 14:58:32.001 2009] [39774] shutdown complete
3834
+ [Mon Nov 16 14:58:32.068 2009] [39789] accepting connections
3835
+ [Mon Nov 16 14:58:33.116 2009] [39789] caught SIGTERM, shutting down
3836
+ [Mon Nov 16 14:58:33.131 2009] [39789] shutdown complete
3837
+ [Mon Nov 16 14:58:33.196 2009] [39804] accepting connections
3838
+ [Mon Nov 16 14:58:34.246 2009] [39804] caught SIGTERM, shutting down
3839
+ [Mon Nov 16 14:58:34.263 2009] [39804] shutdown complete
3840
+ [Mon Nov 16 14:58:34.329 2009] [39819] accepting connections
3841
+ [Mon Nov 16 14:58:35.383 2009] [39819] caught SIGTERM, shutting down
3842
+ [Mon Nov 16 14:58:35.399 2009] [39819] shutdown complete
3843
+ [Mon Nov 16 14:59:48.103 2009] [39868] accepting connections
3844
+ [Mon Nov 16 14:59:49.215 2009] [39868] caught SIGTERM, shutting down
3845
+ [Mon Nov 16 14:59:49.216 2009] [39868] shutdown complete
3846
+ [Mon Nov 16 14:59:49.299 2009] [39888] accepting connections
3847
+ [Mon Nov 16 14:59:50.363 2009] [39888] caught SIGTERM, shutting down
3848
+ [Mon Nov 16 14:59:50.509 2009] [39888] shutdown complete
3849
+ [Mon Nov 16 14:59:50.537 2009] [39907] accepting connections
3850
+ [Mon Nov 16 14:59:51.586 2009] [39907] caught SIGTERM, shutting down
3851
+ [Mon Nov 16 14:59:51.596 2009] [39907] shutdown complete
3852
+ [Mon Nov 16 14:59:51.672 2009] [39923] accepting connections
3853
+ [Mon Nov 16 14:59:52.783 2009] [39923] caught SIGTERM, shutting down
3854
+ [Mon Nov 16 14:59:52.793 2009] [39923] shutdown complete
3855
+ [Mon Nov 16 14:59:52.877 2009] [39948] accepting connections
3856
+ [Mon Nov 16 14:59:53.927 2009] [39948] caught SIGTERM, shutting down
3857
+ [Mon Nov 16 14:59:53.938 2009] [39948] shutdown complete
3858
+ [Mon Nov 16 14:59:54.025 2009] [39965] accepting connections
3859
+ [Mon Nov 16 14:59:55.088 2009] [39965] caught SIGTERM, shutting down
3860
+ [Mon Nov 16 14:59:55.104 2009] [39965] shutdown complete
3861
+ [Mon Nov 16 14:59:55.179 2009] [39986] accepting connections
3862
+ [Mon Nov 16 14:59:57.238 2009] [39986] caught SIGTERM, shutting down
3863
+ [Mon Nov 16 14:59:57.256 2009] [39986] shutdown complete
3864
+ [Mon Nov 16 14:59:57.325 2009] [40001] accepting connections
3865
+ [Mon Nov 16 14:59:58.373 2009] [40001] caught SIGTERM, shutting down
3866
+ [Mon Nov 16 14:59:58.383 2009] [40001] shutdown complete
3867
+ [Mon Nov 16 14:59:58.475 2009] [40016] accepting connections
3868
+ [Mon Nov 16 14:59:59.523 2009] [40016] caught SIGTERM, shutting down
3869
+ [Mon Nov 16 14:59:59.539 2009] [40016] shutdown complete
3870
+ [Mon Nov 16 14:59:59.619 2009] [40031] accepting connections
3871
+ [Mon Nov 16 15:00:00.669 2009] [40031] caught SIGTERM, shutting down
3872
+ [Mon Nov 16 15:00:00.679 2009] [40031] shutdown complete
3873
+ [Mon Nov 16 15:00:00.756 2009] [40046] accepting connections
3874
+ [Mon Nov 16 15:00:01.803 2009] [40046] caught SIGTERM, shutting down
3875
+ [Mon Nov 16 15:00:01.804 2009] [40046] shutdown complete
3876
+ [Mon Nov 16 15:00:01.885 2009] [40063] accepting connections
3877
+ [Mon Nov 16 15:00:02.935 2009] [40063] caught SIGTERM, shutting down
3878
+ [Mon Nov 16 15:00:02.945 2009] [40063] shutdown complete
3879
+ [Mon Nov 16 15:00:03.021 2009] [40078] accepting connections
3880
+ [Mon Nov 16 15:00:04.073 2009] [40078] caught SIGTERM, shutting down
3881
+ [Mon Nov 16 15:00:04.083 2009] [40078] shutdown complete
3882
+ [Mon Nov 16 15:00:04.197 2009] [40093] accepting connections
3883
+ [Mon Nov 16 15:00:05.250 2009] [40093] caught SIGTERM, shutting down
3884
+ [Mon Nov 16 15:00:05.251 2009] [40093] shutdown complete
3885
+ [Mon Nov 16 15:00:05.337 2009] [40108] accepting connections
3886
+ [Mon Nov 16 15:00:06.383 2009] [40108] caught SIGTERM, shutting down
3887
+ [Mon Nov 16 15:00:06.394 2009] [40108] shutdown complete
3888
+ [Mon Nov 16 15:00:06.475 2009] [40123] accepting connections
3889
+ [Mon Nov 16 15:00:07.524 2009] [40123] caught SIGTERM, shutting down
3890
+ [Mon Nov 16 15:00:07.534 2009] [40123] shutdown complete
3891
+ [Mon Nov 16 15:00:07.611 2009] [40138] accepting connections
3892
+ [Mon Nov 16 15:00:08.656 2009] [40138] caught SIGTERM, shutting down
3893
+ [Mon Nov 16 15:00:08.666 2009] [40138] shutdown complete
3894
+ [Mon Nov 16 15:00:08.750 2009] [40153] accepting connections
3895
+ [Mon Nov 16 15:00:09.796 2009] [40153] caught SIGTERM, shutting down
3896
+ [Mon Nov 16 15:00:09.807 2009] [40153] shutdown complete
3897
+ [Mon Nov 16 15:00:09.889 2009] [40168] accepting connections
3898
+ [Mon Nov 16 15:00:10.941 2009] [40168] caught SIGTERM, shutting down
3899
+ [Mon Nov 16 15:00:10.951 2009] [40168] shutdown complete
3900
+ [Mon Nov 16 15:04:49.654 2009] [40358] accepting connections
3901
+ [Mon Nov 16 15:04:50.783 2009] [40358] caught SIGTERM, shutting down
3902
+ [Mon Nov 16 15:04:50.784 2009] [40358] shutdown complete
3903
+ [Mon Nov 16 15:04:50.864 2009] [40381] accepting connections
3904
+ [Mon Nov 16 15:04:51.918 2009] [40381] caught SIGTERM, shutting down
3905
+ [Mon Nov 16 15:04:51.929 2009] [40381] shutdown complete
3906
+ [Mon Nov 16 15:04:52.005 2009] [40400] accepting connections
3907
+ [Mon Nov 16 15:04:53.053 2009] [40400] caught SIGTERM, shutting down
3908
+ [Mon Nov 16 15:04:53.064 2009] [40400] shutdown complete
3909
+ [Mon Nov 16 15:04:53.141 2009] [40416] accepting connections
3910
+ [Mon Nov 16 15:04:54.271 2009] [40416] caught SIGTERM, shutting down
3911
+ [Mon Nov 16 15:04:54.272 2009] [40416] shutdown complete
3912
+ [Mon Nov 16 15:04:54.352 2009] [40462] accepting connections
3913
+ [Mon Nov 16 15:04:55.410 2009] [40462] caught SIGTERM, shutting down
3914
+ [Mon Nov 16 15:04:55.451 2009] [40462] shutdown complete
3915
+ [Mon Nov 16 15:04:55.581 2009] [40517] accepting connections
3916
+ [Mon Nov 16 15:04:57.644 2009] [40517] caught SIGTERM, shutting down
3917
+ [Mon Nov 16 15:04:57.655 2009] [40517] shutdown complete
3918
+ [Mon Nov 16 15:04:57.731 2009] [40562] accepting connections
3919
+ [Mon Nov 16 15:04:58.785 2009] [40562] caught SIGTERM, shutting down
3920
+ [Mon Nov 16 15:04:58.788 2009] [40562] shutdown complete
3921
+ [Mon Nov 16 15:04:58.889 2009] [40587] accepting connections
3922
+ [Mon Nov 16 15:04:59.960 2009] [40587] caught SIGTERM, shutting down
3923
+ [Mon Nov 16 15:04:59.965 2009] [40587] shutdown complete
3924
+ [Mon Nov 16 15:05:00.061 2009] [40666] accepting connections
3925
+ [Mon Nov 16 15:05:01.111 2009] [40666] caught SIGTERM, shutting down
3926
+ [Mon Nov 16 15:05:01.121 2009] [40666] shutdown complete
3927
+ [Mon Nov 16 15:05:01.202 2009] [40716] accepting connections
3928
+ [Mon Nov 16 15:05:02.250 2009] [40716] caught SIGTERM, shutting down
3929
+ [Mon Nov 16 15:05:02.260 2009] [40716] shutdown complete
3930
+ [Mon Nov 16 15:05:02.332 2009] [40731] accepting connections
3931
+ [Mon Nov 16 15:05:03.379 2009] [40731] caught SIGTERM, shutting down
3932
+ [Mon Nov 16 15:05:03.755 2009] [40731] shutdown complete
3933
+ [Mon Nov 16 15:05:03.781 2009] [40746] accepting connections
3934
+ [Mon Nov 16 15:05:04.831 2009] [40746] caught SIGTERM, shutting down
3935
+ [Mon Nov 16 15:05:04.841 2009] [40746] shutdown complete
3936
+ [Mon Nov 16 15:05:04.916 2009] [40761] accepting connections
3937
+ [Mon Nov 16 15:05:05.965 2009] [40761] caught SIGTERM, shutting down
3938
+ [Mon Nov 16 15:05:05.975 2009] [40761] shutdown complete
3939
+ [Mon Nov 16 15:05:06.055 2009] [40776] accepting connections
3940
+ [Mon Nov 16 15:05:07.102 2009] [40776] caught SIGTERM, shutting down
3941
+ [Mon Nov 16 15:05:07.112 2009] [40776] shutdown complete
3942
+ [Mon Nov 16 15:05:07.191 2009] [40791] accepting connections
3943
+ [Mon Nov 16 15:05:08.235 2009] [40791] caught SIGTERM, shutting down
3944
+ [Mon Nov 16 15:05:08.245 2009] [40791] shutdown complete
3945
+ [Mon Nov 16 15:05:08.320 2009] [40806] accepting connections
3946
+ [Mon Nov 16 15:05:09.367 2009] [40806] caught SIGTERM, shutting down
3947
+ [Mon Nov 16 15:05:09.377 2009] [40806] shutdown complete
3948
+ [Mon Nov 16 15:05:09.449 2009] [40821] accepting connections
3949
+ [Mon Nov 16 15:05:10.508 2009] [40821] caught SIGTERM, shutting down
3950
+ [Mon Nov 16 15:05:10.518 2009] [40821] shutdown complete
3951
+ [Mon Nov 16 15:05:10.592 2009] [40836] accepting connections
3952
+ [Mon Nov 16 15:05:11.641 2009] [40836] caught SIGTERM, shutting down
3953
+ [Mon Nov 16 15:05:11.651 2009] [40836] shutdown complete
@@ -1030,3 +1030,63 @@
1030
1030
  [Mon Nov 9 14:55:43.937 2009] 0.000 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1031
1031
  [Mon Nov 9 14:55:43.940 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
1032
1032
  [Mon Nov 9 14:55:43.944 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
1033
+ [Mon Nov 16 14:56:23.282 2009] 0.002 sec [all/0/rel 65 (0,20)] [*] smith
1034
+ [Mon Nov 16 14:56:23.322 2009] 0.001 sec x2 [all/0/rel 65 (0,20)] [*] smith
1035
+ [Mon Nov 16 14:56:23.322 2009] 0.001 sec x2 [all/0/rel 201 (0,20)] [*] jones
1036
+ [Mon Nov 16 14:56:23.329 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1037
+ [Mon Nov 16 14:56:23.340 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1038
+ [Mon Nov 16 14:56:23.357 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1039
+ [Mon Nov 16 14:56:23.372 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1040
+ [Mon Nov 16 14:56:23.377 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1041
+ [Mon Nov 16 14:56:23.380 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1042
+ [Mon Nov 16 14:56:23.385 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1043
+ [Mon Nov 16 14:56:23.389 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] smith victoria
1044
+ [Mon Nov 16 14:56:24.542 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1045
+ [Mon Nov 16 14:56:24.547 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1046
+ [Mon Nov 16 14:56:24.550 2009] 0.001 sec [all/0/rel 64 (0,20)] [*] Steele
1047
+ [Mon Nov 16 14:56:24.555 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
1048
+ [Mon Nov 16 14:58:17.164 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1049
+ [Mon Nov 16 14:58:17.169 2009] 0.000 sec x2 [all/0/rel 65 (0,20)] [*] smith
1050
+ [Mon Nov 16 14:58:17.169 2009] 0.000 sec x2 [all/0/rel 201 (0,20)] [*] jones
1051
+ [Mon Nov 16 14:58:17.173 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1052
+ [Mon Nov 16 14:58:17.183 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1053
+ [Mon Nov 16 14:58:17.189 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1054
+ [Mon Nov 16 14:58:17.193 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1055
+ [Mon Nov 16 14:58:17.197 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1056
+ [Mon Nov 16 14:58:17.201 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1057
+ [Mon Nov 16 14:58:17.207 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1058
+ [Mon Nov 16 14:58:17.215 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] smith victoria
1059
+ [Mon Nov 16 14:58:19.513 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1060
+ [Mon Nov 16 14:58:19.518 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1061
+ [Mon Nov 16 14:58:19.522 2009] 0.001 sec [all/0/rel 64 (0,20)] [*] Steele
1062
+ [Mon Nov 16 14:58:19.527 2009] 0.001 sec [all/0/rel 64 (0,20)] [*] Steele
1063
+ [Mon Nov 16 14:59:52.702 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1064
+ [Mon Nov 16 14:59:52.707 2009] 0.000 sec x2 [all/0/rel 65 (0,20)] [*] smith
1065
+ [Mon Nov 16 14:59:52.707 2009] 0.000 sec x2 [all/0/rel 201 (0,20)] [*] jones
1066
+ [Mon Nov 16 14:59:52.712 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1067
+ [Mon Nov 16 14:59:52.721 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1068
+ [Mon Nov 16 14:59:52.729 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1069
+ [Mon Nov 16 14:59:52.732 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1070
+ [Mon Nov 16 14:59:52.737 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1071
+ [Mon Nov 16 14:59:52.741 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1072
+ [Mon Nov 16 14:59:52.753 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1073
+ [Mon Nov 16 14:59:52.756 2009] 0.000 sec [all/0/rel 1 (0,20)] [*] smith victoria
1074
+ [Mon Nov 16 14:59:55.050 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1075
+ [Mon Nov 16 14:59:55.055 2009] 0.001 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1076
+ [Mon Nov 16 14:59:55.059 2009] 0.001 sec [all/0/rel 64 (0,20)] [*] Steele
1077
+ [Mon Nov 16 14:59:55.063 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
1078
+ [Mon Nov 16 15:04:54.167 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1079
+ [Mon Nov 16 15:04:54.201 2009] 0.001 sec [all/0/rel 65 (0,20)] [*] smith
1080
+ [Mon Nov 16 15:04:54.201 2009] 0.001 sec [all/0/rel 201 (0,20)] [*] jones
1081
+ [Mon Nov 16 15:04:54.207 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1082
+ [Mon Nov 16 15:04:54.217 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1083
+ [Mon Nov 16 15:04:54.222 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1084
+ [Mon Nov 16 15:04:54.226 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1085
+ [Mon Nov 16 15:04:54.230 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1086
+ [Mon Nov 16 15:04:54.234 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1087
+ [Mon Nov 16 15:04:54.239 2009] 0.000 sec [all/0/rel 65 (0,20)] [*] smith
1088
+ [Mon Nov 16 15:04:54.244 2009] 0.000 sec [all/0/rel 1 (0,20)] [*] smith victoria
1089
+ [Mon Nov 16 15:04:55.374 2009] 0.000 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1090
+ [Mon Nov 16 15:04:55.379 2009] 0.000 sec [all/0/rel 1 (0,20)] [*] Ellie K Ford
1091
+ [Mon Nov 16 15:04:55.382 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
1092
+ [Mon Nov 16 15:04:55.387 2009] 0.000 sec [all/0/rel 64 (0,20)] [*] Steele
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-09 00:00:00 +11:00
12
+ date: 2009-11-16 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -92,6 +92,33 @@ signing_key:
92
92
  specification_version: 3
93
93
  summary: An API for Sphinx, written in and for Ruby.
94
94
  test_files:
95
+ - spec/fixtures/data/anchor.bin
96
+ - spec/fixtures/data/any.bin
97
+ - spec/fixtures/data/boolean.bin
98
+ - spec/fixtures/data/comment.bin
99
+ - spec/fixtures/data/distinct.bin
100
+ - spec/fixtures/data/field_weights.bin
101
+ - spec/fixtures/data/filter.bin
102
+ - spec/fixtures/data/filter_array.bin
103
+ - spec/fixtures/data/filter_array_exclude.bin
104
+ - spec/fixtures/data/filter_boolean.bin
105
+ - spec/fixtures/data/filter_floats.bin
106
+ - spec/fixtures/data/filter_floats_exclude.bin
107
+ - spec/fixtures/data/filter_range.bin
108
+ - spec/fixtures/data/filter_range_exclude.bin
109
+ - spec/fixtures/data/group.bin
110
+ - spec/fixtures/data/index.bin
111
+ - spec/fixtures/data/index_weights.bin
112
+ - spec/fixtures/data/keywords_with_hits.bin
113
+ - spec/fixtures/data/keywords_without_hits.bin
114
+ - spec/fixtures/data/overrides.bin
115
+ - spec/fixtures/data/phrase.bin
116
+ - spec/fixtures/data/rank_mode.bin
117
+ - spec/fixtures/data/select.bin
118
+ - spec/fixtures/data/simple.bin
119
+ - spec/fixtures/data/sort.bin
120
+ - spec/fixtures/data/update_simple.bin
121
+ - spec/fixtures/data/weights.bin
95
122
  - spec/fixtures/data_generator.0.9.8.php
96
123
  - spec/fixtures/data_generator.0.9.9.php
97
124
  - spec/fixtures/sphinx/configuration.erb