Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for setTerm (0.11 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                    int offset = 0;
                    for (int i = 0; i < readingTokenList.size(); i++) {
                        final String term = termTokenList.get(i).getTerm();
                        String reading = readingTokenList.get(i).getTerm();
                        if (Strings.isNullOrEmpty(reading)) {
                            reading = term;
                        }
                        reading = transliterator.transliterate(reading);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            } catch (final Exception e) {
                return keywords;
            }
            for (final TermQuery tq : termQueryList) {
                final String text = tq.getTerm().text();
                if (0 == text.length() || keywords.contains(text)) {
                    continue;
                }
                keywords.add(text);
            }
            return keywords;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
                if (termTokenList.isEmpty()) {
                    return text;
                }
    
                return termTokenList.get(0).getTerm();
            }
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    func (s *Scanner) advance(n int) bool {
    	if n < 0 {
    		s.setErr(ErrNegativeAdvance)
    		return false
    	}
    	if n > s.end-s.start {
    		s.setErr(ErrAdvanceTooFar)
    		return false
    	}
    	s.start += n
    	return true
    }
    
    // setErr records the first error encountered.
    func (s *Scanner) setErr(err error) {
    	if s.err == nil || s.err == io.EOF {
    		s.err = err
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

                if (map == null) {
                    map = new HashMap<>();
                    relatedQueryMap.put(key, map);
                }
                map.put(toLowerCase(entity.getTerm()), entity.getQueries());
            });
            this.relatedQueryMap = relatedQueryMap;
            return relatedQueryMap.size();
        }
    
        protected String getHostKey(final RelatedQuery entity) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      // setFuture and cancel() interact in more complicated ways than the other setters.
      public void testSetFutureCancelBash() {
        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final int size = 50;
        final CyclicBarrier barrier =
            new CyclicBarrier(
                2 // for the setter threads
                    + size // for the listeners
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
            final String text = termQuery.getTerm().text();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return convertTermQuery(fessConfig, context, termQuery, boost, field, text);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. istioctl/cmd/options_test.go

    `
    
    func TestLogHelp(t *testing.T) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd([]string{"options"})
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	fErr := rootCmd.Execute()
    	if fErr != nil {
    		t.Fatalf("options failed with %v and %q\n", fErr, out.String())
    	}
    	if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 14 02:38:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                            queryMap = new HashMap<>();
                            keyMatchQueryMap.put(virtualHost, queryMap);
                        }
                        final String termKey = toLowerCase(keyMatch.getTerm());
                        List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>> boostList = queryMap.get(termKey);
                        if (boostList == null) {
                            boostList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. schema/field_test.go

    		"deleted_at": user.DeletedAt,
    		"age":        user.Age,
    		"birthday":   user.Birthday,
    		"active":     true,
    	}
    	checkField(t, userSchema, reflectValue, values)
    
    	var f *bool
    	// test setter
    	newValues := map[string]interface{}{
    		"name":       "valuer_and_setter_2",
    		"id":         2,
    		"created_at": time.Now(),
    		"updated_at": nil,
    		"deleted_at": time.Now(),
    		"age":        20,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top