Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 673 for texts (0.17 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/main/java/org/codelibs/fess/helper/ViewHelper.java

            final Text[] fragments = highlightField.fragments();
            if (fragments != null && fragments.length != 0) {
                final String[] texts = new String[fragments.length];
                for (int i = 0; i < fragments.length; i++) {
                    texts[i] = fragments[i].string();
                }
                final String value = StringUtils.join(texts, ELLIPSIS);
    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)
  3. guava-tests/test/com/google/common/base/PreconditionsTest.java

         * non-@Nullable parameter to trigger a NullPointerException.
         *
         * (We still define this empty method to keep PackageSanityTests from generating its own
         * automated nullness tests, which would fail.)
         */
      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
              throw new AssertionFailedError();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        }
    
        return suite;
      }
    
      private TestSuite filterSuite(TestSuite suite) {
        TestSuite filtered = new TestSuite(suite.getName());
        Enumeration<?> tests = suite.tests();
        while (tests.hasMoreElements()) {
          Test test = (Test) tests.nextElement();
          if (matches(test)) {
            filtered.addTest(test);
          }
        }
        return filtered;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      private @Nullable Runnable tearDown;
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedSet. Can't be invoked directly; please see
     * {@code SortedSetTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top