- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for getOptionalRequest (0.16 sec)
-
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
@Override protected SearchResult search(final String query, final SearchRequestParams params, final OptionalThing<FessUserBean> userBean) { final int pageSize = params.getPageSize(); LaRequestUtil.getOptionalRequest().ifPresent(request -> { request.setAttribute(Constants.REQUEST_PAGE_SIZE, pageSize); }); final OptionalEntity<SearchResponse> searchResponseOpt = sendRequest(query, params, userBean);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java
num = fessConfig.getPagingSearchPageMaxSizeAsInteger(); } } @Override public Object getAttribute(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null); } @Override public Locale getLocale() { return ComponentUtil.getRequestManager().getUserLocale(); } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} matcher.appendTail(buf); return buf.toString(); }).orElse(value); } protected OptionalThing<Set<String>> getQuerySet() { return LaRequestUtil.getOptionalRequest().map(req -> ((Set<String>) req.getAttribute(Constants.HIGHLIGHT_QUERIES))) .filter(s -> s != null); } public String getContentDescription(final Map<String, Object> document) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return true; } } return false; } protected OptionalThing<String[]> getQueryLanguages() { return LaRequestUtil.getOptionalRequest().map(request -> ComponentUtil.getFessConfig().getQueryLanguages(request.getLocales(), (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer); parser.setAllowLeadingWildcard(allowLeadingWildcard); LaRequestUtil.getOptionalRequest().ifPresent(req -> { if (req.getAttribute(Constants.DEFAULT_QUERY_OPERATOR) instanceof final String op) { parser.setDefaultOperator(Operator.valueOf(op)); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
} return (T) Boolean.valueOf(value.toString()); } return null; } public static String encodeUrl(final String url) { final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null) .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8); final StringBuilder buf = new StringBuilder(url.length() + 100);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ActivityHelper.java
printLog(buf.toString()); } protected void printLog(final String message) { logger.info(message); } protected String getClientIp() { return LaRequestUtil.getOptionalRequest().map(req -> ComponentUtil.getViewHelper().getClientIp(req)).orElse("-"); } protected enum Action { LOGIN, LOGOUT, ACCESS, LOGIN_FAILURE, UPDATE_PERMISSION; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
final FessMessages messages = new FessMessages(); validationMessagesLambda.message(messages); message = ComponentUtil.getMessageManager() .toMessageList(LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ENGLISH), messages) .stream().collect(Collectors.joining(" ")); return this; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0)