Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for OptionalThing (0.19 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    import org.codelibs.fess.util.FacetResponse;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    import org.opensearch.common.document.DocumentField;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

    import org.codelibs.fess.rank.fusion.SearchResult.SearchResultBuilder;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.QueryResponseList;
    import org.dbflute.optional.OptionalThing;
    
    public class RankFusionProcessorTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        public void test_default_1000docs_10size() throws Exception {
            String query = "*";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

        public void test_loginFailure() {
            activityHelper.useEcsFormat = false;
            activityHelper.loginFailure(OptionalThing.empty());
            assertEquals("action:LOGIN_FAILURE", localLogMsg.get());
        }
    
        public void test_logout() {
            activityHelper.useEcsFormat = false;
            activityHelper.logout(OptionalThing.empty());
            assertEquals("action:LOGOUT\tuser:-\tpermissions:-", localLogMsg.get());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

                    return super.createConventionReceptionist().asReceiverLocale(postcard -> OptionalThing.empty());
                }
    
                @Override
                protected OptionalThing<SMailSubjectFilter> createSubjectFilter() {
                    return OptionalThing.of((view, subject) -> subject);
                }
    
                @Override
                protected OptionalThing<SMailAsyncStrategy> createAsyncStrategy() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.app.web.base.login.FessCredential;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.login.credential.LoginCredential;
    import org.lastaflute.web.util.LaRequestUtil;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.Constants;
    import org.dbflute.optional.OptionalThing;
    
    public class FieldConfigs {
    
        private final Map<String, String> params;
    
        public FieldConfigs(final Map<String, String> params) {
            this.params = params;
        }
    
        public OptionalThing<Config> getConfig(final String fieldName) {
            final String value = params.get(fieldName);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/logic/AccessContextLogic.java

        //                                                                  ==================
        @FunctionalInterface
        public interface UserTypeSupplier {
            OptionalThing<String> supply();
        }
    
        @FunctionalInterface
        public interface UserBeanSupplier {
            OptionalThing<FessUserBean> supply();
        }
    
        @FunctionalInterface
        public interface AppTypeSupplier {
            String supply();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        @Override
        public OptionalThing<ApiResponse> handleClientException(final ApiFailureResource resource, final RuntimeException cause) {
            return OptionalThing.of(asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))));
        }
    
        @Override
        public OptionalThing<ApiResponse> handleServerException(final ApiFailureResource resource, final Throwable cause) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            }
            return "-";
        }
    
        protected OptionalThing<String> getCacheKey(final Object keyObj) {
            if (keyObj instanceof final UrlQueue<?> urlQueue) {
                return OptionalThing.of(urlQueue.getId().toString());
            }
            if (keyObj instanceof final StatsKeyObject statsKey) {
                return OptionalThing.of(statsKey.getId());
            }
            if (keyObj instanceof final String key) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        @Resource
        protected AccessTokenService accessTokenService;
    
        @Resource
        protected HttpServletRequest request;
    
        @Override
        protected OptionalThing<LoginManager> myLoginManager() {
            return OptionalThing.empty();
        }
    
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            if (!isAccessAllowed()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top