Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for simplifyArray (0.07 sec)

  1. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        protected static String[] simplifyArray(final String[] values) {
            return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
        }
    
        public static String[] getParamValueArray(final HttpServletRequest request, final String param) {
            return simplifyArray(request.getParameterValues(param));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    final String key = entry.getKey();
                    if (key.startsWith("fields.")) {
                        final String[] value = simplifyArray(entry.getValue());
                        fields.put(key.substring("fields.".length()), value);
                    }
                }
                return fields;
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top