- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for qalter (0.05 sec)
-
IOIntegrationTest.java
+ countTmpFiles()); L101: }, e -> {}); L102: long after = countTmpFiles(); L103: logger.info("After close response. Number of temp files: " + after); L104: L105: // ## Assert ## L106: assertEquals(before, after); L107: } L108: L109: private long countTmpFiles() { L110: return Arrays.stream(Objects.requireNonNull(Curl.tmpDir.listFiles())).map(File::getName) L111: .filter(s -> s.startsWith(PREFIX) && s.endsWith(SUFFIX)).count(); L112: ...github.com/codelibs/curl4j/src/test/java/org/co...Mon Nov 14 21:05:19 UTC 2022 3.4K bytes -
EncodingFilterTest.java
L53: final EncodingFilter filter = new EncodingFilter(); L54: Map<String, String[]> paramMap; L55: L56: paramMap = filter.parseQueryString("a=", "UTF-8"); L57: assertEquals(1, paramMap.size()); L58: assertEquals("", paramMap.get("a")[0]); L59: L60: paramMap = filter.parseQueryString("a", "UTF-8"); L61: assertEquals(1, paramMap.size()); L62: assertEquals("", paramMap.get("a")[0]); L63: L64: paramMap = filter.parseQueryString("=1", "UTF-8");...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.3K bytes -
QueryStringBuilder.java
fessConfig.getQueryMaxLengthAsInteger(); L159: L160: stream(conditions.get(SearchRequestParams.AS_OCCURRENCE)) L161: .of(stream -> stream.filter(this::isOccurrence).findFirst().ifPresent(q -> queryBuf.insert(0, q + ":"))); L162: L163: stream(conditions.get(SearchRequestParams.AS_Q)).of(stream -> stream L164: .filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength).forEach(q -> queryBuf.append(' ').append(q))); L165: stream(conditions.get(Sear...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.7K bytes -
FacetResponse.java
L20:import java.util.LinkedHashMap; L21:import java.util.List; L22:import java.util.Map; L23: L24:import org.codelibs.fess.Constants; L25:import org.opensearch.search.aggregations.Aggregations; L26:import org.opensearch.search.aggregations.bucket.filter.Filter; L27:import org.opensearch.search.aggregations.bucket.terms.Terms; L28: L29:import com.google.common.io.BaseEncoding; L30: L31:public class FacetResponse { L32: protected Map<String, Long> queryCountMap = new LinkedHashMap<>(); L33: L34: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.3K bytes -
QueryProcessorTest.java
assertTrue(called.get()); L48: assertEquals(BoolQueryBuilder.class, queryBuilder.getClass()); L49: L50: called.set(false); L51: final AtomicBoolean calledFirst = new AtomicBoolean(false); L52: queryProcessor.addFilter(new QueryProcessor.Filter() { L53: @Override L54: public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) { L55: calledFirst.set(true); L56: assertFalse(called.get()); L57: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.5K bytes -
WebApiFilter.java
License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.filter; L17: L18:import java.io.IOException; L19: L20:import org.codelibs.fess.api.WebApiManager; L21:import org.codelibs.fess.api.WebApiManagerFactory; L22:import org.codelibs.fess.util.ComponentUtil; L23: L24:import jakarta.servlet.Filter; L25:import jakarta.servlet.FilterChain; L26:import jakarta.servlet.FilterConfig; L27:import jakarta.servlet.ServletException; L28:import...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 1.9K bytes -
SamlCredential.java
final String value = fessConfig.getSystemProperty("saml.default.groups"); L85: if (StringUtil.isNotBlank(value)) { L86: split(value, ",").of(stream -> stream.forEach(list::add)); L87: } L88: return list.stream().filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]); L89: } L90: L91: protected String[] getDefaultRolesAsArray() { L92: final List<String> list = new ArrayList<>(); L93: final FessConfig fessConfig = Compone...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.6K bytes -
ApiAdminWebconfigAction.java
elper(); L148: body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) L149: .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); L150: body.virtualHosts = stream(entity.getVirtualHosts()) L151: .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n"))); L152: return body; L153: } L154:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7K bytes -
ExecJob.java
es(final List<String> cmdList) { L151: System.getProperties().keySet().stream().filter(k -> k != null && k.toString().startsWith(Constants.FESS_CONFIG_PREFIX)) L152: .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null)); L153: } L154: L155: protected void addFessSystemProperties(final List<String> cmdList) { L156: System.getProperties().keySet().stream().filter(k -> k != null && k.toString().startsWith(Constants.SYSTEM_PROP_PREFIX)) L157: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 7.7K bytes -
OpenIdConnectCredential.java
String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.groups"); L64: if (StringUtil.isBlank(value)) { L65: return StringUtil.EMPTY_STRINGS; L66: } L67: return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n])); L68: } L69: L70: protected static String[] getDefaultRolesAsArray() { L71: final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.roles");...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.2K bytes