Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for anymatch (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (StringUtil.isNotBlank(requiredKeysStr) && StreamUtil.split(requiredKeysStr, ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).anyMatch(name -> {
                            final String[] values = req.getParameterValues(name);
                            if (values == null || values.length == 0 || StringUtil.isEmpty(values[0])) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/KeyMatch.java

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsKeyMatch;
    
    /**
     * @author FreeGen
     */
    public class KeyMatch extends BsKeyMatch {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

        }
    
        public void test_getBoostedDocumentList_noBoostList() {
            KeyMatch keyMatch = new KeyMatch();
            keyMatch.setId("nonexistent");
            keyMatch.setTerm("nonexistent");
            keyMatch.setVirtualHost("");
    
            try {
                List<Map<String, Object>> result = keyMatchHelper.getBoostedDocumentList(keyMatch);
                assertNotNull(result);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsKeyMatchBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends KeyMatch> typeOfSelectedEntity() {
            return KeyMatch.class;
        }
    
        @Override
        protected Class<KeyMatch> typeOfHandlingEntity() {
            return KeyMatch.class;
        }
    
        @Override
        protected Class<KeyMatchCB> typeOfHandlingConditionBean() {
            return KeyMatchCB.class;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

         */
        public OptionalEntity<KeyMatch> getKeyMatch(final String id) {
            return keyMatchBhv.selectByPK(id);
        }
    
        /**
         * Store a key match.
         *
         * @param keyMatch The key match to store.
         */
        public void store(final KeyMatch keyMatch) {
    
            keyMatchBhv.insertOrUpdate(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

         * Retrieves a list of boosted documents for the specified KeyMatch.
         *
         * @param keyMatch The KeyMatch instance.
         * @return A list of boosted documents.
         */
        public List<Map<String, Object>> getBoostedDocumentList(final KeyMatch keyMatch) {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
            String virtualHost = keyMatch.getVirtualHost();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         * @param currentTime the current time
         * @return optional key match entity
         */
        public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new KeyMatch()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/KeyMatchDbm.java

            setupEpg(_epgMap, et -> ((KeyMatch) et).getMaxSize(), (et, vl) -> ((KeyMatch) et).setMaxSize(DfTypeUtil.toInteger(vl)), "maxSize");
            setupEpg(_epgMap, et -> ((KeyMatch) et).getQuery(), (et, vl) -> ((KeyMatch) et).setQuery(DfTypeUtil.toString(vl)), "query");
            setupEpg(_epgMap, et -> ((KeyMatch) et).getTerm(), (et, vl) -> ((KeyMatch) et).setTerm(DfTypeUtil.toString(vl)), "term");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

         */
        // GET /api/admin/keymatch/settings
        // PUT /api/admin/keymatch/settings
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final KeyMatchPager pager = copyBeanToNewBean(body, KeyMatchPager.class);
            final List<KeyMatch> list = keyMatchService.getKeyMatchList(pager);
            return asJson(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top