Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for example (0.02 sec)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue.setCreateTime(System.currentTimeMillis());
            urlQueue.setDepth(1);
            urlQueue.setMethod("GET");
            urlQueue.setSessionId("sessionId");
            urlQueue.setUrl("http://www.example.com/");
    
            urlQueueService.insert(urlQueue);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue")
                    .setQuery(QueryBuilders.termQuery("sessionId", "sessionId"))
                    .setSize(0)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * try (InputStream in = new FileInputStream("example.pdf")) {
     *     ExtractData extractData = new ExtractorBuilder(crawlerContainer, in, new HashMap<>())
     *         .mimeType("application/pdf")
     *         .filename("example.pdf")
     *         .maxContentLength(1024 * 1024)
     *         .extract();
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     *   <li>Conversion of individual Hankaku Kana characters to Zenkaku Kana characters.</li>
     *   <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li>
     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * </p>
     *
     * <p>
     * The class uses JCIFS properties to configure the SMB connection.
     * </p>
     *
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * {@code
     * SmbClient smbClient = new SmbClient();
     * smbClient.init();
     * ResponseData responseData = smbClient.doGet("smb1://example.com/share/file.txt");
     * // Process the responseData
     * smbClient.close();
     * }
     * </pre>
     *
     */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            String text = "test@example.com #hashtag $100";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(5, tokens.size());
            assertEquals("test", tokens.get(0).getTerm());
            assertEquals("example", tokens.get(1).getTerm());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * requests. It also allows for the replacement of placeholders in URLs and
     * parameters with actual credentials.
     *
     * <p>Usage example:
     * <pre>
     * {@code
     * Map<String, String> params = new HashMap<>();
     * params.put("token_url", "http://example.com/token");
     * params.put("login_url", "http://example.com/login");
     * FormScheme formScheme = new FormScheme(params);
     * formScheme.authenticate(credentials, executor);
     * }
     * </pre>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

     *   <li>{@link #getDataMap(AccessResultData)}: Parses XML content from {@link AccessResultData} and returns a map of the data.</li>
     * </ul>
     *
     * <h2>Usage Example:</h2>
     * <pre>
     * {@code
     * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>");
     * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
     * }
     * </pre>
     *
     * <h2>Thread Safety:</h2>
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

        /**
         * Regular expression pattern to match the charset attribute in the meta tag of HTML documents.
         * The pattern captures the charset value specified in the content attribute of the meta tag.
         * Example: &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
         */
        protected Pattern metaCharsetPattern = Pattern.compile("<meta.*content\\s*=\\s*['\"].*;\\s*charset=([\\w\\d\\-_]*)['\"]\\s*/?>",
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     * This class is used to encapsulate the header information for HTTP requests.
     * It provides methods to get and set the name and value of the header,
     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
     *     String name = header.getName();
     *     String value = header.getValue();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

     *
     * <p>The conversion is performed by iterating through the conversion map and applying
     * each replacement rule sequentially. The order of the rules in the map is preserved
     * during the conversion process.</p>
     *
     * <p>Example usage:</p>
     *
     * <pre>{@code
     * UrlConvertHelper helper = new UrlConvertHelper();
     * helper.add("old-domain.com", "new-domain.com");
     * String convertedUrl = helper.convert("http://old-domain.com/path");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top