Skip to content

Commit

Permalink
Add some more documentation.
Browse files Browse the repository at this point in the history
Relates to elastic#4879
  • Loading branch information
Isabel Drost-Fromm committed Apr 2, 2014
1 parent e189b3e commit 34c8810
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};
}

/**
* Parse 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 34c8810

Please sign in to comment.