Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for amatch (0.24 sec)

  1. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "{\"bool\":{\"should\":[{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.5}}},{\"match_phrase\":{\"content\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.05}}}],\"adjust_pure_negative\":true,\"boost\":1.0}}",
                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                            .body().jsonPath().get("response.plugins");
                    boolean exists = installed.stream().map(this::getArtifactFromMap)
                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(500);
                        continue;
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        protected boolean isEmptyArray(final String[] values) {
            if (values == null || values.length == 0) {
                return true;
            }
            return stream(values).get(stream -> stream.allMatch(StringUtil::isBlank));
        }
    
        protected static String[] simplifyArray(final String[] values) {
            return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        @Override
        public KeyMatchDbm asDBMeta() {
            return KeyMatchDbm.getInstance();
        }
    
        @Override
        public String asTableDbName() {
            return "key_match";
        }
    
        // ===================================================================================
        //                                                                              Source
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        public User load(final User user) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        final String value = classAttr.getNodeValue();
                        if (StringUtil.isNotBlank(value)) {
                            return StreamUtil.split(value, " ").get(stream -> stream.anyMatch(s -> css.equals(s)));
                        }
                    }
                } else {
                    final Node idAttr = node.getAttributes().getNamedItem("id");
                    if (idAttr != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

        @Execute
        public StreamResponse get$file(final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
                if ("system.properties".equals(id)) {
                    return asStream(id).contentTypeOctetStream().stream(out -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to create {} alias for {}", aliasName, indexName);
                    }
                }
            } catch (final ResourceNotFoundRuntimeException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("{} is not found.", aliasConfigPath, e);
            }
            return false;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            matchExpression = rule.getUrlExpr();
            boostExpression = rule.getBoostExpr();
            scriptType = ComponentUtil.getFessConfig().getCrawlerDefaultScript();
        }
    
        public boolean match(final Map<String, Object> map) {
    
            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    writeHeaders(response);
                    CopyUtil.copy(in, out);
                } catch (final ClientAbortException e) {
                    logger.debug("Client aborts this request.", e);
                }
            } catch (final Exception e) {
                if (!(e.getCause() instanceof ClientAbortException)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top