Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for getIndexFieldDocId (0.31 sec)

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                final List<String> docIdList = new ArrayList<>();
                for (final Map<String, Object> map : documentItems) {
                    final Object docId = map.get(fessConfig.getIndexFieldDocId());
                    if (docId != null && docId.toString().length() > 0) {
                        docIdList.add(docId.toString());
                    }
                }
    
                if (!docIdList.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                            searchHelper.getDocumentListByDocIds(clickCountMap.keySet().toArray(new String[clickCountMap.size()]),
                                    new String[] { fessConfig.getIndexFieldDocId(), fessConfig.getIndexFieldLang() },
                                    OptionalThing.of(FessUserBean.empty()), SearchRequestType.ADMIN_SEARCH).stream().map(doc -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

                    return false;
                }
    
                public String getIndexFieldUrl() {
                    return "url";
                }
    
                public String getIndexFieldDocId() {
                    return "doc_id";
                }
            });
    
            // http
            assertUrlLink("http://www.codelibs.org/", //
                    "http://www.codelibs.org/");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15.1K 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