Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for like (0.25 sec)

  1. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                final String[] lines = value.split("[\r\n]");
                for (final String line : lines) {
                    if (StringUtil.isNotBlank(line)) {
                        final int pos = line.indexOf('=');
                        if (pos == 0) {
                            paramMap.put("unknown." + (unknownKey + 1), line.substring(pos + 1).trim());
                            unknownKey++;
                        } else if (pos > 0) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

             assertEquals(3, itemList3.size());
    
             assertEquals(
                     "b1,b2=>B1" + Constants.LINE_SEPARATOR + "c1=>C1,C2"
                             + Constants.LINE_SEPARATOR + "X1,x1"
                             + Constants.LINE_SEPARATOR,
                     new String(FileUtil.getBytes(file1), Constants.UTF_8));
         }
         */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            String value = getHandlerParameterMap().get("time_to_live");
            if (StringUtil.isBlank(value)) {
                value = getHandlerParameterMap().get("timeToLive"); // TODO remove
                if (StringUtil.isBlank(value)) {
                    return null;
                }
                logger.warn("timeToLive is deprecated. Please use time_to_live.");
            }
            try {
                return Integer.parseInt(value);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_Chrome() {
            getMockRequest().addHeader("user-agent",
                    "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        }
    
        protected int getBoundaryLimitSize() {
            // one HTTP proxy tool already limits the size (e.g. 3450 bytes)
            // so specify this size for test
            return 2000; // you can override as you like it
        }
    
        protected void throwTooLongBoundarySizeException(final String contentType, final int boundarySize, final int limitSize) {
            final ExceptionMessageBuilder br = new ExceptionMessageBuilder();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + line, e);
                }
            }
    
            public StemmerOverrideItem commit() {
    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)
  7. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
                    }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/InputStreamThread.java

                try {
                    final String line = br.readLine();
                    if (line == null) {
                        running = false;
                    } else {
                        if (logger.isDebugEnabled()) {
                            logger.debug(line);
                        }
                        if (bufferSize > 0) {
                            list.add(line);
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            final PagingList<KuromojiItem> itemList3 = kuromojiFile.selectList(0,
                    20);
            assertEquals(1, itemList3.size());
    
            assertEquals("token2,seg2,reading2,pos2" + Constants.LINE_SEPARATOR,
                    new String(FileUtil.getBytes(file1), Constants.UTF_8));
    
        }
        */
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                Arrays.stream(FileUtil.readUTF8(dataPath).split("\n")).reduce((prev, line) -> {
                    try {
                        if (StringUtil.isBlank(prev)) {
                            final Map<String, Map<String, String>> result =
                                    mapper.readValue(line, new TypeReference<Map<String, Map<String, String>>>() {
                                    });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
Back to top