Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getVirtualHostKey (0.18 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            if (StringUtil.isBlank(requestPath)) {
                return null;
            }
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isBlank(virtualHostKey)) {
                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        public String[] getRelatedQueries(final String query) {
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            final Map<String, String[]> map = relatedQueryMap.get(key);
            if (map != null) {
                final String[] queries = map.get(toLowerCase(query));
                if (queries != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            }, page);
        }
    
        protected String getVirtualHostBasePath(final String s, final HtmlNext page) {
            return StringUtil.isBlank(s) ? StringUtil.EMPTY : "/" + s;
        }
    
        public String getVirtualHostKey() {
            return LaRequestUtil.getOptionalRequest().map(req -> (String) req.getAttribute(FessConfig.VIRTUAL_HOST_VALUE)).orElseGet(() -> {
                final String value = processVirtualHost(s -> s, StringUtil.EMPTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
        public String[] getRelatedContents(final String query) {
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            final Pair<Map<String, String>, List<Pair<Pattern, String>>> pair = relatedContentMap.get(key);
            if (pair != null) {
                final List<String> contentList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

            return Collections.emptyMap();
        }
    
        public void buildQuery(final List<String> keywordList, final List<FilterFunctionBuilder> list) {
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            keywordList.stream().forEach(keyword -> {
                final List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>> boostList = getQueryMap(key).get(toLowerCase(keyword));
                if (boostList != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            if (fessConfig.isWebApiPopularWord()) {
                final List<String> tagList = new ArrayList<>();
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
                if (StringUtil.isNotBlank(key)) {
                    tagList.add(key);
                }
                runtime.registerData("popularWords", popularWordHelper.getWordList(SearchRequestType.SEARCH, null,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            switch (searchRequestType) {
            case ADMIN_SEARCH:
                // nothing to do
                break;
            default:
                final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
                if (StringUtil.isNotBlank(key)) {
                    queryContext.addQuery(boolQuery -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            if (labelTypeItemList == null) {
                init();
            }
    
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            final List<LabelTypeItem> labelList;
            if (StringUtil.isBlank(virtualHostKey)) {
                labelList =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            final String seed = request.getParameter("seed");
            String[] tags = SearchRequestParams.getParamValueArray(request, "label");
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(key)) {
                tags = ArrayUtils.addAll(tags, key);
            }
            final String[] fields = request.getParameterValues("field");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                        searchLog.addRequestHeaderValue(key, v);
                    });
                }
            });
    
            final String virtualHostKey = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(virtualHostKey)) {
                searchLog.setVirtualHost(virtualHostKey);
            } else {
                searchLog.setVirtualHost(StringUtil.EMPTY);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top