Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 606 for text (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/io/CharSource.java

            @Override
            @CheckForNull
            protected String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
                }
              }
              return endOfData();
            }
          };
        }
    
        @Override
        @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                        final String text = viewHelper.createHighlightText(highlightField);
                        if (text != null) {
                            docMap.put(hlPrefix + highlightField.getName(), text);
                        }
                    });
                    if (Constants.TEXT_FRAGMENT_TYPE_HIGHLIGHT.equals(fessConfig.getQueryHighlightTextFragmentType())) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.util.List;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

    import java.util.List;
    
    /**
     * Unit test for {@link CharStreams}.
     *
     * @author Chris Nokleberg
     */
    public class CharStreamsTest extends IoTestCase {
    
      private static final String TEXT = "The quick brown fox jumped over the lazy dog.";
    
      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Ascii.java

       * }</pre>
       *
       * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use
       * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe
       * for use with it (such as all-ASCII text) and for simple debugging text. When using this method,
       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/DateConversionUtil.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.getDateInstance;
    import static org.codelibs.core.collection.MultiIterator.iterable;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            text = "あああ。いいい" + viewHelper.originalHighlightTagPre + "aaa" + viewHelper.originalHighlightTagPost;
            assertEquals("いいい" + viewHelper.highlightTagPre + "aaa" + viewHelper.highlightTagPost, viewHelper.escapeHighlight(text));
    
            text = "";
            assertEquals("", viewHelper.escapeHighlight(text));
    
            text = "aaa";
            assertEquals("aaa", viewHelper.escapeHighlight(text));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 15.1K bytes
    - Viewed (0)
Back to top