Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for getRules (0.1 sec)

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

            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()));
            secondLine.put("@timestamp", item.getTimestamp());
    
    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/helper/SuggestHelper.java

                }
    
                if (sb.length() > 0) {
                    final String[] langs = searchLog.getLanguages() == null ? new String[] {} : searchLog.getLanguages().split(",");
                    stream(searchLog.getRoles()).of(stream -> stream.forEach(role -> roles.add(role)));
                    if (fessConfig.isValidSearchLogPermissions(roles.toArray(new String[roles.size()]))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                responseData.setSessionId(crawlingInfoId);
    
                final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class);
                final Rule rule = ruleManager.getRule(responseData);
                if (rule == null) {
                    throw new CrawlingAccessException("No url rule for " + url);
                }
                responseData.setRuleId(rule.getRuleId());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            }
            return true;
        }
    
        protected void processResponse(final UrlQueue<?> urlQueue, final ResponseData responseData) {
            // get a rule
            final Rule rule = crawlerContext.ruleManager.getRule(responseData);
            if (rule == null) {
                log(logHelper, LogType.NO_RULE, crawlerContext, urlQueue, responseData);
            } else {
                responseData.setRuleId(rule.getRuleId());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            source.setRoles( Arrays.asList( "first", "second", "third" ) );
    
            modelMerger.mergeContributor_Roles( target, source, true, null );
    
            assertThat( target.getRoles(), contains( "first", "second", "third" ) );
        }
    
        @Test
        public void mergeUrl()
        {
            Model target = new Model();
            target.setUrl( "TARGET" );;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java

            setupEpg(_epgMap, et -> ((SearchLog) et).getResponseTime(), (et, vl) -> ((SearchLog) et).setResponseTime(DfTypeUtil.toLong(vl)),
                    "responseTime");
            setupEpg(_epgMap, et -> ((SearchLog) et).getRoles(), (et, vl) -> ((SearchLog) et).setRoles((String[]) vl), "roles");
            setupEpg(_epgMap, et -> ((SearchLog) et).getSearchWord(), (et, vl) -> ((SearchLog) et).setSearchWord(DfTypeUtil.toString(vl)),
                    "searchWord");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

        }
    
        public void setRegisteredAddress(String value) {
            registerModifiedProperty("registeredAddress");
            this.registeredAddress = value;
        }
    
        public String[] getRoles() {
            checkSpecifiedProperty("roles");
            return roles;
        }
    
        public void setRoles(String[] value) {
            registerModifiedProperty("roles");
            this.roles = value;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                }
    
                final RuleManager ruleManager = SingletonLaContainer.getComponent(RuleManager.class);
                final Rule rule = ruleManager.getRule(responseData);
                if (rule == null) {
                    logger.warn("No url rule. Data: {}", dataMap);
                } else {
                    responseData.setRuleId(rule.getRuleId());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final ElevateWord normalized = new ElevateWord(normalizedWord, elevateWord.getBoost(), normalizedReadings, elevateWord.getFields(),
                    elevateWord.getTags(), elevateWord.getRoles());
            settings.elevateWord().add(normalized);
            if (apply) {
                return index(normalized.toSuggestItem());
            }
            return new SuggestIndexResponse(0, 0, null, 0);
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("referer", entity.getReferer(), buf).append(',');
                        appendJson("languages", entity.getLanguages(), buf).append(',');
                        appendJson("roles", entity.getRoles(), buf).append(',');
                        appendJson("user-agent", entity.getUserAgent(), buf).append(',');
                        appendJson("client-ip", entity.getClientIp(), buf).append(',');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top