Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for file_config (0.22 sec)

  1. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "file_config";
        }
    
        @Override
        public String xgetAliasName() {
            return "file_config";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 165.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.ParameterUtil;
    
    /**
     * @author FreeGen
     */
    public class FileConfig extends BsFileConfig implements CrawlingConfig {
    
        private static final long serialVersionUID = 1L;
    
        protected volatile Pattern[] includedDocPathPatterns;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(fileConfig.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/fileconfig/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                        fileConfig = new FileConfig();
                        fileConfig.setName("Default");
                        fileConfig.setAvailable(true);
                        fileConfig.setBoost(1.0f);
                        fileConfig.setConfigParameter(StringUtil.EMPTY);
                        fileConfig.setIntervalTime(0);
                        fileConfig.setNumOfThread(5);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        public void store(final FileConfig fileConfig) {
            fileConfig.setConfigParameter(ParameterUtil.encrypt(fileConfig.getConfigParameter()));
            fileConfigBhv.insertOrUpdate(fileConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                        fileConfig.getNumOfThread() != null ? fileConfig.getNumOfThread() : Constants.DEFAULT_NUM_OF_THREAD_FOR_FS;
                crawlerContext.setNumOfThread(numOfThread);
    
                // depth
                final int depth = fileConfig.getDepth() != null ? fileConfig.getDepth() : -1;
                crawlerContext.setMaxDepth(depth);
    
                // max count
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/FileAuthentication.java

        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public FileConfig getFileConfig() {
            if (fileConfig == null) {
                final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                try {
                    fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                @Override
                public OptionalEntity<FileConfig> getFileConfig(final String id) {
                    final FileConfig fileConfig = new FileConfig();
                    fileConfig.setId(id);
                    if (id.endsWith("P")) {
                        fileConfig.setConfigParameter("config.pipeline=fp");
                    }
                    return OptionalEntity.of(fileConfig);
                }
    
                @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/CreateBody.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.fileconfig;
    
    import org.codelibs.fess.app.web.admin.fileconfig.CreateForm;
    
    public class CreateBody extends CreateForm {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 789 bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/FileAuthTests.java

            checkMethodBase(requestBody).put("/api/admin/fileconfig/setting").then().body("response.created", equalTo(true))
                    .body("response.status", equalTo(0));
        }
    
        String getFileConfigId() {
            final Map<String, Object> searchBody = new HashMap<>();
            searchBody.put("name", "test_fileconfig");
            String res = checkMethodBase(searchBody).get("/api/admin/fileconfig/settings").asString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top