Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for body (0.17 sec)

  1. src/test/java/org/codelibs/fess/it/admin/SearchListTests.java

                checkPostMethod(requestBody, getItemEndpointSuffix()).then().body("response.status", equalTo(0));
                refresh();
            }
    
            checkUpdate();
        }
    
        @Override
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            final String response = checkMethodBase(body).get(getApiPath() + "/" + getListEndpointSuffix()).asString();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String CRAWLER_DOCUMENT_FILE_APPEND_META_CONTENT = "crawler.document.file.append.meta.content";
    
        /** The key of the configuration. e.g. true */
        String CRAWLER_DOCUMENT_FILE_APPEND_BODY_CONTENT = "crawler.document.file.append.body.content";
    
        /** The key of the configuration. e.g.  */
        String CRAWLER_DOCUMENT_FILE_DEFAULT_LANG = "crawler.document.file.default.lang";
    
        /** The key of the configuration. e.g.  */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  3. 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)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        buf.append('{').append(escapeJsonKeyValue(DOC_ID_FIELD, docIdList.get(i))).append('}');
                    }
                }
                buf.append(']');
                body = buf.toString();
                writeJsonResponse(HttpServletResponse.SC_OK, body);
            } catch (final WebApiException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a favorites request.", e);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

                throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, msg), () -> asListHtml(this::saveToken));
            } else {
                try (final CurlResponse response = curlRequest.body(buf.toString()).execute()) {
                    final File tempFile = ComponentUtil.getSystemHelper().createTempFile("esreq_", ".json");
                    try (final InputStream in = response.getContentAsStream()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    .param("requests_per_second", requestsPerSecond).param("scroll", scroll).param("max_docs", maxDocs)
                    .param("wait_for_completion", Boolean.toString(waitForCompletion)).body(source).execute()) {
                if (response.getHttpStatusCode() == 200) {
                    return true;
                }
                logger.warn("Failed to reindex from {} to {}", fromIndex, toIndex);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K 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/util/UpgradeUtil.java

            try {
                final String source = FileUtil.readUTF8(filePath);
                try (CurlResponse response =
                        ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", path).body(source).execute()) {
                    if (response.getHttpStatusCode() == 200) {
                        logger.info("Register {} to {}", path, indexName);
                        return true;
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. 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)
Back to top