Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StopwordsItem (0.17 sec)

  1. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

                return false;
            }
            final StopwordsItem other = (StopwordsItem) obj;
            if (!input.equals(other.input)) {
                return false;
            }
            return true;
        }
    
        @Override
        public String toString() {
            return "StopwordsItem [id=" + id + ", inputs=" + input + ", newInputs=" + newInput + "]";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

        }
    
        public OptionalEntity<StopwordsItem> getStopwordsItem(final String dictId, final long id) {
            return getStopwordsFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final StopwordsItem stopwordsItem) {
            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        }
    
        @Override
        public synchronized OptionalEntity<StopwordsItem> get(final long id) {
            if (stopwordsItemList == null) {
                reload(null);
            }
    
            for (final StopwordsItem StopwordsItem : stopwordsItemList) {
                if (id == StopwordsItem.getId()) {
                    return OptionalEntity.of(StopwordsItem);
                }
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            return asJson(new ApiResult.ApiConfigsResponse<EditBody>()
                    .settings(stopwordsService.getStopwordsList(body.dictId, pager).stream()
                            .map(stopwordsItem -> createEditBody(stopwordsItem, dictId)).collect(Collectors.toList()))
                    .status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/dict/stopwords/setting/{dictId}/{id}
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                        ============
    
        private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top