Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 48 for docid (0.03 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                // Override to avoid null pointer issues
                final String docid = (String) docMap.get("_id");
                if (docid == null) {
                    return "default.jpg";
                }
                return getImageFilename(docid);
            }
    
            @Override
            public void destroy() {
                // Override to avoid null pointer issues with thread
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                        final String docId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class);
                                        if (id != null && docId != null && clickCountMap.containsKey(docId)) {
                                            final Integer count = clickCountMap.get(docId);
                                            final Script script = ComponentUtil.getLanguageHelper()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/ChatMessage.java

             * @return the document ID
             */
            public String getDocId() {
                return docId;
            }
    
            /**
             * Sets the document ID.
             *
             * @param docId the document ID
             */
            public void setDocId(final String docId) {
                this.docId = docId;
            }
    
            /**
             * Gets the source snippet.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            for (Map<String, Object> doc : docs) {
                String docId = doc.get("doc_id").toString();
                given().contentType("application/json").header("Authorization", getTestToken()).delete(SEARCHLIST_API_PATH + "/doc/" + docId);
            }
            refresh();
    
            deleteTestToken();
        }
    
        @Override
        protected String getNamePrefix() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertEquals("/go/?rt=1710000000&docId=doc123&queryId=query456&order=0", url);
        }
    
        @Test
        public void test_buildGoUrl_withContextPath() {
            final String url = chatClient.testBuildGoUrl("/fess", "doc123", "query456", 1710000000L, 2);
            assertEquals("/fess/go/?rt=1710000000&docId=doc123&queryId=query456&order=2", url);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

                    "file://home/taro/%E3%81%82.txt");
    
            assertUrlLink(null, "#not-found-docId");
            assertUrlLink("", "#not-found-docId");
            assertUrlLink(" ", "#not-found-docId");
        }
    
        private void assertUrlLink(String url, String expected) {
            Map<String, Object> doc = new HashMap<>();
            doc.put("doc_id", "docId");
            doc.put("url", url);
            assertEquals(expected, viewHelper.getUrlLink(doc));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
                    docId = (String) form.doc.get(fessConfig.getIndexFieldDocId());
                } else {
                    docId = null;
                }
                if (StringUtil.isNotBlank(docId)) {
                    return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/chat/ChatClient.java

                // Reorder results to match original docIds order (preserve search score order)
                final Map<String, Map<String, Object>> resultMap = new LinkedHashMap<>();
                for (final Map<String, Object> doc : results) {
                    final String docId = (String) doc.get("doc_id");
                    if (docId != null) {
                        resultMap.put(docId, doc);
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 56.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "docId is empty.");
                }
                final String docId = docIdObj.toString();
                final String queryId = request.getParameter("queryId");
    
                final String[] docIds = userInfoHelper.getResultDocIds(URLDecoder.decode(queryId, Constants.UTF_8));
                if (docIds == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                }
            }
    
            final BulkRequestBuilder bulkDelete = client.prepareBulk();
            for (final String docId : docIds) {
                bulkDelete.add(client.prepareDelete().setIndex(indexName).setId(docId));
            }
            bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout());
    
            // Delete any remaining events beyond the search size limit (discard overflow)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top