Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for Document (0.04 sec)

  1. 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 evaluate
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            }
        }
    
        /**
         * Checks if a document exists in the OpenSearch index for the given session ID and URL.
         *
         * @param sessionId The session ID of the document.
         * @param url The URL of the document.
         * @return true if the document exists, false otherwise.
         * @throws OpenSearchAccessException if the existence check fails.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                inputSource.setEncoding(enc);
                parser.parse(inputSource);
                final Document document = parser.getDocument();
    
                final StringBuilder buf = new StringBuilder(255);
                final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath);
                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. 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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

        }
    
        /**
         * Returns additional data for the result.
         * @param responseData The response data.
         * @param document The XML document.
         * @return Additional data as a string.
         */
        protected String getAdditionalData(final ResponseData responseData, final Document document) {
            return "";
        }
    
        /**
         * Returns the footer for the result data.
         * @return The result data footer.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top