Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,744 for text (0.13 seconds)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[][] readings = { { "test" }, { "text" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
            // Test with no bad words
            String[] badWords = { "spam", "illegal" };
            assertFalse(item.isBadWord(badWords));
    
            // Test with matching bad word
            String[] badWords2 = { "test", "bad" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  2. 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;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test convert with null text
            converter.init();
            String text = null;
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertTrue(readings.isEmpty());
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist_edit.jsp

                                            <la:message key="labels.crud_title_edit"/>
                                        </c:if>
                                        <c:if test="${crudMode == 3}">
                                            <la:message key="labels.crud_title_delete"/>
                                        </c:if>
                                        <c:if test="${crudMode == 4}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/QueryCommand.java

         * @param f The field name.
         * @param text The text to search for.
         * @return The appropriate query builder.
         */
        protected QueryBuilder buildMatchPhraseQuery(final String f, final String text) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (text == null || text.length() != 1
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. src/main/webapp/js/chat.js

        }
        function renderMarkdown(text) {
            if (!text) return '';
            if (typeof marked === 'undefined' || typeof DOMPurify === 'undefined') {
                return escapeHtml(text);
            }
            initMarkdownSanitizer();
            // breaks: true to match server-side softbreak("<br/>")
            var html = marked.parse(text, { gfm: true, breaks: true });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  7. src/bufio/scan_test.go

    }
    
    // Test that the line splitter handles a final empty line with a carriage return but no newline.
    func TestScanLineEmptyFinalLineWithCR(t *testing.T) {
    	const text = "abcdefghijklmn\nopqrstuvwxyz\n\r"
    	lines := []string{
    		"abcdefghijklmn",
    		"opqrstuvwxyz",
    		"",
    	}
    	testNoNewline(text, lines, t)
    }
    
    var testError = errors.New("testError")
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            String text = "test text";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
            // Results may vary based on analyzer configuration
        }
    
        @Test
        public void testConvertWithMultipleLanguages() throws IOException {
            // Test convert with multiple languages
            String text = "test text";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

        @Test
        public void test_merge_emptyTags() {
            String[] text1 = { "test" };
            String[][] readings1 = { { "test" } };
            SuggestItem item1 = new SuggestItem(text1, readings1, null, 10L, 20L, 1.0f, new String[0], null, null, SuggestItem.Kind.QUERY);
    
            String[] text2 = { "test" };
            String[][] readings2 = { { "test" } };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain"),
                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 20.4K bytes
    - Click Count (0)
Back to Top