Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,782 for text (0.16 sec)

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

            final String text = String.join(" ", texts);
    
            if (Constants.DEFAULT_FIELD.equals(field)) {
                context.addFieldLog(field, text);
                stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t)));
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost));
            }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMappingHelper.cachedPathMappingList = pathMappingList;
    
            String text = "\"file:///home/\"";
            assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"file:///home/user/\"";
            assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"aaafile:///home/user/\"";
    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)
  3. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = term.text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(text);
                return buildDefaultQueryBuilder(fessConfig, context,
                        (f, b) -> QueryBuilders.fuzzyQuery(f, text).fuzziness(Fuzziness.fromEdits(fuzzyQuery.getMaxEdits())).boost(b * boost)
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                final String text = DocumentUtil.getValue(document, field, String.class);
                if (StringUtil.isNotBlank(text)) {
                    return escapeHighlight(text);
                }
            }
    
            return StringUtil.EMPTY;
        }
    
        protected String escapeHighlight(final String text) {
            final String escaped = LaFunctions.h(text);
            final String 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)
  5. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text));
    
            try {
                MessageDigestUtil.digest(null, text);
                assertTrue(false);
            } catch (final EmptyArgumentException e) {
                assertTrue(true);
            }
            try {
                MessageDigestUtil.digest("HOGE", text);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

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

            assertEquals("<pre class=\"prettyprint linenums:10\">aaa</pre>", value);
    
            code = "L10:aaa\nL11:bbb";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
            assertEquals("<pre class=\"prettyprint linenums:10\">aaa\nbbb</pre>", value);
    
            code = "L10:aaa\nL11:bbb\nL12:ccc";
            value = FessFunctions.formatCode("L", "prettyprint", "text/plain", code);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            }
    
            // default
            return FormatType.OTHER;
        }
    
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
                buf.append(contentType);
            }
            buf.append("; charset=");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.IOException;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.curl.Curl;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static java.text.DateFormat.FULL;
    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getTimeInstance;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top