Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getUserBoost (0.08 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            secondLine.put("queryFreq", item.getQueryFreq());
            secondLine.put("docFreq", item.getDocFreq());
            secondLine.put("userBoost", item.getUserBoost());
            secondLine.put("score", (item.getQueryFreq() + item.getDocFreq()) * item.getUserBoost());
            secondLine.put("tags", item.getTags());
            secondLine.put("roles", item.getRoles());
            secondLine.put("kinds", Arrays.toString(item.getKinds()));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            return kinds;
        }
    
        public long getQueryFreq() {
            return queryFreq;
        }
    
        public long getDocFreq() {
            return docFreq;
        }
    
        public float getUserBoost() {
            return userBoost;
        }
    
        public ZonedDateTime getTimestamp() {
            return timestamp;
        }
    
        public void setText(final String text) {
            this.text = text;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, response1.getNum());
            assertEquals(1, response1.getTotal());
            assertEquals(2.0f, response1.getItems().get(0).getUserBoost(), 0);
    
            ElevateWord[] elevateWords = suggester.settings().elevateWord().get();
            assertEquals(1, elevateWords.length);
            assertEquals("test", elevateWords[0].getElevateWord());
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top