- Sort Score
- Num 10 results
- Language All
Results 1451 - 1460 of 2,546 for context (0.15 seconds)
-
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
String field = "content"; List<String> results = converter.convert(text, field, "en", "ja"); assertNotNull(results); // With multiple languages, should use ReadingConverterChain } @Test public void testConvertWithEmptyText() throws IOException { // Test convert with empty text String text = ""; String field = "content";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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
} /** * Inserts a new content element with the given name and text content. * * @param parent the parent element * @param name the name of the new element * @param content the text content * @return the new element * */ public static Element insertContentElement(Element parent, String name, String content) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
message = "Moved to extension function. Put the 'content' argument first to fix Java", replaceWith = ReplaceWith( expression = "content.toResponseBody(contentType)", imports = ["okhttp3.ResponseBody.Companion.toResponseBody"], ), level = DeprecationLevel.WARNING, ) fun create( contentType: MediaType?, content: String,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
tests/embedded_struct_test.go
t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name) } if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) { t.Errorf("Expected to get Author content %v but got: %v", NewPost.Author.Content, hnPost.Author.Content) } if hnPost.Author.ContentPtr != nil { t.Errorf("Expected to get nil Author contentPtr but got: %v", hnPost.Author.ContentPtr) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/META-INF/NOTICE.vm
http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" will mean the Content. If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party ("Redistributor") and different terms and conditions may apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise indicated below, the terms and conditions...
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Sep 10 19:27:25 GMT 2022 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
languageHelper.createScript(doc, "aaa").getIdOrCode()); } @Test public void test_getReindexScriptSource() { assertEquals( "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}", languageHelper.getReindexScriptSource());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
* * @param xContent the content object to convert * @param mediaType the media type for the output * @return an OutputStream containing the converted content */ public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) { return getXContentBuilderOutputStream((builder, params) -> xContent.toXContent(builder, params), mediaType); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
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; String field = "content"; String lang = "en";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) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/EditForm.java
import jakarta.validation.constraints.Size; /** * Form class for editing related content configurations in the admin interface. * This form extends CreateForm to include fields necessary for updating existing related content entries, * including tracking information for optimistic locking and audit trails. * Related content configurations define relationships between documents for enhanced search results. * */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java
document.put("content", ""); List<SuggestItem> items = parser.parseDocument(document, supportedFields, tagFieldNames, roleFieldName, "lang", defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer); // Empty string should produce empty or no items assertTrue("Empty content should not produce items", items.size() == 0); }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 20.3K bytes - Click Count (0)