Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for QUERY2 (0.08 sec)

  1. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Set.of("QUERY1", "QUERY2"), //
                    buildQuery("QUERY1 AND QUERY2"));
    
            assertQuery(
                    functionScoreQuery(
                            orQuery(simpleQuery("QUERY1", titleBoost, contentBoost), simpleQuery("QUERY2", titleBoost, contentBoost))),
                    Map.of("_default", List.of("QUERY1", "QUERY2")), //
                    Set.of("QUERY1", "QUERY2"), //
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        @Test
        public void searchTestWithBoost() throws Exception {
            String field = "content";
            String query1 = "java";
            String query2 = "sample";
            Map<String, String> params = new HashMap<>();
            params.put("q", field + ":" + query1 + "^1000 OR " + field + ":" + query2);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top