- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for document (0.06 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
} /** * Extracts metadata from the PDF document and adds it to the extraction result. * @param document the PDF document * @param extractData the extraction data to add metadata to */ protected void extractMetadata(final PDDocument document, final ExtractData extractData) { final PDDocumentInformation info = document.getDocumentInformation(); if (info == null) { return;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
}); return extractData; } finally { xpathAPI.remove(); } } /** * Extracts strings from a document using the specified XPath expression. * * @param document the DOM document to extract strings from * @param path the XPath expression to evaluateRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java
ReadingConverter readingConverter, Normalizer normalizer); /** * Parses a document and extracts suggest items based on the provided fields and converters. * * @param document The document to parse, represented as a map of field names to values. * @param fields The fields to extract from the document. * @param tagFieldNames The names of the fields that contain tags.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
*/ package org.codelibs.fess.suggest.index.contents.document; import java.io.Closeable; import java.util.Map; /** * Interface for reading documents and extracting their contents into a map. * Implementations of this interface should provide the logic for reading * documents and converting them into a key-value structure. *
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* reader.setScrollSize(1000); // Set the scroll size * reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query * * Map<String, Object> document; * while ((document = reader.read()) != null) { * // Process the document * System.out.println(document); * } * * reader.close(); // Close the reader to release resources * } * </pre> */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java
} return tokens; } /** * Get field values. * @param document Document * @param fieldName Field name * @return Field values */ protected String[] getFieldValues(final Map<String, Object> document, final String fieldName) { final Object value = document.get(fieldName); if (value instanceof String) { return new String[] { value.toString() };Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 15.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
} /** * Returns the additional data for the response. * @param responseData The response data. * @param document The document. * @return The additional data. */ protected String getAdditionalData(final ResponseData responseData, final Document document) { return ""; } /** * Returns the result data footer. * @return The result data footer. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} /** * Indexes documents from an array of maps. * @param documents The documents to index. * @return The SuggestIndexResponse. */ public SuggestIndexResponse indexFromDocument(final Map<String, Object>[] documents) { final long start = System.currentTimeMillis(); try { final Stream<Map<String, Object>> stream = Stream.of(documents); if (parallel) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
README.md
``` ## Advanced Usage ### Index from Existing Documents ```java import org.codelibs.fess.suggest.index.contents.document.ESSourceReader; // Index suggestions from existing Elasticsearch documents DocumentReader reader = new ESSourceReader( client, suggester.settings(), "content-index", // source index "document" // document type ); suggester.indexer()
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1)