Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for content2 (0.05 sec)

  1. BsRelatedContent.java

    ======== L140: public String getContent() { L141: checkSpecifiedProperty("content"); L142: return convertEmptyToNull(content); L143: } L144: L145: public void setContent(String value) { L146: registerModifiedProperty("content"); L147: this.content = value; L148: } L149: L150: public String getCreatedBy() { L151: checkSpecifiedProperty("createdBy"); L152: return convertEmptyToNull(createdBy);...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      7.1K bytes
  2. CurlTest.java

    Logger.getLogger(CurlTest.class.getName()); L28: L29: @Test L30: public void test_Get() { L31: Curl.get("https://www.codelibs.org/").execute(response -> { L32: final String content = response.getContentAsString(); L33: logger.info(content); L34: assertTrue(content.length() > 0); L35: }, e -> { L36: logger.log(Level.SEVERE, "error", e); L37: fail(); L38: }); L39: } L40: L41: /* L42: @Test L43: public void test_Get_ssl()...
    github.com/codelibs/curl4j/src/test/java/org/co...
    Mon Nov 14 21:05:19 UTC 2022
      2.5K bytes
  3. CurlResponse.java

    L67: throw new CurlException("Failed to access the content.", e); L68: } L69: } L70: L71: public InputStream getContentAsStream() throws IOException { L72: if (contentCache == null) { L73: if (contentException != null) { L74: throw new CurlException("The content does not exist.", contentException); L75: } else { L76: throw new CurlException("The content does not exist."); L77: } L78: } L79: ...
    github.com/codelibs/curl4j/src/main/java/org/co...
    Mon Nov 14 21:05:19 UTC 2022
      4K bytes
  4. SearchEngineUtil.java

    org.apache.logging.log4j.Logger; L25:import org.codelibs.fess.es.client.SearchEngineClient; L26:import org.lastaflute.di.exception.IORuntimeException; L27:import org.opensearch.core.xcontent.MediaType; L28:import org.opensearch.core.xcontent.ToXContent; L29:import org.opensearch.core.xcontent.XContentBuilder; L30:import org.opensearch.core.xcontent.XContentHelper; L31:import org.opensearch.search.SearchHit; L32: L33:public final class SearchEngineUtil { L34: L35: private static final Logger logger = LogManag...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.9K bytes
  5. RelatedContentService.java

    (StringUtil.isNotBlank(relatedContentPager.term)) { L75: cb.query().setTerm_Wildcard(wrapQuery(relatedContentPager.term)); L76: } L77: if (StringUtil.isNotBlank(relatedContentPager.content)) { L78: cb.query().setContent_Wildcard(wrapQuery(relatedContentPager.content)); L79: } L80: // TODO Long, Integer, String supported only. L81: L82: // setup condition L83: cb.query().addOrderBy_Term_Asc(); L84: cb.query().addOrderBy_CreatedTime_Asc();...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      3.6K bytes
  6. QueryProcessorTest.java

    queryProcessor = new QueryProcessor() { L34: protected FilterChain createDefaultFilterChain() { L35: return (context, query, boost) -> { L36: called.set(true); L37: return QueryBuilders.boolQuery(); L38: }; L39: } L40: }; L41: queryProcessor.init(); L42: L43: QueryContext context = new QueryContext(null, false); L44: MatchAllDocsQuery query = new MatchAllDocsQuery(); L45: L46: QueryBuilder...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.5K bytes
  7. FessBoot.java

    > 0 && contextPath.endsWith("/")) { L148: contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY); L149: } L150: final Context context = (Context) server.getHost().findChild(contextPath); L151: if (context != null) { L152: context.setResources(new FessWebResourceRoot(context)); L153: context.setCookieProcessor(new Rfc6265CookieProcessor()); L154: } L155: } L156: L157: @Override L158: protected BootPropsTranslator createBootPropsTranslator()...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      8K bytes
  8. NotificationHelper.java

    final String body = toSlackMessage(discloser); L50: StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> { L51: try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { L52: if (response.getHttpStatusCode() == 200) { L53: if (logger.isDebugEnabled()) { L54: logger.debug("Sent {} to {}.", body, url); L55: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      5.1K bytes
  9. FessBaseAction.java

    ========== L61: private static final Logger logger = LogManager.getLogger(FessBaseAction.class); L62: L63: /** The application type for FESs, e.g. used by access context. */ L64: protected static final String APP_TYPE = "FES"; // #change_it_first L65: L66: /** The user type for Admin, e.g. used by access context. */ L67: protected static final String USER_TYPE = "A"; L68: L69: // =================================================================================== L70: // ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      9.3K bytes
  10. TermRangeQueryCommand.java

    ncludesUpper() ? ']' : '}'); L67: final String origQuery = queryBuf.toString(); L68: context.addFieldLog(Constants.DEFAULT_FIELD, origQuery); L69: context.addHighlightedQuery(origQuery); L70: return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b)); L71: } L72: L73: context.addFieldLog(field, termRangeQuery.toString(field)); L74: final RangeQueryBuilder rangeQuery = Query...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      4.2K bytes
Back to top