Skip to content

Commit

Permalink
Add some more documentation to TemplateQueryParser
Browse files Browse the repository at this point in the history
Relates to #4879
  • Loading branch information
Isabel Drost-Fromm authored and javanna committed Apr 24, 2014
1 parent cade646 commit dd75f3a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ public String[] names() {
return new String[] {NAME};
}

/**
* Parses the template query replacing template parameters with provided values.
* Handles both submitting the template as part of the request as well as
* referencing only the template name.
* @param parseContext parse context containing the templated query.
*/
@Override
@Nullable
public Query parse(QueryParseContext parseContext) throws IOException {
Expand Down

0 comments on commit dd75f3a

Please sign in to comment.