- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 350 for Exceptions (0.04 sec)
-
BooleanQueryCommand.java
org.apache.logging.log4j.Logger; L20:import org.apache.lucene.search.BooleanClause; L21:import org.apache.lucene.search.BooleanQuery; L22:import org.apache.lucene.search.Query; L23:import org.codelibs.fess.entity.QueryContext; L24:import org.codelibs.fess.exception.InvalidQueryException; L25:import org.lastaflute.core.message.UserMessages; L26:import org.opensearch.index.query.BoolQueryBuilder; L27:import org.opensearch.index.query.QueryBuilder; L28:import org.opensearch.index.query.QueryBuilders; L29: L30:public...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.9K bytes -
UserAgentHelperTest.java
erAgentType; L19:import org.codelibs.fess.unit.UnitFessTestCase; L20: L21:public class UserAgentHelperTest extends UnitFessTestCase { L22: L23: public UserAgentHelper userAgentHelper; L24: L25: @Override L26: public void setUp() throws Exception { L27: super.setUp(); L28: userAgentHelper = new UserAgentHelper(); L29: } L30: L31: public void test_getUserAgentType_IE9() { L32: getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3K bytes -
FessStandardTransformer.java
L19:import org.apache.logging.log4j.Logger; L20:import org.codelibs.fess.crawler.entity.ResponseData; L21:import org.codelibs.fess.crawler.extractor.Extractor; L22:import org.codelibs.fess.crawler.extractor.ExtractorFactory; L23:import org.codelibs.fess.exception.FessSystemException; L24:import org.codelibs.fess.mylasta.direction.FessConfig; L25:import org.codelibs.fess.util.ComponentUtil; L26: L27:import jakarta.annotation.PostConstruct; L28: L29:public class FessStandardTransformer extends AbstractFessFileTransformer...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 2.4K bytes -
FileAuthentication.java
final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class); L54: try { L55: fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get(); L56: } catch (final Exception e) { L57: logger.warn("File Config {} does not exist.", getFileConfigId(), e); L58: } L59: } L60: return fileConfig; L61: } L62: L63: @Override L64: public String toString() { L65: return "FileAuthentication...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
FessWebResourceRoot.java
WebAppJar") != null)) { L50: createWebResourceSet(ResourceSetType.CLASSES_JAR, "/WEB-INF/classes", possibleJar.getURL(), "/"); L51: } L52: } L53: } catch (final Exception e) { L54: logger.log(Level.WARNING, e, () -> { L55: final String canonicalPath = possibleJar.getCanonicalPath(); L56: return "Failed to read " + canonicalPath; L57: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.5K bytes -
GroupBhv.java
java.util.stream.Collectors; L21: L22:import org.codelibs.core.misc.Pair; L23:import org.codelibs.fess.es.user.bsbhv.BsGroupBhv; L24:import org.codelibs.fess.es.user.exentity.Group; L25:import org.codelibs.fess.util.ComponentUtil; L26:import org.dbflute.exception.IllegalBehaviorStateException; L27:import org.dbflute.util.DfTypeUtil; L28: L29:/** L30: * @author FreeGen L31: */ L32:public class GroupBhv extends BsGroupBhv { L33: private String indexName = null; L34: L35: @Override L36: protected String...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.2K bytes -
CacheAction.java
L53: } L54: L55: Map<String, Object> doc = null; L56: try { L57: doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null); L58: } catch (final Exception e) { L59: logger.warn("Failed to request: {}", form.docId, e); L60: } L61: if (doc == null) { L62: saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId)); L63: return redirect(ErrorAction.class);...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.4K bytes -
FessUserLocaleProcessProvider.java
wserLangParameterName(); L48: if (StringUtil.isNotBlank(name)) { L49: try { L50: return requestManager.getParameter(name).filter(StringUtil::isNotBlank).map(LocaleUtils::toLocale); L51: } catch (final Exception e) { L52: logger.debug("Failed to parse a value of {}.", name, e); L53: } L54: } L55: return OptionalObject.empty(); L56: } L57: L58: @Override L59: public OptionalThing<Locale> getRequestedLocale(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.8K bytes -
UserBhv.java
java.util.stream.Collectors; L21: L22:import org.codelibs.core.misc.Pair; L23:import org.codelibs.fess.es.user.bsbhv.BsUserBhv; L24:import org.codelibs.fess.es.user.exentity.User; L25:import org.codelibs.fess.util.ComponentUtil; L26:import org.dbflute.exception.IllegalBehaviorStateException; L27:import org.dbflute.util.DfTypeUtil; L28: L29:/** L30: * @author FreeGen L31: */ L32:public class UserBhv extends BsUserBhv { L33: L34: private static final String ROLES = "roles"; L35: private static final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.7K bytes -
QueryCommandTest.java
query.PrefixQueryBuilder; L23:import org.opensearch.index.query.QueryBuilder; L24: L25:public class QueryCommandTest extends UnitFessTestCase { L26: private QueryCommand queryCommand; L27: L28: @Override L29: public void setUp() throws Exception { L30: super.setUp(); L31: queryCommand = new QueryCommand() { L32: @Override L33: public QueryBuilder execute(QueryContext context, Query query, float boost) { L34: return null; L35: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.7K bytes