chewie 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d0c55046c161e6c3528bf7a7ad08b068787af8145c6d9a746f89d8a426a6403
4
- data.tar.gz: 58503a3685b8e0242fcce0469df7dc131e0e29c37fcc3990cccee95946a9670e
3
+ metadata.gz: e842cc850f6552b47da7f76c533b9a29f503a629fccc6804d9b9ef5467e8593b
4
+ data.tar.gz: 9d4bc22c86b285e7947ea965559bf524c35b41f6e2cd6084d0a42449fa33475d
5
5
  SHA512:
6
- metadata.gz: 3ca8e83cc8b023ab55f2f0ab243355fcd530504a4ed7aa12be410c71568235e44b4f28a44432bc806b229ddab3b9c93b9d66125597ca10f6d873a005bef50aa3
7
- data.tar.gz: 8c81c01318727fc30e776ee4dc6651a8676a12dfe922712dc650fee80d4c94fdeb2f398f7a0220f15aa10a8a23700c9ab60d43aa9895873c1244c1d4b8273336
6
+ metadata.gz: fad175dfb3c9449d1a56b92388f489e3e4fc3ad4c552e2944f8e47ad3c080d497e7957c7a2161947cbce9d4a5362f86fa5ecb0e6598b044ebb84ba522436630c
7
+ data.tar.gz: 7e2c728fb045654620632604226dcdf440ab5aeaeeeac7187ae76055571492819d38b31337ad7c6280e2c3633606645530282e52b80c99538187dc9077d512b4
data/README.md CHANGED
@@ -362,22 +362,22 @@ puts result
362
362
  ### [Compound Queries](https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-queries.html)
363
363
  #### [Bool](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html)
364
364
 
365
- * [filter (#filter_by)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/Bool)
366
- * [should (#should_include)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/Bool)
367
- * [must (#must_include)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/Bool)
368
- * [must_not (#must_not_include)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/Bool)
365
+ * [filter (#filter_by)](lib/chewie/interface/bool.rb)
366
+ * [should (#should_include)](lib/chewie/interface/bool.rb)
367
+ * [must (#must_include)](lib/chewie/interface/bool.rb)
368
+ * [must_not (#must_not_include)](lib/chewie/interface/bool.rb)
369
369
 
370
370
  ### [Term Level Queries](https://www.elastic.co/guide/en/elasticsearch/reference/current/term-level-queries.html)
371
371
 
372
- * [term (#term)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/TermLevel)
373
- * [terms (#terms)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/TermLevel)
374
- * [range (#range)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/TermLevel)
375
- * [fuzzy (#fuzzy)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/TermLevel)
372
+ * [term (#term)](lib/chewie/interface/term_level.rb)
373
+ * [terms (#terms)](lib/chewie/interface/term_level.rb)
374
+ * [range (#range)](lib/chewie/interface/term_level.rb)
375
+ * [fuzzy (#fuzzy)](lib/chewie/interface/term_level.rb)
376
376
 
377
377
  ### [Full Text Queries](https://www.elastic.co/guide/en/elasticsearch/reference/current/full-text-queries.html)
378
378
 
379
- * [match (#match)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/FullText)
380
- * [multi-match (#multimatch)](https://www.rubydoc.info/gems/chewie/0.2.2/Chewie/Interface/FullText)
379
+ * [match (#match)](lib/chewie/interface/full_text.rb)
380
+ * [multi-match (#multimatch)](lib/chewie/interface/full_text.rb)
381
381
 
382
382
  ## Development
383
383
 
@@ -1,7 +1,8 @@
1
1
  module Chewie
2
2
  module Interface
3
3
  module Bool
4
-
4
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html
5
+ #
5
6
  # @param attribute [Symbol] Field you wish to search
6
7
  # @param with [Symbol] Specify the term-level query [term, terms, range]
7
8
  # @param combine [Array] Target additional filter values to be combined in the formatted output (optional)
@@ -1,7 +1,8 @@
1
1
  module Chewie
2
2
  module Interface
3
3
  module FullText
4
-
4
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
5
+ #
5
6
  # @param attribute [Symbol] Field you wish to search
6
7
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
7
8
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -19,6 +20,8 @@ module Chewie
19
20
  set_handler(context: context, handler: handler)
20
21
  end
21
22
 
23
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html
24
+ #
22
25
  # @param with [Array] A collection of field symbols to match against
23
26
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
24
27
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -1,7 +1,8 @@
1
1
  module Chewie
2
2
  module Interface
3
3
  module TermLevel
4
-
4
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html
5
+ #
5
6
  # @param attribute [Symbol] Field you wish to search
6
7
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
7
8
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -18,6 +19,8 @@ module Chewie
18
19
  set_handler(context: context, handler: handler)
19
20
  end
20
21
 
22
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html
23
+ #
21
24
  # @param attribute [Symbol] Field you wish to search
22
25
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
23
26
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -35,6 +38,8 @@ module Chewie
35
38
  set_handler(context: context, handler: handler)
36
39
  end
37
40
 
41
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html
42
+ #
38
43
  # @param attribute [Symbol] Field you wish to search
39
44
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
40
45
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -52,6 +57,8 @@ module Chewie
52
57
  set_handler(context: context, handler: handler)
53
58
  end
54
59
 
60
+ # https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html
61
+ #
55
62
  # @param attribute [Symbol] Field you wish to search
56
63
  # @param context [Symbol] Desired context the query should appear (see https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html)
57
64
  # @param clause [Symbol] Specify a nested clause, usually context dependent (optional)
@@ -1,3 +1,3 @@
1
1
  module Chewie
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chewie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrjonesbot