Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 53 for docid2 (0.04 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/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)
  3. 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)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            doc1.put("url", "http://example.com/install");
            msg.addSource(new ChatSource(1, doc1));
            final Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Quick Start");
            doc2.put("url", "http://example.com/start");
            msg.addSource(new ChatSource(2, doc2));
    
            final String result = chatClient.testBuildAssistantHistoryContent(msg, "source_titles", 500, 500);
    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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            UserInfoHelper userInfoHelper = new UserInfoHelper();
            MockletHttpServletRequest request = getMockRequest();
    
            String[] docIds = userInfoHelper.getResultDocIds("nonExistentQuery");
            assertEquals(0, docIds.length);
        }
    
        @Test
        public void test_setters() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. 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)
Back to Top