class ParsingNesting::Tree::Node

Public Instance Methods

to_query(solr_params) click to toggle source

this default to_query works well for anything that is embeddable in a standard way. non-embeddable nodes will have to override and do it different.

# File lib/parsing_nesting/tree.rb, line 63
def to_query(solr_params)
  build_nested_query([self], solr_params)
end