Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getBoost (0.23 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord1.getBoost(), settings.elevateWord().get()[0].getBoost(), 0);
            assertEquals(elevateWord1.getReadings().get(0), settings.elevateWord().get()[0].getReadings().get(0));
    
            assertEquals(elevateWord2.getElevateWord(), settings.elevateWord().get()[1].getElevateWord());
            assertEquals(elevateWord2.getBoost(), settings.elevateWord().get()[1].getBoost(), 0);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

                this.roles = Collections.emptyList();
            } else {
                this.roles = roles;
            }
        }
    
        public String getElevateWord() {
            return elevateWord;
        }
    
        public float getBoost() {
            return boost;
        }
    
        public List<String> getReadings() {
            return readings;
        }
    
        public List<String> getFields() {
            return fields;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return getQueryProcessor().execute(context, boostQuery.getQuery(), boostQuery.getBoost());
            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWord.java

        //                                                                            ========
        public Float getBoost() {
            checkSpecifiedProperty("boost");
            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java

        //                                                                            ========
        public Float getBoost() {
            checkSpecifiedProperty("boost");
            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

            source.put(FieldNames.ARRAY_KEY, ELEVATE_WORD_SETTINGD_KEY);
            source.put(FieldNames.ARRAY_VALUE, elevateWord.getElevateWord());
            source.put(ELEVATE_WORD_BOOST, elevateWord.getBoost());
            source.put(ELEVATE_WORD_READING, elevateWord.getReadings());
            source.put(ELEVATE_WORD_FIELDS, elevateWord.getFields());
            source.put(ELEVATE_WORD_TAGS, elevateWord.getTags());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // created
            defaultDataMap.put(fessConfig.getIndexFieldCreated(), systemHelper.getCurrentTime());
            // boost
            defaultDataMap.put(fessConfig.getIndexFieldBoost(), config.getBoost().toString());
            // label: labelType
            // role: roleType
            final List<String> roleTypeList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(BoostQuery.class, query.getClass());
            assertEquals("_default:fess", ((BoostQuery) query).getQuery().toString());
            assertEquals(10.0f, ((BoostQuery) query).getBoost());
    
            query = queryParser.createDefaultFilterChain().parse("\"fess\"");
            assertEquals(PhraseQuery.class, query.getClass());
            assertEquals("_default:fess", ((PhraseQuery) query).getTerms()[0].toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        }
                        boostList.add(
                                new Tuple3<>(keyMatch.getId(), boolQuery, ScoreFunctionBuilders.weightFactorFunction(keyMatch.getBoost())));
                    } else if (logger.isDebugEnabled()) {
                        logger.debug("No KeyMatch boost docs");
                    }
    
                    waitForNext();
                } catch (final Exception e) {
    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. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            try {
                elevateWordService.store(entity);
                suggestHelper.addElevateWord(entity.getSuggestWord(), entity.getReading(), entity.getLabelTypeValues(), entity.getPermissions(),
                        entity.getBoost(), false);
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top