Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for kdoc (0.02 sec)

  1. ApiAdminDocumentsAction.java

    } L95: doc.put(indexFieldContentLength, contentLength); L96: } L97: if (!doc.containsKey(indexFieldFavoriteCount)) { L98: doc.put(indexFieldFavoriteCount, 0L); L99: } L100: if (!doc.containsKey(indexFieldClickCount)) { L101: doc.put(indexFieldClickCount, 0L); L102: } L103: if (!doc.containsKey(indexFieldBoost)) { L104: doc.put(indexFieldBoost, 1.0f); L105: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Jul 25 01:48:41 UTC 2024
      7.5K bytes
  2. AdminSearchlistAction.java

    L346: if (!fessConfig.validateIndexArrayFields(doc)) { L347: throwError.accept(messages -> fessConfig.invalidIndexArrayFields(doc).stream().map(s -> "doc." + s) L348: .forEach(s -> messages.addErrorsPropertyRequired(s, s))); L349: } L350: if (!fessConfig.validateIndexDateFields(doc)) { L351: throwError.accept(messages -> fessConfig.invalidIndexDateFields(doc).stream().map(s -> "doc." + s) L352: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Wed Jul 24 09:03:45 UTC 2024
      18.3K bytes
  3. ApiAdminSearchlistAction.java

    })).status(Status.OK).result()); L114: } L115: L116: // PUT /api/admin/searchlist/doc L117: @Execute L118: public JsonResponse<ApiResult> put$doc(final CreateBody body) { L119: validateApi(body, messages -> {}); L120: if (body.doc == null) { L121: throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "doc is required")); L122: } L123: validateFields(body.doc, this::throwValidationErrorApi); L124: body.crudMode = CrudMode.CREATE;...
    github.com/codelibs/fess/src/main/java/org/code...
    Wed Jul 24 09:03:45 UTC 2024
      10.2K bytes
  4. IndexingHelper.java

    umbnail(); L63: docList.stream().forEach(doc -> { L64: if (!thumbnailManager.offer(doc)) { L65: if (logger.isDebugEnabled()) { L66: logger.debug("Removing {}={} from doc[{}]", thumbnailField, doc.get(thumbnailField), L67: doc.get(fessConfig.getIndexFieldUrl())); L68: } L69: doc.remove(thumbnailField); L70: } L71: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      16.8K bytes
  5. SearchApiManager.java

    final List<String> docIdList = new ArrayList<>(urlList.size()); L725: for (final Map<String, Object> doc : docList) { L726: final String urlObj = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); L727: if (urlObj != null && urlList.contains(urlObj)) { L728: final String docIdObj = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class); L729: if (docIdObj != null) { L730: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Sat Oct 12 01:54:46 UTC 2024
      50.3K bytes
  6. ViewHelper.java

    Locale.ENGLISH; L556: } L557: String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); L558: if (url == null) { L559: url = ComponentUtil.getMessageManager().getMessage(locale, "labels.search_unknown"); L560: } L561: doc.put(fessConfig.getResponseFieldUrlLink(), getUrlLink(doc)); L562: String createdStr; L563: final Date created = DocumentUtil.getValue(doc, fessConfig.getIndexFieldCreated(), Date.class); L564: if (created...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      40.2K bytes
  7. ApiResult.java

    public ApiResult result() { L134: return new ApiResult(this); L135: } L136: } L137: L138: public static class ApiDocResponse extends ApiResponse { L139: protected Object doc; L140: L141: public ApiDocResponse doc(final Object doc) { L142: this.doc = doc; L143: return this; L144: } L145: L146: @Override L147: public ApiResult result() { L148: return new ApiResult(this); L149: } L150: } L151: L152: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      12.5K bytes
  8. AdminBackupAction.java

    2; L159: } else if (fileName.endsWith(".bulk")) { L160: fileType = 3; L161: } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) { L162: fileType = 4; L163: } else if (fileName.startsWith("doc") && fileName.endsWith(".json")) { L164: fileType = 5; L165: } else { L166: throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, fileName), this::asListHtml); L167: return; L168: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Sat Oct 12 01:54:46 UTC 2024
      28.5K bytes
  9. RankFusionProcessor.java

    logger.debug("[{}] {} docs / {} docs.", i, docList.size(), results[i].getAllRecordCount()); L227: } L228: for (int j = 0; j < docList.size(); j++) { L229: final Map<String, Object> doc = docList.get(j); L230: if (doc.get(idField) instanceof final String id) { L231: final float score = 1.0f / (rankConstant + j); L232: if (scoreDocMap.containsKey(id)) { L233: final Map<String, Object>...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      18.3K bytes
  10. FessFileTransformerTest.java

    L55: exp = "http://example.com/ใƒ†ใ‚นใƒˆ .html"; L56: assertEquals(exp, transformer.decodeUrlAsName(url, false)); L57: L58: url = "file://C++.doc"; L59: exp = "file://C++.doc"; L60: assertEquals(exp, transformer.decodeUrlAsName(url, true)); L61: L62: url = "file://C .doc"; L63: exp = "file://C .doc"; L64: assertEquals(exp, transformer.decodeUrlAsName(url, true)); L65: L66: url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.ht...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Jul 04 06:20:49 UTC 2024
      9.8K bytes
Back to top