elasticsearch-dsl 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f022719f270cffd657795f61f6f90a4b6b5cece
4
- data.tar.gz: 6ad90bcc1c4088c814290d11aa6ce8e30c1b7bed
3
+ metadata.gz: 214d122f8284a2f16c8a4f7b25f79c66cc00709a
4
+ data.tar.gz: 0078e5c6780db602dd4a3f62440936b62c4e5be1
5
5
  SHA512:
6
- metadata.gz: 33d9acad04bf367d192fbe1f75d69e56cdc2cf656e27889c5653f91e1ca24b9040d3d5afad0f5ef2638291c958a79dd659b9a48f5cb06ccc87c2b9f4143a014e
7
- data.tar.gz: c4a2b3afc45f69f75ba6483484feac3340f8069f6149e6a69f506869e593f53b922b0fcb61837c74cb585bf5afcf15b540592e41d36418bc0a429695d807752e
6
+ metadata.gz: 4bbab1d893ef8f3c87124ffff05eabbd4b753cea14c873f32fa9f0be6c6915a3cceb2420a7f3f0f077ffbb07a9d49861265ad27f70b7666ddbf763ad261ab00a
7
+ data.tar.gz: cb83c0175650f244c779d31e387596eb5b193f267aaff125c4579082495c0bb4e61d597c2661141ae1bd3c245bc1da58ae96a40786db8d56587df714769d95e0
data/README.md CHANGED
@@ -217,6 +217,9 @@ puts "\nSearch results #{'-'*66}\n".gray
217
217
  ap response
218
218
  ```
219
219
 
220
+ NOTE: You have to enable dynamic scripting to be able to execute the `function_score` query, either
221
+ by adding `script.disable_dynamic: false` to your elasticsearch.yml or command line parameters.
222
+
220
223
  **Please see the extensive RDoc examples in the source code and the integration tests.**
221
224
 
222
225
  ## Development
data/Rakefile CHANGED
@@ -9,7 +9,6 @@ require 'rake/testtask'
9
9
  namespace :test do
10
10
 
11
11
  Rake::TestTask.new(:unit) do |test|
12
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
13
12
  test.libs << 'lib' << 'test'
14
13
  test.test_files = FileList["test/unit/**/*_test.rb"]
15
14
  # test.verbose = true
@@ -17,14 +16,12 @@ namespace :test do
17
16
  end
18
17
 
19
18
  Rake::TestTask.new(:integration) do |test|
20
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
21
19
  test.libs << 'lib' << 'test'
22
20
  test.test_files = FileList["test/integration/**/*_test.rb"]
23
21
  end
24
22
 
25
23
  desc "Run unit and integration tests"
26
24
  task :all do
27
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
28
25
  Rake::Task['test:unit'].invoke
29
26
  Rake::Task['test:integration'].invoke
30
27
  end
@@ -22,11 +22,21 @@ module Elasticsearch
22
22
  class MultiMatch
23
23
  include BaseComponent
24
24
 
25
- option_method :query
25
+ option_method :analyzer
26
+ option_method :boost
27
+ option_method :cutoff_frequency
26
28
  option_method :fields
29
+ option_method :fuzziness
30
+ option_method :max_expansions
31
+ option_method :minimum_should_match
27
32
  option_method :operator
33
+ option_method :prefix_length
34
+ option_method :query
35
+ option_method :rewrite
36
+ option_method :slop
28
37
  option_method :type
29
38
  option_method :use_dis_max
39
+ option_method :zero_terms_query
30
40
  end
31
41
 
32
42
  end
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module DSL
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler