Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for QueryBuilder (0.11 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            }
    
            // set query.
            final QueryBuilder q = buildQuery(query, fields);
    
            // set function score
            final QueryBuilder queryBuilder = buildFunctionScoreQuery(query, q);
            builder.addSort("_score", SortOrder.DESC);
    
            // set filter query.
            final List<QueryBuilder> filterList = new ArrayList<>(10);
            if (!tags.isEmpty()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.bhv.readable.CBCall;
    import org.dbflute.cbean.result.ListResultBean;
    import org.dbflute.optional.OptionalEntity;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.search.sort.FieldSortBuilder;
    
    public class CrawlingConfigHelperTest extends UnitFessTestCase {
        private CrawlingConfigHelper crawlingConfigHelper;
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

        //                                                                               =====
        public void addQuery(QueryBuilder queryBuilder) {
            assertObjectNotNull("queryBuilder", queryBuilder);
            regQ(queryBuilder);
        }
    
        public void queryString(String queryString) {
            checkEsInvalidQuery("queryString", queryString);
            doQueryString(queryString, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

        //                                                                               =====
        public void addQuery(QueryBuilder queryBuilder) {
            assertObjectNotNull("queryBuilder", queryBuilder);
            regQ(queryBuilder);
        }
    
        public void queryString(String queryString) {
            checkEsInvalidQuery("queryString", queryString);
            doQueryString(queryString, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        }
    
        protected QueryBuilder convertPrefixQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
            return getQueryProcessor().execute(context, new PrefixQuery(new Term(field, text.substring(0, text.length() - 1))), boost);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return deleteDocumentByQuery(searchEngineClient, fessConfig.getIndexDocumentUpdateIndex(), queryBuilder);
        }
    
        protected long deleteDocumentByQuery(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

        //                                                                               =====
        public void addQuery(QueryBuilder queryBuilder) {
            assertObjectNotNull("queryBuilder", queryBuilder);
            regQ(queryBuilder);
        }
    
        public void queryString(String queryString) {
            checkEsInvalidQuery("queryString", queryString);
            doQueryString(queryString, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return oldDocList;
                }
    
                @Override
                public long deleteByQuery(final String index, final QueryBuilder queryBuilder) {
                    if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) {
                        termsQueryBuilder.values().stream().forEach(o -> deletedDocIdList.add(o.toString()));
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final QueryBuilder expiresCheckQuery = QueryBuilders.boolQuery()//
                            .mustNot(QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).gt("now"))//
                            .mustNot(QueryBuilders.existsQuery(fessConfig.getIndexFieldExpires()));
                    queryBuilder.must(expiresCheckQuery);
                }
    
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final Integer size, final SortBuilder<?>... sortBuilders) {
            return getList(clazz, builder -> {
                if (StringUtil.isNotBlank(sessionId)) {
                    if (queryBuilder instanceof BoolQueryBuilder) {
                        ((BoolQueryBuilder) queryBuilder).filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top