Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for etext (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        }
    
        /**
         * Extracts a date string from the received header text.
         *
         * @param text the received header text
         * @return the date string starting from the day of week, or null if not found
         */
        private static String getDateString(final String text) {
            for (final String dow : DAY_OF_WEEK) {
                final int i = text.lastIndexOf(dow);
                if (i != -1) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * </ul>
     *
     * This class cannot be instantiated.
     */
    public final class FieldNames {
        /** The unique identifier field. */
        public static final String ID = "_id";
        /** The text content field. */
        public static final String TEXT = "text";
        /** The prefix for reading fields. */
        public static final String READING_PREFIX = "reading_";
        /** The score field. */
        public static final String SCORE = "score";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            // Test analyze with empty text
            String text = "";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithNullText() {
            // Test analyze with null text
            String text = null;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test convert with various whitespace
            converter.init();
            String text = "  test  \n\t  text  ";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertEquals(1, readings.size());
            assertEquals("  TEST  \n\t  TEXT  ", readings.get(0));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test_sjis.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"/>
    <title>�^�C�g��</title>
    </head>
    <body>
    �e�X�g
    </body>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 149 bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test all getter and setter methods
            String[] text = { "initial" };
            String[][] readings = { { "read" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.USER);
    
            // Test text
            item.setText("sample text");
            assertEquals("sample text", item.getText());
    
            // Test timestamp
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java

     */
    package org.codelibs.fess.suggest.normalizer;
    
    /**
     * An interface for normalizing text.
     * Implementations of this interface should provide a method to normalize
     * a given text based on the specified field and optional language parameters.
     */
    public interface Normalizer {
        /**
         * Normalizes the given text.
         * @param text The text to normalize
         * @param field The field name
         * @param langs The language
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                        continue;
                    }
                }
    
                words.add(text);
                final boolean isFirstWords = isFirstWordMatching(singleWordQuery, hiraganaQuery, text);
                if (isFirstWords) {
                    firstWords.add(text);
                } else {
                    secondWords.add(text);
                }
    
                if (suggestDetail) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateSuggestTextId() {
            // Test normal text
            String text = "test text";
            String id = SuggestUtil.createSuggestTextId(text);
            assertNotNull(id);
            assertEquals(Base64.getEncoder().encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)), id);
    
            // Test empty text
            String emptyText = "";
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/extractor/test_attr.html

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>タイトル</title>
    </head>
    <body>
    本文1
    <img src="hoge.gif" alt="画像1"/>
    <img src="hoge.gif" alt="画像2" title="タイトル1"/>
    <a href="hoge.html" title="タイトル2">リンク1</a>
    本文2
    </body>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 308 bytes
    - Viewed (0)
Back to top