Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isFacetField (0.05 sec)

  1. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

            for (final String f : sortFields) {
                if (f.equals(field)) {
                    return true;
                }
            }
            return false;
        }
    
        public boolean isFacetField(final String field) {
            if (StringUtil.isBlank(field)) {
                return false;
            }
            boolean flag = false;
            for (final String f : facetFields) {
                if (field.equals(f)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                stream(facetInfo.field).of(stream -> stream.forEach(f -> {
                    if (!queryFieldConfig.isFacetField(f)) {
                        throw new SearchQueryException("Invalid facet field: " + f);
                    }
                    final String encodedField = BaseEncoding.base64().encode(f.getBytes(StandardCharsets.UTF_8));
    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