Class: Lucene::Phrase

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
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

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_arrayObject



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

#transformObject



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