Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addScoreBooster (0.09 sec)

  1. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

                    logger.warn("Failed to update scores.", e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
            scoreBoosterList.add(scoreBooster);
            scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        };
    
        public abstract long process();
    
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
            scoreUpdater.addScoreBooster(this);
        }
    
        protected long updateScore(final Map<String, Object> params) {
            return requestHandler.apply(params);
        }
    
        protected UpdateRequestBuilder createUpdateRequestBuilder() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top