Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for geo (0.13 sec)

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

            request.setParameter("geo.location.1.point", "34,150");
            request.setParameter("geo.location.1.distance", "10km");
            request.setParameter("geo.location.2.point", "35,151");
            request.setParameter("geo.location.2.distance", "1km");
    
            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
                            if (key.startsWith("geo." + geoField + ".")) {
                                final String distanceKey = key.replaceFirst(".point$", ".distance");
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static String geoQuery() {
            return createQuery(Constants.GEO_QUERY, GEO_PREFIX);
        }
    
        public static String facetForm() {
            return createForm(Constants.FACET_FORM, FACET_PREFIX);
        }
    
        public static String geoForm() {
            return createForm(Constants.GEO_FORM, GEO_PREFIX);
        }
    
        public static List<FacetQueryView> facetQueryViewList() {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        protected void buildInitParams() {
            buildInitParamMap(viewHelper.getInitFacetParamMap(), Constants.FACET_QUERY, Constants.FACET_FORM);
            buildInitParamMap(viewHelper.getInitGeoParamMap(), Constants.GEO_QUERY, Constants.GEO_FORM);
        }
    
        protected void buildInitParamMap(final Map<String, String> paramMap, final String queryKey, final String formKey) {
            if (!paramMap.isEmpty()) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

                default: 0
                example: 0
            - name: geo.location.point
              in: query
              description: Latitude and Longitude for Geo search
              required: false
              schema:
                type: string
                example: 35.0,139.0
            - name: geo.location.distance
              in: query
              description: Distance for Geo search
              required: false
              schema:
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jun 19 13:30:00 GMT 2023
    - 21.6K bytes
    - Viewed (1)
  6. module.xml

    			<param name="module.zip.version" value="${opensearch.version}" />
    		</antcall>
    		<!-- geo -->
    		<antcall target="install.module">
    			<param name="repo.url" value="${maven.release.repo.url}" />
    			<param name="module.groupId" value="org/codelibs/opensearch/module" />
    			<param name="module.name.prefix" value="" />
    			<param name="module.name" value="geo" />
    			<param name="module.version" value="${opensearch.version}" />
    XML
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Apr 04 02:03:51 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body/test_tutorial001.py

            headers={"Content-Type": "application/json"},
        )
        assert response.status_code == 200, response.text
    
    
    def test_geo_json(client: TestClient):
        response = client.post(
            "/items/",
            content='{"name": "Foo", "price": 50.5}',
            headers={"Content-Type": "application/geo+json"},
        )
        assert response.status_code == 200, response.text
    
    
    def test_no_content_type_is_json(client: TestClient):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 14.7K bytes
    - Viewed (4)
  8. tests/test_tutorial/test_body/test_tutorial001_py310.py

        )
        assert response.status_code == 200, response.text
    
    
    @needs_py310
    def test_geo_json(client: TestClient):
        response = client.post(
            "/items/",
            content='{"name": "Foo", "price": 50.5}',
            headers={"Content-Type": "application/geo+json"},
        )
        assert response.status_code == 200, response.text
    
    
    @needs_py310
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. src/main/webapp/WEB-INF/fe.tld

        <function-signature>java.lang.String mltQuery()</function-signature>
        <example>
          ${fe:mltQuery()}
        </example>
      </function>
    
      <function>
        <description>
          Returns query parameters for Geo.
        </description>
        <name>geoQuery</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String geoQuery()</function-signature>
        <example>
    Plain Text
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu May 28 07:49:35 GMT 2020
    - 10K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/Constants.java

        // view parameters
    
        public static final String FACET_QUERY = "fess.FacetQuery";
    
        public static final String GEO_QUERY = "fess.GeoQuery";
    
        public static final String FACET_FORM = "fess.FacetForm";
    
        public static final String GEO_FORM = "fess.GeoForm";
    
        public static final String LABEL_VALUE_MAP = "fess.LabelValueMap";
    
        public static final String OPTION_QUERY_Q = "q";
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
Back to top