Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StopwordsItem (0.19 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 + "]";
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.7K 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();
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. 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 {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top