Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for apply (0.01 sec)

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

        /**
         * Converts a TermQuery to a QueryBuilder with the given boost value.
         *
         * @param context the query context
         * @param termQuery the term query to convert
         * @param boost the boost value to apply
         * @return the converted QueryBuilder
         */
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }
            refresh();
        }
    
        /**
         * Adds a bad word to the suggest index.
         *
         * @param badWord The bad word to add.
         * @param apply   true to apply the changes immediately.
         */
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
            refresh();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryCommand.java

                final DefaultQueryBuilderFunction builder) {
            final DefaultQueryBuilder defaultQuery = createDefaultQueryBuilder();
            defaultQuery.add(builder.apply(fessConfig.getIndexFieldTitle(), fessConfig.getQueryBoostTitleAsDecimal().floatValue()));
            defaultQuery.add(builder.apply(fessConfig.getIndexFieldContent(), fessConfig.getQueryBoostContentAsDecimal().floatValue()));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * The method checks each rule to see if it applies to the current time and day.
         *
         * @return the delay in milliseconds, or 0 if no rules apply
         */
        protected long getDelay() {
            if (ruleList.isEmpty()) {
                return 0;
            }
            final Calendar cal = getCurrentCal();
            final int h = cal.get(Calendar.HOUR_OF_DAY);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @param apply Whether to apply the change immediately.
         * @return The SuggestDeleteResponse.
         */
        public SuggestDeleteResponse addBadWord(final String badWord, final boolean apply) {
            final String normalized = normalizer.normalize(badWord, "");
            settings.badword().add(normalized);
            badWords = settings.badword().get(true);
            if (apply) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java

            words.add("apple");
            words.add("application");
            words.add("apply");
    
            SuggestResponse response = new SuggestResponse("test-index", 100, words, 10, new ArrayList<>());
    
            assertNotNull(response.getWords());
            assertEquals(3, response.getWords().size());
            assertTrue(response.getWords().contains("apple"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         *
         * @param context the query context containing search parameters and state
         * @param query the Lucene query to be processed
         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         *
         * @param context the query context containing search configuration
         * @param query the Lucene query to convert (must be a FuzzyQuery)
         * @param boost the boost factor to apply to the query
         * @return OpenSearch QueryBuilder for fuzzy matching
         * @throws InvalidQueryException if the query is not a FuzzyQuery
         */
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

         *
         * @param context The query context containing field and search information
         * @param wildcardQuery The Lucene wildcard query to convert
         * @param boost The boost factor to apply to the query
         * @return The converted OpenSearch QueryBuilder
         */
        protected QueryBuilder convertWildcardQuery(final QueryContext context, final WildcardQuery wildcardQuery, final float boost) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                reload(updater);
            }
        }
    
        /**
         * Reloads the stopwords dictionary from its source file.
         *
         * @param updater An optional updater to apply changes during reload.
         * @throws DictionaryException if the dictionary file cannot be read.
         */
        protected void reload(final StopwordsUpdater updater) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top