Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getIndexFieldDocId (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
    
            if (documentBoost > 0) {
                addBoostValue(map, documentBoost);
            }
    
            if (!map.containsKey(fessConfig.getIndexFieldDocId())) {
                map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(map);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final List<Map<String, Object>> docList = searchHelper.getDocumentListByDocIds(docIds, new String[] {
                        fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldDocId(), fessConfig.getIndexFieldFavoriteCount() },
                        OptionalThing.empty(), SearchRequestType.JSON);
                List<String> urlList = new ArrayList<>(docList.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            String url = DocumentUtil.getValue(document, fessConfig.getIndexFieldUrl(), String.class);
    
            if (StringUtil.isBlank(url)) {
                return "#not-found-" + DocumentUtil.getValue(document, fessConfig.getIndexFieldDocId(), String.class);
            }
    
            final boolean isSmbUrl = url.startsWith("smb:") || url.startsWith("smb1:");
            final boolean isFtpUrl = url.startsWith("ftp:");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * Get the value for the key 'index.field.doc_id'. <br>
         * The value is, e.g. doc_id <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getIndexFieldDocId();
    
        /**
         * Get the value for the key 'index.field.id'. <br>
         * The value is, e.g. _id <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top