Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 85 for Length (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

         * Test that all expected enum values exist
         */
        public void test_enumValues() {
            CrawlerStatus[] values = CrawlerStatus.values();
    
            assertNotNull(values);
            assertEquals(3, values.length);
    
            // Verify all expected values exist
            assertEquals(CrawlerStatus.INITIALIZING, values[0]);
            assertEquals(CrawlerStatus.RUNNING, values[1]);
            assertEquals(CrawlerStatus.DONE, values[2]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        /** The creation time of the access result. */
        protected Long createTime;
    
        /** The execution time of the access. */
        protected Integer executionTime;
    
        /** The content length of the accessed resource. */
        protected Long contentLength;
    
        /** The last modified time of the accessed resource. */
        protected Long lastModified;
    
        /** The access result data. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                    final String ua = directive.getUserAgent();
                    int uaLength = 0;
                    if (!ALL_BOTS.equals(ua)) {
                        uaLength = ua.length();
                    }
                    if (uaLength > maxUaLength) {
                        matchedDirective = directive;
                        maxUaLength = uaLength;
                    }
                }
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = response.getHits();
                    if (searchHits.getHits().length == 0) {
                        break;
                    }
    
                    for (final SearchHit searchHit : searchHits) {
                        final Map<String, Object> source = searchHit.getSourceAsMap();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            final List<String> words = new ArrayList<>();
            final List<SuggestItem> items = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            for (final SearchHit hit : hits) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

             * @return A list of analyzed tokens.
             */
            @Override
            public List<AnalyzeToken> analyze(final String text, final String field, final String lang) {
                if (text == null || text.length() > maxContentLenth) {
                    return Collections.emptyList();
                }
                final AnalyzeAction.Response analyzeResponse = client.admin()
                        .indices()
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                } else if (value instanceof Integer) {
                    data.putValue(key, ((Integer) value).toString());
                } else if (value instanceof Address[]) {
                    final int size = ((Address[]) value).length;
                    final String[] values = new String[size];
                    for (int i = 0; i < size; i++) {
                        final Address address = ((Address[]) value)[i];
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            try {
                while (scrollId != null) {
                    final SearchHit[] hits = response.getHits().getHits();
                    if (hits.length == 0) {
                        break;
                    }
    
                    count += hits.length;
                    final BulkResponse bulkResponse = get(c -> {
                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         */
        protected RequestData getDuplicateUrl(final RequestData requestData) {
            final String url = requestData.getUrl();
            if (url.endsWith("/")) {
                requestData.setUrl(url.substring(0, url.length() - 1));
            } else {
                requestData.setUrl(url + "/");
            }
            return requestData;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                for (String word : words) {
                    if (!word.isEmpty()) {
                        int startOffset = text.indexOf(word, offset);
                        int endOffset = startOffset + word.length();
    
                        // Handle decimal numbers
                        if (word.matches("\\d+") && startOffset > 0 && text.charAt(startOffset - 1) == '.') {
                            continue;
                        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top