- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for doc_id (0.08 sec)
-
IndexingHelperTest.java
docList.size()); L152: assertEquals(0, deletedDocIdList.size()); L153: L154: docList.clear(); L155: deletedDocIdList.clear(); L156: docList.add(new HashMap<>(Map.of(// L157: "config_id", "W01", // L158: "doc_id", "1", // L159: "url", "http://test.com/001"// L160: ))); L161: documentSizeByQuery = oldDocList.size(); L162: assertEquals(0, indexingHelper.deleteOldDocuments(client, docList)); L163: assertEquals(1, docList.size());...github.com/codelibs/fess/src/test/java/org/code...Wed Jul 24 08:54:24 UTC 2024 23.4K bytes -
ApiAdminSearchlistAction.java
messages.addErrorsResultSizeExceeded(GLOBAL)); L98: } L99: L100: throwValidationErrorApi(messages -> messages.addErrorsInvalidQueryUnknown(GLOBAL)); L101: return null; // ignore L102: } L103: L104: // GET /api/admin/searchlist/doc/{doc_id} L105: @Execute L106: public JsonResponse<ApiResult> get$doc(final String id) { L107: return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { L108: build...github.com/codelibs/fess/src/main/java/org/code...Wed Jul 24 09:03:45 UTC 2024 10.2K bytes -
openapi-user.yaml
NotFound' L440: '500': L441: $ref: '#/components/responses/InternalServerError' L442: L443: /documents/{docId}/favorite: L444: post: L445: tags: L446: - favorite L447: summary: Set a favorite mark L448: description: Set a favorite mark to the document L449: operationId: setFavorite L450: parameters: L451: - name: docId L452: in: path L453: description: Document ID to be favorited L454: required: true L455: ...github.com/codelibs/fess/src/main/config/openap...Thu May 09 06:31:27 UTC 2024 21.6K bytes -
SearchApiManager.java
null) { L611: throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "docId is empty."); L612: } L613: final String docId = docIdObj.toString(); L614: final String queryId = request.getParameter("queryId"); L615: L616: final String[] docIds = userInfoHelper.getResultDocIds(URLDecoder.decode(queryId, Constants.UTF_8)); L617: if (docIds == null) { L618: throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST,...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 50.3K bytes -
fess_config.properties
al_password=admin L298: L299:# field names L300:index.field.favorite_count=favorite_count L301:index.field.click_count=click_count L302:index.field.config_id=config_id L303:index.field.expires=expires L304:index.field.url=url L305:index.field.doc_id=doc_id L306:index.field.id=_id L307:index.field.version=_version L308:index.field.seq_no=_seq_no L309:index.field.primary_term=_primary_term L310:index.field.lang=lang L311:index.field.has_cache=has_cache L312:index.field.last_modified=last_modified ...github.com/codelibs/fess/src/main/resources/fes...Tue Oct 01 14:13:38 UTC 2024 30.9K bytes -
FessConfig.java
String INDEX_FIELD_EXPIRES = "index.field.expires"; L567: L568: /** The key of the configuration. e.g. url */ L569: String INDEX_FIELD_URL = "index.field.url"; L570: L571: /** The key of the configuration. e.g. doc_id */ L572: String INDEX_FIELD_doc_id = "index.field.doc_id"; L573: L574: /** The key of the configuration. e.g. _id */ L575: String INDEX_FIELD_ID = "index.field.id"; L576: L577: /** The key of the configuration. e.g. _version */ L578: String INDEX_FIELD_VERSION =...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 468.5K bytes -
SearchHelper.java
builder.setQuery(boolQuery); L307: builder.setFetchSource(fields, null); L308: queryHelper.processSearchPreference(builder, userBean, docId); L309: return true; L310: }); L311: L312: } L313: L314: public List<Map<String, Object>> getDocumentListByDocIds(final String[] docIds, final String[] fields, L315: final OptionalThing<FessUserBean> userBean, final SearchRequestType searchRequestType) { L316: final FessConfig fessConfig...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 19.1K bytes -
ThumbnailManager.java
fessConfig = ComponentUtil.getFessConfig(); L299: final String docid = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldDocId(), String.class); L300: return getImageFilename(docid); L301: } L302: L303: protected String getImageFilename(final String docid) { L304: final StringBuilder buf = new StringBuilder(50); L305: for (int i = 0; i < docid.length(); i += splitSize) { L306: int hash = docid.substring(i).hashCode() % splitHashSize; L307: if (hash...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 21.5K bytes -
SearchLogHelper.java
DocumentUtil.getValue(doc, fessConfig.getIndexFieldId(), String.class); L397: final String docId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class); L398: if (id != null && docId != null && clickCountMap.containsKey(docId)) { L399: final Integer count = clickCountMap.get(docId); L400: final Script script = ComponentUtil.getLanguageHelper().createScript(doc,...github.com/codelibs/fess/src/main/java/org/code...Mon Jul 22 02:07:37 UTC 2024 21.7K bytes -
AdminSearchlistAction.java
y)); L394: return OptionalEntity.of(entity); L395: case CrudMode.EDIT: L396: final String docId; L397: if (form.doc != null) { L398: docId = (String) form.doc.get(fessConfig.getIndexFieldDocId()); L399: } else { L400: docId = null; L401: } L402: if (StringUtil.isNotBlank(docId)) { L403: return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { L404:...github.com/codelibs/fess/src/main/java/org/code...Wed Jul 24 09:03:45 UTC 2024 18.3K bytes