Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 35 for getHits (0.04 seconds)

  1. src/test/java/org/codelibs/fess/it/CrudTestBase.java

        }
    
        protected List<Map<String, Object>> getItemList(final Map<String, Object> body) {
            String response = checkGetMethod(body, getListEndpointSuffix()).asString();
            return JsonPath.from(response).getList(getJsonPath());
        }
    
        protected List<String> getIdList(final Map<String, Object> body) {
            return getPropList(body, getIdKey());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            JsonPath jsonPath = JsonPath.from(searchResponse);
            String queryId = jsonPath.getString("query_id");
            List<Map<String, Object>> docs = jsonPath.getList("data");
    
            if (docs != null && !docs.isEmpty()) {
                String docId = docs.get(0).get("doc_id").toString();
    
                // Set favorite
                Map<String, String> params = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/service/UserServiceTest.java

        }
    
        @Test
        public void test_user_city() {
            final User user = new User();
            assertNull(user.getCity());
    
            user.setCity("San Francisco");
            assertEquals("San Francisco", user.getCity());
        }
    
        @Test
        public void test_user_postOfficeBox() {
            final User user = new User();
            assertNull(user.getPostOfficeBox());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java

            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            // data is an array of strings
            assertTrue(jsonPath.getList("data") != null);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            searchBody.put("name", "test_fileconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/fileconfig/settings").asString();
            List<String> fileConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_fileconfig\")}.id");
            return fileConfigList.get(0);
        }
    
        @AfterEach
        void deleteFileConfig() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            searchBody.put("name", "test_webconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/webconfig/settings").asString();
            List<String> webConfigList = JsonPath.from(res).getList("response.settings.findAll {it.name.startsWith(\"test_webconfig\")}.id");
            return webConfigList.get(0);
        }
    
        @AfterEach
        void deleteWebConfig() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java

                    .get("/api/v1/suggest-words")
                    .asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            List<Object> data = jsonPath.getList("data");
            if (data != null) {
                assertTrue(data.size() <= 5, "Number of results should be at most 5");
            }
        }
    
        @Test
        public void testSuggestWords_withLabel() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param u the URL string to process
         * @param encoding the character encoding to use for URL decoding
         * @return the processed site path, abbreviated if necessary
         */
        default String getSite(final String u, final String encoding) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            int idx = url.indexOf("://");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        }
    
        private static boolean isKotlinBooleanSourceCompatibilityMethod(JApiMethod jApiMethod, Map<AccessorKey, UpgradedProperty> currentMethods) {
            if (!jApiMethod.getName().startsWith("getIs")) {
                return false;
            }
            String methodName = "get" + jApiMethod.getName().substring(5);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top