Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for endswith (0.21 sec)

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

            if (!query.startsWith("*")) {
                queryBuf.append('*');
            }
            queryBuf.append(toLowercaseWildcard(query));
            if (!query.endsWith("*")) {
                queryBuf.append('*');
            }
            final String origQuery = queryBuf.toString();
            context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
                    }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

         */
        public static Traverser getTraverser(final String rootDir) {
            assertArgumentNotEmpty("rootDir", rootDir);
    
            final URL url = ResourceUtil.getResource(rootDir.endsWith("/") ? rootDir : rootDir + '/');
            return getTraverser(url, null, rootDir);
        }
    
        /**
         * 指定のルートパッケージを基点とする、クラスやリソースの集まりを扱う{@link Traverser}の配列を返します。
         *
         * @param rootPackage
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            final WebResource[] possibleJars = listResources("/WEB-INF/plugin", false);
    
            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/FessBoot.java

        }
    
        @Override
        protected void setupWebappContext() {
            super.setupWebappContext();
            String contextPath = getContextPath();
            if (contextPath.length() > 0 && contextPath.endsWith("/")) {
                contextPath = contextPath.replaceAll("/+$", StringUtil.EMPTY);
            }
            final Context context = (Context) server.getHost().findChild(contextPath);
            if (context != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                @Override
                public OptionalEntity<WebConfig> getWebConfig(final String id) {
                    final WebConfig webConfig = new WebConfig();
                    webConfig.setId(id);
                    if (id.endsWith("P")) {
                        webConfig.setConfigParameter("config.pipeline=wp");
                    }
                    return OptionalEntity.of(webConfig);
                }
    
                @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                if (fileConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/GeoInfo.java

            final Map<String, List<QueryBuilder>> geoMap = new HashMap<>();
    
            StreamUtil.stream(request.getParameterMap())
                    .of(stream -> stream.filter(e -> e.getKey().startsWith("geo.") && e.getKey().endsWith(".point")).forEach(e -> {
                        final String key = e.getKey();
                        for (final String geoField : geoFields) {
                            if (key.startsWith("geo." + geoField + ".")) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            }
    
            if (v.startsWith("^")) {
                buf.append(v);
                if (!v.endsWith("$")) {
                    buf.append(".*");
                }
            } else if (v.endsWith("$")) {
                buf.append(".*");
                buf.append(v);
            } else if (v.endsWith("/\\E")) {
                buf.append(".*");
                buf.append(v);
                buf.append(".*");
            } else {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top