Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 440 for getValues (0.18 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            assertEquals("太郎", extractData.getValues("dc:creator")[0]);
            assertEquals("かいしゃ", extractData.getValues("extended-properties:Company")[0]);
            assertEquals("1", extractData.getValues("xmpTPg:NPages")[0]);
            assertEquals("2009-06-26T21:41:00Z", extractData.getValues("dcterms:created")[0]);
            assertEquals("2012-05-18T22:45:00Z", extractData.getValues("dcterms:modified")[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("Writer", extractData.getValues("Creator")[0]);
            assertEquals("OpenOffice.org 3.0", extractData.getValues("Producer")[0]);
            assertEquals("D:20090627222631+09'00'", extractData.getValues("CreationDate")[0]);
        }
    
        public void test_getText_pass() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                    if (bitsField != null && !bitsField.getValues().isEmpty()) {
                                        docMap.put(fessConfig.getQueryCollapseInnerHitsName() + "_hash", bitsField.getValues().get(0));
                                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

                assertTrue(data.getValues("Subject")[0].contains("気象情報"));
            }
        }
    
        public void test_getReceivedDate() throws IOException {
            try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/eml/sample1.eml")) {
                ExtractData data = emlExtractor.getText(in, null);
                final String[] receivedDate = data.getValues("Received-Date");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                                        || Constants.MAPPING_TYPE_PDF_DATE.equalsIgnoreCase(mapping.getValue2())) {
                                    final String dateFormat;
                                    if (StringUtil.isNotBlank(mapping.getValue3())) {
                                        dateFormat = mapping.getValue3();
                                    } else if (Constants.MAPPING_TYPE_PDF_DATE.equalsIgnoreCase(mapping.getValue2())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            final String content = data.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertEquals("タイトル", data.getValues("title")[0]);
        }
    
        public void test_getHtml_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final ExtractData data = htmlExtractor.getText(in, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

                    if ("overwrite".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                return false;
            }
    
            public String[] getValues() {
                return values;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ExtractData.java

            metadata.put(key, values);
        }
    
        public void putValue(final String key, final String value) {
            metadata.put(key, new String[] { value });
        }
    
        public String[] getValues(final String key) {
            return metadata.get(key);
        }
    
        public Set<String> getKeySet() {
            return metadata.keySet();
        }
    
        public String getContent() {
            return content;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
            final Map<String, String> params = Maps.of("foo", "true");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                                if (lowerName.contains("comment") || lowerName.contains("text")) {
                                    final String[] values = metadata.getValues(name);
                                    if (values != null) {
                                        Collections.addAll(list, values);
                                    }
                                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top