public StandardQueryTreeBuilder() {setBuilder(GroupQueryNode.class, new GroupQueryNodeBuilder());setBuilder(FieldQueryNode.class, new FieldQueryNodeBuilder());setBuilder(BooleanQueryNode.class, new BooleanQueryNodeBuilder());setBuilder(FuzzyQueryNode.class, new FuzzyQueryNodeBuilder());setBuilder(PointQueryNode.class, new DummyQueryNodeBuilder());setBuilder(PointRangeQueryNode.class, new PointRangeQueryNodeBuilder());setBuilder(BoostQueryNode.class, new BoostQueryNodeBuilder());setBuilder(ModifierQueryNode.class, new ModifierQueryNodeBuilder());setBuilder(WildcardQueryNode.class, new WildcardQueryNodeBuilder());setBuilder(TokenizedPhraseQueryNode.class, new PhraseQueryNodeBuilder());setBuilder(MatchNoDocsQueryNode.class, new MatchNoDocsQueryNodeBuilder());setBuilder(PrefixWildcardQueryNode.class,new PrefixWildcardQueryNodeBuilder());setBuilder(TermRangeQueryNode.class, new TermRangeQueryNodeBuilder());setBuilder(RegexpQueryNode.class, new RegexpQueryNodeBuilder());setBuilder(SlopQueryNode.class, new SlopQueryNodeBuilder());setBuilder(SynonymQueryNode.class,new SynonymQueryNodeBuilder());setBuilder(MultiPhraseQueryNode.class, new MultiPhraseQueryNodeBuilder());setBuilder(MatchAllDocsQueryNode.class, new MatchAllDocsQueryNodeBuilder());}
public StandardQueryTreeBuilder(){SetBuilder(typeof(GroupQueryNode), new GroupQueryNodeBuilder());SetBuilder(typeof(FieldQueryNode), new FieldQueryNodeBuilder());SetBuilder(typeof(BooleanQueryNode), new BooleanQueryNodeBuilder());SetBuilder(typeof(FuzzyQueryNode), new FuzzyQueryNodeBuilder());SetBuilder(typeof(NumericQueryNode), new DummyQueryNodeBuilder());SetBuilder(typeof(NumericRangeQueryNode), new NumericRangeQueryNodeBuilder());SetBuilder(typeof(BoostQueryNode), new BoostQueryNodeBuilder());SetBuilder(typeof(ModifierQueryNode), new ModifierQueryNodeBuilder());SetBuilder(typeof(WildcardQueryNode), new WildcardQueryNodeBuilder());SetBuilder(typeof(TokenizedPhraseQueryNode), new PhraseQueryNodeBuilder());SetBuilder(typeof(MatchNoDocsQueryNode), new MatchNoDocsQueryNodeBuilder());SetBuilder(typeof(PrefixWildcardQueryNode),new PrefixWildcardQueryNodeBuilder());SetBuilder(typeof(TermRangeQueryNode), new TermRangeQueryNodeBuilder());SetBuilder(typeof(RegexpQueryNode), new RegexpQueryNodeBuilder());SetBuilder(typeof(SlopQueryNode), new SlopQueryNodeBuilder());SetBuilder(typeof(StandardBooleanQueryNode),new StandardBooleanQueryNodeBuilder());SetBuilder(typeof(MultiPhraseQueryNode), new MultiPhraseQueryNodeBuilder());SetBuilder(typeof(MatchAllDocsQueryNode), new MatchAllDocsQueryNodeBuilder());}