Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getIndexFieldDocId (0.34 sec)

  1. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                responseFields = fessConfig.getQueryAdditionalResponseFields(//
                        SCORE_FIELD, //
                        fessConfig.getIndexFieldId(), //
                        fessConfig.getIndexFieldDocId(), //
                        fessConfig.getIndexFieldBoost(), //
                        fessConfig.getIndexFieldContentLength(), //
                        fessConfig.getIndexFieldHost(), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                entity.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(entity));
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
                    docId = (String) form.doc.get(fessConfig.getIndexFieldDocId());
                } else {
                    docId = null;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                    new ApiUpdateResponse().id(doc.get(fessConfig.getIndexFieldDocId()).toString()).created(false).status(Status.OK).result());
        }
    
        // DELETE /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> delete$doc(final String id) {
            try {
                final QueryBuilder query = QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), id);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        }
                        return DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                    }).forEach(docId -> {
                        boolQuery.should(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                    });
    
                    if (boolQuery.hasClauses()) {
                        if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
            if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) {
                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                        new String[] { fessConfig.getIndexFieldId(), fessConfig.getIndexFieldDocId() });
                for (final Map<String, Object> doc : docs) {
                    final Object oldIdValue = doc.get(fessConfig.getIndexFieldId());
                    if (oldIdValue != null && !idValue.equals(oldIdValue)) {
                        final Object oldDocIdValue = doc.get(fessConfig.getIndexFieldDocId());
                        if (oldDocIdValue != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        }
    
        protected String getImageFilename(final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String docid = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldDocId(), String.class);
            return getImageFilename(docid);
        }
    
        protected String getImageFilename(final String docid) {
            final StringBuilder buf = new StringBuilder(50);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

                return redirect(ErrorAction.class);
            }
    
            final StreamResponse response = asStream(DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class))
                    .contentType("text/html; charset=UTF-8").data(content.getBytes(Constants.CHARSET_UTF_8));
            response.headerContentDispositionInline(); // TODO will be fixed in lastaflute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            }
            final String indexFieldId = fessConfig.getIndexFieldId();
            final String indexFieldDocId = fessConfig.getIndexFieldDocId();
            final String indexFieldContentLength = fessConfig.getIndexFieldContentLength();
            final String indexFieldTitle = fessConfig.getIndexFieldTitle();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final BoolQueryBuilder boolQuery =
                        QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(SearchRequestType.JSON); // TODO SearchRequestType?
                final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top