Search in sources :

Example 46 with SignificantTermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsSearchLogCA method setUser_SignificantTerms.

public void setUser_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsSearchLogCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "user");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        SearchLogCA ca = new SearchLogCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) SearchLogCA(org.codelibs.fess.es.log.cbean.ca.SearchLogCA)

Example 47 with SignificantTermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsFavoriteLogCA method setUrl_SignificantTerms.

public void setUrl_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "url");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FavoriteLogCA ca = new FavoriteLogCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) FavoriteLogCA(org.codelibs.fess.es.log.cbean.ca.FavoriteLogCA)

Example 48 with SignificantTermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsFavoriteLogCA method setDocId_SignificantTerms.

public void setDocId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "docId");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FavoriteLogCA ca = new FavoriteLogCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) FavoriteLogCA(org.codelibs.fess.es.log.cbean.ca.FavoriteLogCA)

Example 49 with SignificantTermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsFavoriteLogCA method setUserInfoId_SignificantTerms.

public void setUserInfoId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "userInfoId");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FavoriteLogCA ca = new FavoriteLogCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) FavoriteLogCA(org.codelibs.fess.es.log.cbean.ca.FavoriteLogCA)

Example 50 with SignificantTermsAggregationBuilder

use of org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder in project fess by codelibs.

the class BsFavoriteLogCA method setQueryId_SignificantTerms.

public void setQueryId_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFavoriteLogCA> aggsLambda) {
    SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "queryId");
    if (opLambda != null) {
        opLambda.callback(builder);
    }
    if (aggsLambda != null) {
        FavoriteLogCA ca = new FavoriteLogCA();
        aggsLambda.callback(ca);
        ca.getAggregationBuilderList().forEach(builder::subAggregation);
    }
}
Also used : SignificantTermsAggregationBuilder(org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder) FavoriteLogCA(org.codelibs.fess.es.log.cbean.ca.FavoriteLogCA)

Aggregations

SignificantTermsAggregationBuilder (org.opensearch.search.aggregations.bucket.terms.SignificantTermsAggregationBuilder)205 UserCA (org.codelibs.fess.es.user.cbean.ca.UserCA)38 SearchLogCA (org.codelibs.fess.es.log.cbean.ca.SearchLogCA)13 WebConfigCA (org.codelibs.fess.es.config.cbean.ca.WebConfigCA)12 FileConfigCA (org.codelibs.fess.es.config.cbean.ca.FileConfigCA)11 WebAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA)9 DataConfigCA (org.codelibs.fess.es.config.cbean.ca.DataConfigCA)8 FileAuthenticationCA (org.codelibs.fess.es.config.cbean.ca.FileAuthenticationCA)8 LabelTypeCA (org.codelibs.fess.es.config.cbean.ca.LabelTypeCA)8 ScheduledJobCA (org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA)7 AccessTokenCA (org.codelibs.fess.es.config.cbean.ca.AccessTokenCA)6 JobLogCA (org.codelibs.fess.es.config.cbean.ca.JobLogCA)6 PathMappingCA (org.codelibs.fess.es.config.cbean.ca.PathMappingCA)6 BadWordCA (org.codelibs.fess.es.config.cbean.ca.BadWordCA)5 ElevateWordCA (org.codelibs.fess.es.config.cbean.ca.ElevateWordCA)5 FailureUrlCA (org.codelibs.fess.es.config.cbean.ca.FailureUrlCA)5 KeyMatchCA (org.codelibs.fess.es.config.cbean.ca.KeyMatchCA)5 RelatedContentCA (org.codelibs.fess.es.config.cbean.ca.RelatedContentCA)5 RelatedQueryCA (org.codelibs.fess.es.config.cbean.ca.RelatedQueryCA)5 RequestHeaderCA (org.codelibs.fess.es.config.cbean.ca.RequestHeaderCA)5