Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toQueryBuilder (0.17 sec)

  1. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

                    "{\"geo_distance\":{\"location\":[150.0,34.0],\"distance\":10000.0,\"distance_type\":\"arc\",\"validation_method\":\"STRICT\",\"ignore_unmapped\":false,\"boost\":1.0}}";
            assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", ""));
        }
    
        public void test_34_150_10_x() {
            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.x.point", "34,150");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                StreamUtil.stream(queryBuilders).of(stream -> stream.forEach(boolQuery::must));
                builder = boolQuery;
            }
    
        }
    
        public QueryBuilder toQueryBuilder() {
            return builder;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                        });
                    }
    
                    if (geoInfo != null && geoInfo.toQueryBuilder() != null) {
                        context.addQuery(boolQuery -> boolQuery.filter(geoInfo.toQueryBuilder()));
                    }
                });
            }
    
            protected CollapseBuilder getCollapseBuilder(final FessConfig fessConfig) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top