Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for while (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                    .execute()
                    .actionGet(settings.getSearchTimeout());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            sitemapSet.setType(SitemapSet.URLSET);
    
            try {
                final BufferedReader br = new BufferedReader(new InputStreamReader(in, Constants.UTF_8));
                String line;
                while ((line = br.readLine()) != null) {
                    final String url = line.trim();
                    if (StringUtil.isNotBlank(url) && (url.startsWith("http://") || url.startsWith("https://"))) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest/mappings-default.json")))) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    mappingSource.append(line);
                }
            }
            return mappingSource.toString();
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  4. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                final Map<String, Object>[] array = new Map[(int) response.getHits().getTotalHits().value()];
    
                int count = 0;
                try {
                    while (scrollId != null) {
                        final SearchHit[] hits = response.getHits().getHits();
                        if (hits.length == 0) {
                            break;
                        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            if (listener != null) {
                listener.onRequestStart(this, request);
            }
    
            List<Exception> exceptionList = null;
            try {
                int count = 0;
                while (count < maxRetryCount) {
                    if (listener != null) {
                        listener.onRequest(this, request, count);
                    }
    
                    try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                int alphanumSize = 0;
                int symbolSize = 0;
                int c;
                final Set<String> termCache = new HashSet<>(1000);
                try {
                    while ((c = reader.read()) != -1) {
                        if (Character.isISOControl(c) || isSpaceChar(c)) {
                            if (duplicateTermRemoved) {
                                if (alphanumSize > 0) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         * @param func The function to execute.
         * @return The response from the operation.
         */
        public <T> T get(final Function<FesenClient, ActionFuture<T>> func) {
            int retryCount = 0;
            while (true) {
                try {
                    return func.apply(this).actionGet(connTimeout, TimeUnit.MILLISECONDS);
                } catch (final IndexNotFoundException | VersionConflictEngineException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                    .setSize(scrollSize)
                    .execute());
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    if (searchHits.getHits().length == 0) {
                        break;
                    }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         *
         * @return the response body as an InputStream, or null if no response body is available
         * @throws IORuntimeException if an I/O error occurs while reading the response body file
         */
        public InputStream getResponseBody() {
            if (responseBodyBytes != null) {
                return new ByteArrayInputStream(responseBodyBytes);
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top