Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for geoInfo (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. internal/disk/stat_netbsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

    
        /**
         * @return the filesystem info
         */
        public FileSystemInformation getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the filesystem info
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends FileSystemInformation> T getInfo ( Class<T> clazz ) throws CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        }
    
    
        /**
         * @return the information
         */
        public Decodable getInfo () {
            return this.info;
        }
    
    
        /**
         * @param clazz
         * @return the information
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. internal/disk/stat_bsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top