public ConnectedTermMatchingContext(TermQueryContext termContext, String field, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryContext = queryContext; this.queryCustomizer = queryCustomizer; this.termContext = termContext; this.fieldsContext = new FieldsContext( new String[] { field }, queryContext ); }
public ConnectedTermMatchingContext(TermQueryContext termContext, String[] fields, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryContext = queryContext; this.queryCustomizer = queryCustomizer; this.termContext = termContext; this.fieldsContext = new FieldsContext( fields, queryContext ); }
public ConnectedTermMatchingContext(TermQueryContext termContext, String[] fields, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryContext = queryContext; this.queryCustomizer = queryCustomizer; this.termContext = termContext; this.fieldsContext = new FieldsContext( fields, queryContext ); }
public ConnectedMoreLikeThisMatchingContext(String[] fieldNames, MoreLikeThisQueryContext moreLikeThisContext, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryCustomizer = queryCustomizer; this.queryContext = queryContext; this.moreLikeThisContext = moreLikeThisContext; this.fieldsContext = new FieldsContext( fieldNames, queryContext ); }
public ConnectedMoreLikeThisMatchingContext(String[] fieldNames, MoreLikeThisQueryContext moreLikeThisContext, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryCustomizer = queryCustomizer; this.queryContext = queryContext; this.moreLikeThisContext = moreLikeThisContext; this.fieldsContext = new FieldsContext( fieldNames, queryContext ); }
public ConnectedTermMatchingContext(TermQueryContext termContext, String field, QueryCustomizer queryCustomizer, QueryBuildingContext queryContext) { this.queryContext = queryContext; this.queryCustomizer = queryCustomizer; this.termContext = termContext; this.fieldsContext = new FieldsContext( new String[] { field }, queryContext ); }
private void addFields(String... fields) { FieldsContext fieldsContext = new FieldsContext( fields, queryContext ); this.fieldsContexts.add( fieldsContext ); this.currentFieldsContext = fieldsContext; }
private void addFields(String... fields) { FieldsContext fieldsContext = new FieldsContext( fields, queryContext ); this.fieldsContexts.add( fieldsContext ); this.currentFieldsContext = fieldsContext; }