Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 457 for text2 (0.03 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.addHighlightedQuery("text");
            // Should not throw exception
        }
    
        // Test addHighlightedQuery with valid set
        public void test_addHighlightedQuery_validSet() {
            queryContext = new QueryContext("test", true);
            queryContext.addHighlightedQuery("text1");
            queryContext.addHighlightedQuery("text2");
            queryContext.addHighlightedQuery("text1"); // Duplicate
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                                || url.contains("test/text2.txt") || url.contains("test/text%203.txt"));
                    }
                }
            }
    
        }
    
        public void test_doGet_file() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text1.txt");
            String path = file.getAbsolutePath();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
                assertEquals("ftp://localhost:10021/text 3.txt", urlList.get(2));
                assertEquals("ftp://localhost:10021/text1.txt", urlList.get(3));
                assertEquals("ftp://localhost:10021/text2.txt", urlList.get(4));
            } finally {
                if (server != null) {
                    server.stop();
                }
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

         * @param field the field name
         * @param texts the query texts
         * @return the query builder
         */
        protected QueryBuilder convertPhraseQuery(final FessConfig fessConfig, final QueryContext context, final PhraseQuery phraseQuery,
                final float boost, final String field, final String[] texts) {
            final String text = String.join(" ", texts);
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                return buf.toString();
            }
    
            /**
             * URL-encodes text for use in text fragment parameters.
             *
             * @param text the text to encode
             * @return the URL-encoded text
             */
            private String encodeToString(final String text) {
                return URLEncoder.encode(text, Constants.CHARSET_UTF_8);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/webapp/WEB-INF/view/admin/general/admin_general.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %><!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title><la:message key="labels.admin_brand_title"/> | <la:message
                key="labels.crawler_configuration"/></title>
        <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include>
    </head>
    <body class="hold-transition sidebar-mini">
    <div class="wrapper">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 14 00:36:40 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

         * @param field the field name
         * @param text the query text
         * @return the converted QueryBuilder
         */
        protected QueryBuilder convertTermQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top