Class: Lucene::Phrase
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Lucene::Phrase
- Defined in:
- lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search/parser.rb,
lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb
Instance Method Summary collapse
-
#match(value) ⇒ Object
a quoted ::Term.
- #to_array ⇒ Object
- #transform ⇒ Object
Instance Method Details
#match(value) ⇒ Object
a quoted ::Term
183 184 185 |
# File 'lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search/parser.rb', line 183 def match( value ) self.elements[0].match(value) end |
#to_array ⇒ Object
277 278 279 |
# File 'lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb', line 277 def to_array "STR:#{self.text_value}" end |
#transform ⇒ Object
281 282 283 |
# File 'lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb', line 281 def transform "#{self.text_value}" end |