Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for Pattern (0.3 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            return getQuerySet().map(querySet -> {
                final String pattern = querySet.stream().map(LaFunctions::h).map(Pattern::quote).collect(Collectors.joining("|"));
                if (StringUtil.isBlank(pattern)) {
                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  2. src/main/java/org/codelibs/fess/util/PrunedTag.java

            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(v -> {
                final Pattern pattern = Pattern.compile("(\\w+)(\\[[^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?");
                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
    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)
  3. src/main/java/org/codelibs/fess/es/config/exbhv/WebConfigBhv.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.es.config.bsbhv.BsWebConfigBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class WebConfigBhv extends BsWebConfigBhv {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exbhv/CrawlingInfoParamBhv.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.es.config.bsbhv.BsCrawlingInfoParamBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class CrawlingInfoParamBhv extends BsCrawlingInfoParamBhv {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exbhv/FailureUrlBhv.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exbhv;
    
    import java.util.regex.Pattern;
    
    import org.codelibs.fess.es.config.bsbhv.BsFailureUrlBhv;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    public class FailureUrlBhv extends BsFailureUrlBhv {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

            assertEquals(3, labelTypes.length);
        }
    
        public void test_escape() {
            // https://www.google.com/support/enterprise/static/gsa/docs/admin/70/gsa_doc_set/admin_crawl/url_patterns.html#1076127
            assertEscapePattern("", "# Test");
            assertEscapePattern(".*\\Q!/\\E.*", "!/");
            assertEscapePattern("\\Qindex.html\\E", "index.html");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.java

    import java.time.Instant;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.time.format.DateTimeParseException;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.es.log.bsbhv.BsClickLogBhv;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.util.DfTypeUtil;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        protected void reload(final StemmerOverrideUpdater updater, final InputStream in) {
            final Pattern parsePattern = Pattern.compile("(.*)\\s*=>\\s*(.*)\\s*$");
            final List<StemmerOverrideItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                data.register(key, BeanUtil.copyBeanToNewMap(value));
            } else {
                if ((value instanceof final Collection<?> coll) && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
                    if (first instanceof Entity) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

    public class PathMapping extends BsPathMapping {
    
        private static final Logger logger = LogManager.getLogger(PathMapping.class);
    
        private static final long serialVersionUID = 1L;
    
        protected Pattern userAgentPattern;
    
        protected Pattern regexPattern;
    
        protected BiFunction<String, Matcher, String> pathMapperFunc;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top