Class: Lucene::Term

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


25
26
27
# File 'lib/chef/solr_query/lucene_nodes.rb', line 25

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

#transformObject


29
30
31
# File 'lib/chef/solr_query/lucene_nodes.rb', line 29

def transform
  self.text_value
end