Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for addSort (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
            this.limitOfDocumentSize = limitOfDocumentSize;
        }
    
        public void setQuery(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSort(final SortBuilder<?> sortBuilder) {
            sortList.add(sortBuilder);
        }
    
        public void setLimitDocNumPercentage(final String limitPercentage) {
            if (logger.isInfoEnabled()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                                flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
                        .boostMode(CombineFunction.MULTIPLY));
                reader.addSort(SortBuilders.fieldSort(fessConfig.getIndexFieldClickCount()));
                reader.addSort(SortBuilders.scoreSort());
                return reader;
            }, docPerReq, () -> {
                systemHelper.calibrateCpuLoad();
                ThreadUtil.sleep(interval);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    final int maxDocumentCacheSize = fessConfig.getIndexerWebfsMaxDocumentCacheSizeAsInteger();
                    builder.setSize(maxDocumentCacheSize <= 0 ? 1 : maxDocumentCacheSize);
                    builder.addSort(EsAccessResult.CREATE_TIME, SortOrder.ASC);
                };
    
                final DocList docList = new DocList();
                final List<EsAccessResult> accessResultList = new ArrayList<>();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    builder.setQuery(QueryBuilders.matchAllQuery());
                }
                if (sortBuilders != null) {
                    for (SortBuilder<?> sortBuilder : sortBuilders) {
                        builder.addSort(sortBuilder);
                    }
                }
                if (from != null) {
                    builder.setFrom(from);
                }
                if (size != null) {
                    builder.setSize(size);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            protected void buildSort(final QueryContext queryContext, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) {
                queryContext.sortBuilders().forEach(sortBuilder -> searchRequestBuilder.addSort(sortBuilder));
            }
    
            protected void buildRescorer(final QueryHelper queryHelper, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  7. api/next/62384.txt

    pkg net/netip, method (Addr) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (Addr) AppendText([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (AddrPort) AppendBinary([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (AddrPort) AppendText([]uint8) ([]uint8, error) #62384
    pkg net/netip, method (Prefix) AppendBinary([]uint8) ([]uint8, error) #62384
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 18:10:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/net/netip/62384.md

    [Addr], [AddrPort] and [Prefix] now implement the [encoding.BinaryAppender] and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 18:10:51 UTC 2024
    - 116 bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    if (shouldInclude(packageName, excludes, includes)) {
                        builder.addWord(packageName)
                    }
                }
            }
    
            private
            fun shouldInclude(packageName: String, excludes: List<String>, includes: List<String>): Boolean {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/QueryContext.java

                queryBuilder = builder;
            }
        }
    
        public void setQueryBuilder(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSorts(final SortBuilder<?>... sortBuilders) {
            stream(sortBuilders).of(stream -> stream.forEach(sortBuilder -> sortBuilderList.add(sortBuilder)));
        }
    
        public boolean hasSorts() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top