Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 60 for lquote (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals("quoted", result[0]);
            assertEquals("unquoted", result[1]);
            assertEquals("\"another quoted\"", result[2]);
        }
    
        @Test
        public void test_parse_escaped_quotes() {
            String value;
            String[] result;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            // Default constructor
        }
    
        /**
         * Quotes a string value if it contains spaces.
         * Multi-word values are wrapped in double quotes with internal quotes replaced by spaces.
         *
         * @param value the string value to quote
         * @return the quoted string if it contains spaces, otherwise the original value
         */
        protected String quote(final String value) {
            if (value.split("\\s").length > 1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

    import java.util.ArrayList;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Utility class for parsing CSV text
     */
    public final class KuromojiCSVUtil {
        private static final char QUOTE = '"';
    
        private static final char COMMA = ',';
    
        private static final Pattern QUOTE_REPLACE_PATTERN = Pattern.compile("^\"([^\"]+)\"$");
    
        private static final String ESCAPED_QUOTE = "\"\"";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                return "^" + Pattern.quote(s.substring(1, s.length() - 1)) + "$";
            }
            if (s.startsWith("^")) {
                return "^" + Pattern.quote(s.substring(1));
            }
            if (s.endsWith("$")) {
                return Pattern.quote(s.substring(0, s.length() - 1)) + "$";
            }
            return Pattern.quote(s);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exbhv/BoostDocumentRuleBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exbhv/FileConfigBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exbhv/JobLogBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexConfigIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_config"), name);
            }
            return indexName;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexLogIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name);
            }
            return indexName;
        }
    
        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            // Test toString with special characters
            String name = "special[]param";
            String[] values = { "[value]", ",comma,", "quote\"test" };
            RequestParameter param = new RequestParameter(name, values);
    
            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
        @Test
        public void test_immutability() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

            }
    
            /**
             * Overrides the field query creation to handle quoted queries specially.
             * For quoted queries on the default field, creates a phrase query instead of a term query.
             *
             * @param field the field to query
             * @param queryText the query text
             * @param quoted whether the query is quoted
             * @return the created Query object
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top