Internal: add comments to XContentStructure

Added comments to make sure we don't forget to remove the class once the refactoring is done.
This commit is contained in:
javanna 2015-08-31 10:41:38 +02:00 committed by Luca Cavanna
parent 84b51fc237
commit dd65bd0fe8
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ import java.io.IOException;
* immediately, however, the extra overhead means that the type not be
* extracted prior to query parsing (in the case of unordered JSON).
*/
//norelease we should be able to delete this class once all queries are refactored
public abstract class XContentStructure {
private final QueryParseContext parseContext;
@ -101,6 +102,8 @@ public abstract class XContentStructure {
* parses the query in a streaming manner if the types are available at
* construction time.
*/
//norelease we should be able to delete this class once all queries are refactored
@Deprecated
public static class InnerQuery extends XContentStructure {
private Query query = null;
private boolean queryParsed = false;