- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,014 for Content (0.33 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
Map<String, String> params = new HashMap<>(); params.put("Content-Type", "text/plain"); final ExtractData extractData = tikaExtractor.getText(in, params); final String content = extractData.getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); } // TODO tika needs to support pdfbox 2.0 // public void test_getTika_pdf() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} // Overwrite with new content String newContent = "New overwritten content that is longer"; try (OutputStream out = file.openOutputStream(false)) { out.write(newContent.getBytes("UTF-8")); } // Verify new content try (InputStream in = file.getInputStream()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
List<RelatedContent> testData = new ArrayList<>(); testData.add(createRelatedContent("term1", "Content for host1", "host1")); testData.add(createRelatedContent("term1", "Content for host2", "host2")); testData.add(createRelatedContent("term2", "Content for default", "")); mockBhv.setTestData(testData); int count = relatedContentHelper.load();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
import org.opensearch.core.xcontent.MediaType; import org.opensearch.core.xcontent.ToXContent; import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.core.xcontent.XContentHelper; import org.opensearch.search.SearchHit; /** * Utility class for search engine operations and content formatting. * Provides helper methods for working with XContent builders, scrolling through search results,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
// Write length if (content.length < 128) { baos.write(content.length); } else if (content.length < 256) { baos.write(0x81); // length of length = 1 baos.write(content.length); } else { baos.write(0x82); // length of length = 2 baos.write((content.length >> 8) & 0xFF); baos.write(content.length & 0xFF); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
import jakarta.annotation.PostConstruct; /** * Helper class for managing related content configurations. * This class provides functionality to load, cache, and retrieve related content * based on search queries and virtual host configurations. It supports both exact * term matching and regex pattern matching for flexible content association. */ public class RelatedContentHelper extends AbstractConfigHelper { /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
} return encoding; } /** * Extracts text content from the given content by removing tags and processing attributes. * @param content The content to extract from. * @return The extracted text. */ protected String extractString(final String content) { String input = content.replaceAll("[\\r\\n]", " "); if (ignoreCommentTag) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/CreateForm.java
public String term; /** * The related content to be displayed. */ @Required @Size(max = 10000) public String content; /** * The virtual host for which this related content applies. */ @Size(max = 1000) public String virtualHost; /** * The sort order for this related content (0-2147483647). */ @Min(value = 0) @Max(value = 2147483647)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java
* MimeTypeHelper provides methods to determine the content type of a given input stream or file. * It allows content type detection based on the stream's content and/or filename. */ public interface MimeTypeHelper { /** * Determines the content type of the given input stream and filename. * @param is the input stream to analyze * @param filename the filename to help determine the content type * @return the detected content type
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/resources/fess_config.properties
# Boost value for fuzzy content queries. query.boost.fuzzy.content=0.005 # Fuzziness for fuzzy content queries. query.boost.fuzzy.content.fuzziness=AUTO # Number of expansions for fuzzy content queries. query.boost.fuzzy.content.expansions=10 # Prefix length for fuzzy content queries. query.boost.fuzzy.content.prefix_length=0 # Whether to allow transpositions in fuzzy content queries.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0)