- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for geoInfo (0.18 sec)
-
src/main/java/org/codelibs/fess/entity/GeoInfo.java
import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import jakarta.servlet.http.HttpServletRequest; public class GeoInfo { private QueryBuilder builder; public GeoInfo(final HttpServletRequest request) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String[] geoFields = fessConfig.getQueryGeoFieldsAsArray();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
request.setParameter("geo.location.distance", "10km"); final GeoInfo geoInfo = new GeoInfo(request); String result = "{\"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]", "")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} public void setDefaultFacetInfo(final FacetInfo defaultFacetInfo) { this.defaultFacetInfo = defaultFacetInfo; } public GeoInfo getDefaultGeoInfo() { return defaultGeoInfo; } public void setDefaultGeoInfo(final GeoInfo defaultGeoInfo) { this.defaultGeoInfo = defaultGeoInfo; } public String generateId() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
if (StringUtil.isNotBlank(missing)) { facetInfo.missing = missing; } return facetInfo; } protected GeoInfo createGeoInfo(final HttpServletRequest request) { return new GeoInfo(request); } public enum SearchRequestType { SEARCH, ADMIN_SEARCH, JSON, GSA, SUGGEST; } public String[] getResponseFields() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java
*/ package org.codelibs.fess.util; import java.util.Collections; import java.util.Locale; import java.util.Map; import org.codelibs.fess.entity.FacetInfo; import org.codelibs.fess.entity.GeoInfo; import org.codelibs.fess.entity.HighlightInfo; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.unit.UnitFessTestCase; public class QueryStringBuilderTest extends UnitFessTestCase {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/SearchForm.java
import java.util.HashMap; import java.util.Locale; import java.util.Map; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.entity.FacetInfo; import org.codelibs.fess.entity.GeoInfo; import org.codelibs.fess.entity.HighlightInfo; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
import java.util.HashMap; import java.util.Locale; import java.util.Map; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.entity.FacetInfo; import org.codelibs.fess.entity.GeoInfo; import org.codelibs.fess.entity.HighlightInfo; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.util.ComponentUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
public SearchConditionBuilder size(final int size) { this.size = size; return this; } public SearchConditionBuilder geoInfo(final GeoInfo geoInfo) { this.geoInfo = geoInfo; return this; } public SearchConditionBuilder highlightInfo(final HighlightInfo highlightInfo) { this.highlightInfo = highlightInfo;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
import org.codelibs.core.lang.StringUtil; import org.codelibs.core.stream.StreamUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.entity.FacetInfo; import org.codelibs.fess.entity.GeoInfo; import org.codelibs.fess.entity.HighlightInfo; import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.mylasta.action.FessUserBean; import org.codelibs.fess.mylasta.direction.FessConfig;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
return SearchConditionBuilder.builder(searchRequestBuilder).query(query).offset(params.getStartPosition()) .size(params.getPageSize()).facetInfo(params.getFacetInfo()).geoInfo(params.getGeoInfo()) .highlightInfo(params.getHighlightInfo()).similarDocHash(params.getSimilarDocHash()) .responseFields(params.getResponseFields()).searchRequestType(params.getType())
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0)