Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for body (0.15 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <aaa>ccc</bbb> </p> </body></html>";
            document = getDocument(data);
            value = transformer.getSingleNodeValue(document, "//BODY", node -> node);
            assertEquals("aaa bbb ccc", value);
    
            data = "<html><body> aaa <p> bbb <!-- test -->ccc<!-- test --> </p> </body></html>";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        protected static void createJob(final Map<String, Object> requestBody) {
            checkMethodBase(requestBody).put("/api/admin/scheduler/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        protected static void startJob(final String namePrefix) {
            for (int i = 0; i < 30; i++) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            validateApi(body, messages -> {});
    
            if (StringUtil.isBlank(body.q)) {
                // query matches on all documents.
                body.q = Constants.MATCHES_ALL_QUERY;
            }
    
            final SearchRenderData renderData = new SearchRenderData();
            body.initialize();
            try {
                searchHelper.search(body, renderData, getUserBean());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            // title
            // content
            final String body = getSingleNodeValue(document, getContentXpath(fessConfig, xpathConfigMap),
                    prunedContent ? node -> pruneNode(node, crawlingConfig) : node -> node);
            final String fileName = getFileName(url, urlEncoding);
            putResultDataContent(dataMap, responseData, fessConfig, crawlingConfig, documentHelper, body, fileName);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final String bodyBase = buf.toString().trim();
            responseData.addMetaData(Extractor.class.getSimpleName(), extractor);
            final String body = documentHelper.getContent(crawlingConfig, responseData, bodyBase, dataMap);
            putResultDataBody(dataMap, fessConfig.getIndexFieldContent(), body);
            if ((Constants.TRUE.equalsIgnoreCase(fieldConfigMap.get(fessConfig.getIndexFieldCache()))
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final Map<String, String> configParam = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG);
                if (configParam != null && Constants.TRUE.equalsIgnoreCase(configParam.get(Param.Config.KEEP_ORIGINAL_BODY))) {
                    return content;
                }
            }
    
            if (responseData.getMetaDataMap().get(Extractor.class.getSimpleName()) instanceof TikaExtractor) {
                return content;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

        }
    
        private boolean matchesTag(final PrunedTag tag, final String text) throws Exception {
            final DOMParser parser = new DOMParser();
            final String html = "<html><body>" + text + "</body></html>";
            final ByteArrayInputStream is = new ByteArrayInputStream(html.getBytes("UTF-8"));
            parser.parse(new InputSource(is));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                                    .header("Accept", "application/json").header("Content-type", "application/json")
                                    .body("{\"securityEnabledOnly\":false}").execute()) {
                        final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
                        if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

            return null;
        }
    
        private void sendDictionaryContent(final String path, final String content) {
            try (CurlResponse response = ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(content).execute()) {
                if (response.getHttpStatusCode() == 200) {
                    logger.info("Updated {}", path);
                } else if (response.getContentException() != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
     * callers. Instead, accept {@link Iterable} and have your method or constructor body pass it to the
     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
Back to top