- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ScoreBooster (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/score/ScoreUpdater.java
} }); return resultBuf.toString(); } /** * Adds a score booster. * @param scoreBooster The score booster. */ protected void addScoreBooster(final ScoreBooster scoreBooster) { scoreBoosterList.add(scoreBooster); scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
// Test class that throws exception private static class ExceptionScoreBooster extends ScoreBooster { @Override public long process() { throw new RuntimeException("Test exception"); } } // Test class with priority tracking private static class PriorityTrackingBooster extends ScoreBooster { private static List<Integer> executionOrder = new ArrayList<>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.5K bytes - Click Count (0)