Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getMillis (0.12 sec)

  1. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                b.append('"').append(StringEscapeUtils.escapeJson(c.getName())).append("\":{");
                append(b, "count", () -> c.getCollectionCount()).append(',');
                append(b, "time", () -> c.getCollectionTime().getMillis()).append('}');
                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java

                keywordPath = environment.configFile().resolve(path);
            } else {
                keywordPath = null;
            }
    
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (keywordPath == null) {
                return tokenStream;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

            } else {
                stopwordPath = null;
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", false);
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (stopwordPath == null) {
                return tokenStream;
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                final JvmGcObj jvmGcObj = new JvmGcObj();
                jvmGcObj.key = c.getName();
                jvmGcObj.count = c.getCollectionCount();
                jvmGcObj.time = c.getCollectionTime().getMillis();
                return jvmGcObj;
            }).toArray(n -> new JvmGcObj[n]);
            final Threads threads = jvmStats.getThreads();
            final JvmThreadsObj jvmThreadsObj = new JvmThreadsObj();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

                        throw new IllegalArgumentException("Failed to read " + filePath, e);
                    }
    
                    reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    
                } else {
                    reader = Analysis.getReaderFromFile(env, settings, "synonyms_path");
                }
            } else {
                reader = new StringReader("");
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

                if (detail) {
                    items.add(SuggestItem.parseSource(source));
                }
            }
    
            return new PopularWordsResponse(index, searchResponse.getTook().getMillis(), words, searchResponse.getHits().getTotalHits().value,
                    items);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

                }
                if (fieldSet.contains(TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS)) {
                    builder.field(TASK_MAX_WAIT_TIME_IN_QUEUE_IN_MILLIS, response.getTaskMaxWaitingTime().getMillis());
                }
                if (fieldSet.contains(ACTIVE_SHARDS_PERCENT_AS_NUMBER)) {
                    builder.field(ACTIVE_SHARDS_PERCENT_AS_NUMBER, response.getActiveShardsPercent());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                        reloadableFile = file;
                        dictionaryTimestamp = reloadableFile.lastModified();
    
                        reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
    
                        if (VERBOSE) {
                            System.out.println("Check " + reloadableFile.getAbsolutePath() + " (interval: " + reloadInterval + "ms)");
                        }
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            final long totalHitsValue = totalHits != null ? totalHits.value : 0;
            targetList.setTotalHits(totalHitsValue);
            targetList.setTookInMillis(response.getTook().getMillis());
            if (totalHitsValue != 0) {
                try {
                    for (final SearchHit searchHit : hits.getHits()) {
                        final OpenSearchAccessResult target = new OpenSearchAccessResult();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                    }
                }
            }
            firstWords.addAll(secondWords);
            firstItems.addAll(secondItems);
            return new SuggestResponse(index, searchResponse.getTook().getMillis(), firstWords, searchResponse.getHits().getTotalHits().value,
                    firstItems);
        }
    
        protected boolean isFirstWordMatching(final boolean singleWordQuery, final boolean hiraganaQuery, final String text) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top