Toggle navigation
Home
org.elasticsearch.index.query.FilterBuilder to org.elasticsearch.index.query.QueryBuilder
No. of Instances - 3
No. of Commits - 2
No. of Projects - {'usergrid'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Similar)
Optional<FilterBuilder>
to
Optional<QueryBuilder>
Rename Method invocation
getFilterBuilder
to
getQueryBuilder
Rename Variable
fb
to
queryBuilder
Add or Remove Method invocation
FilterBuilders
to
QueryBuilders.rangeQuery("timestamp")
FilterBuilders.rangeFilter("timestamp")
to
QueryBuilders
FilterBuilders.termFilter(IssueIndexDefinition.FIELD_ISSUE_FUNC_CREATED_AT,createdAt).cache(false)
to
termQuery(IssueIndexDefinition.FIELD_ISSUE_FUNC_CREATED_AT,createdAt)
FilterBuilders
to
boolQuery()
FilterBuilders.termFilter(FIELD_RULE_INTERNAL_KEY,query.getInternalKey())
to
QueryBuilders.termQuery(FIELD_RULE_INTERNAL_KEY,query.getInternalKey())
FilterBuilders.termFilter(FIELD_RULE_RULE_KEY,query.getRuleKey())
to
QueryBuilders.termQuery(FIELD_RULE_RULE_KEY,query.getRuleKey())
FilterBuilders.termsFilter(FIELD_RULE_LANGUAGE,query.getLanguages())
to
QueryBuilders.termsQuery(FIELD_RULE_LANGUAGE,query.getLanguages())
FilterBuilders.termsFilter(FIELD_RULE_REPOSITORY,query.getRepositories())
to
QueryBuilders.termsQuery(FIELD_RULE_REPOSITORY,query.getRepositories())
FilterBuilders.termsFilter(FIELD_RULE_SEVERITY,query.getSeverities())
to
QueryBuilders.termsQuery(FIELD_RULE_SEVERITY,query.getSeverities())
FilterBuilders.termFilter(FIELD_RULE_KEY,query.getKey())
to
QueryBuilders.termQuery(FIELD_RULE_KEY,query.getKey())
FilterBuilders.termsFilter(FIELD_RULE_ALL_TAGS,query.getTags())
to
QueryBuilders.termsQuery(FIELD_RULE_ALL_TAGS,query.getTags())
FilterBuilders.termsFilter(FIELD_RULE_TYPE,query.getTypes())
to
QueryBuilders.termsQuery(FIELD_RULE_TYPE,query.getTypes())
FilterBuilders
to
QueryBuilders.rangeQuery(FIELD_RULE_CREATED_AT)
FilterBuilders.rangeFilter(FIELD_RULE_CREATED_AT)
to
QueryBuilders
FilterBuilders.termsFilter(FIELD_RULE_STATUS,stringStatus)
to
QueryBuilders.termsQuery(FIELD_RULE_STATUS,stringStatus)
FilterBuilders.termFilter(FIELD_RULE_IS_TEMPLATE,Boolean.toString(isTemplate))
to
QueryBuilders.termQuery(FIELD_RULE_IS_TEMPLATE,Boolean.toString(isTemplate))
FilterBuilders.termFilter(FIELD_RULE_TEMPLATE_KEY,template)
to
QueryBuilders.termQuery(FIELD_RULE_TEMPLATE_KEY,template)
FilterBuilders.hasChildFilter(TYPE_ACTIVE_RULE,childQuery)
to
QueryBuilders.hasChildQuery(TYPE_ACTIVE_RULE,childQuery)
FilterBuilders
to
boolQuery()
FilterBuilders.matchAllFilter()
to
QueryBuilders.matchAllQuery()
FilterBuilders.hasChildFilter(TYPE_ACTIVE_RULE,childQuery)
to
QueryBuilders.hasChildQuery(TYPE_ACTIVE_RULE,childQuery)
FilterBuilders
to
boolQuery()
FilterBuilders.existsFilter(IssueIndexDefinition.FIELD_ISSUE_ASSIGNEE)
to
existsQuery(IssueIndexDefinition.FIELD_ISSUE_ASSIGNEE)
FilterBuilders
to
boolQuery()
FilterBuilders.existsFilter(IssueIndexDefinition.FIELD_ISSUE_RESOLUTION)
to
existsQuery(IssueIndexDefinition.FIELD_ISSUE_RESOLUTION)
FilterBuilders
to
boolQuery()