Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for getBoost (0.11 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

        //                                       ---------------
        protected final Map<String, PropertyGateway> _epgMap = newHashMap();
        {
            setupEpg(_epgMap, et -> ((KeyMatch) et).getBoost(), (et, vl) -> ((KeyMatch) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((KeyMatch) et).getCreatedBy(), (et, vl) -> ((KeyMatch) et).setCreatedBy(DfTypeUtil.toString(vl)),
                    "createdBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileConfig.java

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

        protected CrawlerClientFactory crawlerClientFactory = null;
    
        public WebConfig() {
            setBoost(1.0f);
        }
    
        @Override
        public String getDocumentBoost() {
            return getBoost().toString();
        }
    
        @Override
        public String getIndexingTarget(final String input) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ElevateWordDbm.java

        //                                       ---------------
        protected final Map<String, PropertyGateway> _epgMap = newHashMap();
        {
            setupEpg(_epgMap, et -> ((ElevateWord) et).getBoost(), (et, vl) -> ((ElevateWord) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((ElevateWord) et).getCreatedBy(), (et, vl) -> ((ElevateWord) et).setCreatedBy(DfTypeUtil.toString(vl)),
                    "createdBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                        addToList(list, entity.getReading());
                        addToList(list, permissions);
                        addToList(list, labels);
                        addToList(list, entity.getBoost());
                        try {
                            csvWriter.writeValues(list);
                        } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

            setupEpg(_epgMap, et -> ((DataConfig) et).getAvailable(), (et, vl) -> ((DataConfig) et).setAvailable(DfTypeUtil.toBoolean(vl)),
                    "available");
            setupEpg(_epgMap, et -> ((DataConfig) et).getBoost(), (et, vl) -> ((DataConfig) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((DataConfig) et).getCreatedBy(), (et, vl) -> ((DataConfig) et).setCreatedBy(DfTypeUtil.toString(vl)),
                    "createdBy");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            for (final ElevateWord elevateWord : list) {
                addElevateWord(elevateWord.getSuggestWord(), elevateWord.getReading(), elevateWord.getLabelTypeValues(),
                        elevateWord.getPermissions(), elevateWord.getBoost(), apply);
            }
            refresh();
        }
    
        public void deleteAllElevateWord(final boolean apply) {
            final List<ElevateWord> list = ComponentUtil.getComponent(ElevateWordBhv.class).selectList(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K 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