Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for get$doc (1.61 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

         *
         * @param id the document ID to retrieve
         * @return JSON response containing the document
         */
        // GET /api/admin/searchlist/doc/{doc_id}
        @Execute
        public JsonResponse<ApiResult> get$doc(final String id) {
            return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals(4, sitemaps.length);
            assertEquals("http://www.example.com/page1.html", sitemaps[0].getLoc());
            assertEquals("http://www.example.com/page2.html", sitemaps[1].getLoc());
            assertEquals("http://www.example.com/page3.html", sitemaps[2].getLoc());
            assertEquals("https://www.example.com/page4.html", sitemaps[3].getLoc());
        }
    
        public void test_parseXmlSitemapsIndex_missingLoc() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final CreateForm form) {
            saveToken();
            form.initialize();
            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            return asEditHtml();
        }
    
        /**
         * Displays the form for editing an existing document.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 22.7K bytes
    - Viewed (1)
  4. src/test/java/jcifs/smb/DfsImplTest.java

            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
        void testGetDc_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
        }
    
        @Test
        void testGetDc_ConnectionFails() throws SmbAuthException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/DfsResolverTest.java

            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        // Test for getDc method
        @Test
        void testGetDc_DfsDisabled() throws CIFSException {
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertNull(dfsResolver.getDc(mockContext, "anyDomain"));
        }
    
        @Test
        void testGetDc_Success() throws CIFSException, IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         */
        public SitemapFile() {
            // Default constructor
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.Sitemap#getLoc()
         */
        @Override
        public String getLoc() {
            return loc;
        }
    
        /**
         * Sets the location of the sitemap.
         * @param loc the location URL to set
         */
        public void setLoc(final String loc) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb1/smb1/DfsTest.java

                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
                return super.getDc(domain, auth);
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/Sitemap.java

     */
    public interface Sitemap extends Serializable {
    
        /**
         * Retrieves the location (URL) of the sitemap.
         *
         * @return the location of the sitemap as a String.
         */
        String getLoc();
    
        /**
         * Retrieves the last modification date of the sitemap.
         *
         * @return A string representing the last modification date.
         */
        String getLastmod();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

         * @param auth the authentication credentials
         * @return an SMB transport to the domain controller
         * @throws SmbAuthException if authentication fails
         */
        public SmbTransport getDc(final String domain, final NtlmPasswordAuthentication auth) throws SmbAuthException {
            if (DISABLED) {
                return null;
            }
    
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            }
            try {
                client.prepareUpdate()
                        .setIndex(settingsIndexName)
                        .setId(settingsId)
                        .setDocAsUpsert(true)
                        .setDoc(key, value)
                        .setRetryOnConflict(5)
                        .execute()
                        .actionGet(getIndexTimeout());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
Back to top