Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for FileConfig (0.08 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java

        {
            setupEpg(_epgMap, et -> ((FileConfig) et).getAvailable(), (et, vl) -> ((FileConfig) et).setAvailable(DfTypeUtil.toBoolean(vl)),
                    "available");
            setupEpg(_epgMap, et -> ((FileConfig) et).getBoost(), (et, vl) -> ((FileConfig) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((FileConfig) et).getConfigParameter(),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K 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/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends FileConfig> typeOfSelectedEntity() {
            return FileConfig.class;
        }
    
        @Override
        protected Class<FileConfig> typeOfHandlingEntity() {
            return FileConfig.class;
        }
    
        @Override
        protected Class<FileConfigCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top