Class: Lucene::Phrase

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/chef/solr_query/lucene_nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_arrayObject



277
278
279
# File 'lib/chef/solr_query/lucene_nodes.rb', line 277

def to_array
  "STR:#{self.text_value}"
end

#transformObject



281
282
283
# File 'lib/chef/solr_query/lucene_nodes.rb', line 281

def transform
  "#{self.text_value}"
end