Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StopwordsFile (0.39 sec)

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

            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new {@link StopwordsFile} instance.
         *
         * @param id        The unique identifier for the dictionary file.
         * @param path      The file path of the dictionary.
         * @param timestamp The last modified timestamp of the file.
         * @return A new {@link StopwordsFile} associated with the dictionary manager.
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_upload.jsp

                                        <label for="stopwordsFile" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.dict_stopwords_file"/></label>
                                        <div class="col-sm-9">
                                            <input type="file" id="stopwordsFile" name="stopwordsFile" class="form-control-file"/>
                                        </div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

         */
        public OptionalEntity<StopwordsFile> getStopwordsFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(StopwordsFile.class::isInstance)
                    .map(file -> OptionalEntity.of((StopwordsFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            form.dictId = dictId;
            validateApi(form, messages -> {});
            final StopwordsFile file = stopwordsService.getStopwordsFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadStopwordsFile(GLOBAL));
                return null;
            });
            try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                file.update(inputStream);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java

        /**
         * The multipart file containing the stopwords to be uploaded.
         * This file should contain a list of words that should be filtered out during indexing.
         */
        @Required
        public MultipartFormFile stopwordsFile;
    
        /**
         * Default constructor for UploadForm.
         * Creates a new instance with default values.
         */
        public UploadForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top