Search in sources :

Example 56 with SignificantTermsAggregationBuilder

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

the class BsDataConfigCA method setName_SignificantTerms.

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

Example 57 with SignificantTermsAggregationBuilder

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

the class BsDataConfigCA method setVirtualHosts_SignificantTerms.

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

Example 58 with SignificantTermsAggregationBuilder

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

the class BsDataConfigCA method setUpdatedBy_SignificantTerms.

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

Example 59 with SignificantTermsAggregationBuilder

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

the class BsDuplicateHostCA method setRegularName_SignificantTerms.

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

Example 60 with SignificantTermsAggregationBuilder

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

the class BsElevateWordCA method setSuggestWord_SignificantTerms.

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

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