Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. api/go1.18.txt

    pkg net, func TCPAddrFromAddrPort(netip.AddrPort) *TCPAddr
    pkg net, func UDPAddrFromAddrPort(netip.AddrPort) *UDPAddr
    pkg net, method (*Resolver) LookupNetIP(context.Context, string, string) ([]netip.Addr, error)
    pkg net, method (*TCPAddr) AddrPort() netip.AddrPort
    pkg net, method (*UDPAddr) AddrPort() netip.AddrPort
    pkg net, method (*UDPConn) ReadFromUDPAddrPort([]uint8) (int, netip.AddrPort, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |--123
          |
          |Fox
          |--123--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("123")
            .addPart("Quick".toRequestBody(null))
            .addPart("Brown".toRequestBody(null))
            .addPart("Fox".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

              this.type = type
            }
    
          /** Add a part to the body. */
          fun addPart(body: RequestBody) =
            apply {
              addPart(Part.create(body))
            }
    
          /** Add a part to the body. */
          fun addPart(
            headers: Headers?,
            body: RequestBody,
          ) = apply {
            addPart(Part.create(headers, body))
          }
    
          /** Add a form data part to the body. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                                "Invalid sort order: " + termQuery);
                    }
                } else {
                    sortOrder = SortOrder.ASC;
                }
                context.addSorts(createFieldSortBuilder(sortField, sortOrder));
            }));
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.addPart(requestBody)
        builder = builder.addPart(headersOf(), requestBody)
        builder = builder.addPart(null, requestBody)
        builder = builder.addFormDataPart("", "")
        builder = builder.addFormDataPart("", "", requestBody)
        builder = builder.addFormDataPart("", null, requestBody)
        builder = builder.addPart(MultipartBody.Part.create(requestBody))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

      @Test fun `multipart round trip`() {
        val body =
          MultipartBody.Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    
        val bodyContent = Buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top