Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,111 for asString (0.06 seconds)

  1. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

         */
        private void testReadFailureUrlLogs() {
            logger.info("[BEGIN] testReadFailureUrlLogs");
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", 100);
    
            String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");
    
            logger.info("Failure URL logs: {}", logs);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            // Test GET /api/admin/crawlinginfo/logs
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString();
            JsonPath jsonPath = JsonPath.from(response);
            assertEquals(0, jsonPath.getInt("response.status"));
            List<Map<String, Object>> logs = jsonPath.getList("response.logs");
            assertTrue(logs.size() >= 1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

    public class SuggestTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "";
        private static final String API_PATH = "/api/admin/suggest";
        private static final String LIST_ENDPOINT_SUFFIX = "";
        private static final String ITEM_ENDPOINT_SUFFIX = "";
    
        private static final String KEY_PROPERTY = "";
    
        @Override
        protected String getNamePrefix() {
            return NAME_PREFIX;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

         */
        private void testReadJobLogs() {
            logger.info("[BEGIN] testReadJobLogs");
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", 100);
    
            String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");
    
            logger.info("Job logs: {}", logs);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            // Clean up test documents
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("size", 1000);
            searchBody.put("q", NAME_PREFIX + "*");
    
            String response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
            List<Map<String, Object>> docs = JsonPath.from(response).getList("response.docs");
    
            for (Map<String, Object> doc : docs) {
    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/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            String wcQuery1 = "othe*";
            String wcQuery2 = "oth??s";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            int recordCount = JsonPath.from(response).getInt("record_count");
            assertTrue(recordCount > 0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            String response1 = checkGetMethod(searchBody, "").asString();
            Integer status1 = JsonPath.from(response1).get("response.status");
            assertEquals(Integer.valueOf(0), status1, "First call should return status 0");
    
            String response2 = checkGetMethod(searchBody, "").asString();
            Integer status2 = JsonPath.from(response2).get("response.status");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull()
    
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    
    fun KtDeclaration.getSince(): String? =
        docComment?.let { SINCE_REGEX.find(it.text)?.groupValues?.get(1) }
    
    
    private
    fun String.mapJavaTypeToKotlinType(): String {
        val javaTypeName = this
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

            searchParams.put("q", "*");
            String searchResponse = checkMethodBase(new HashMap<>()).params(searchParams).get("/api/v1/documents").asString();
            String queryId = JsonPath.from(searchResponse).getString("query_id");
    
            // Try to set favorite with invalid docId
            Map<String, String> params = new HashMap<>();
            params.put("queryId", queryId);
    
    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)
  10. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return response;
        }
    
        protected static String buildWebConfigJobScript(final String webCofigId) {
            return String.format("return container.getComponent(\"crawlJob\")" + ".logLevel(\"info\")" + ".sessionId(\"%s\")"
                    + ".webConfigIds([\"%s\"] as String[])" + ".jobExecutor(executor).execute();", webCofigId, webCofigId);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top