Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for dataConfig (0.09 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

    import org.codelibs.fess.util.ParameterUtil;
    
    /**
     * @author FreeGen
     */
    public class DataConfig extends BsDataConfig implements CrawlingConfig {
    
        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(DataConfig.class);
    
        private static final String CRAWLER_WEB_PREFIX = "crawler.web.";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

        {
            setupEpg(_epgMap, et -> ((DataConfig) et).getAvailable(), (et, vl) -> ((DataConfig) et).setAvailable(DfTypeUtil.toBoolean(vl)),
                    "available");
            setupEpg(_epgMap, et -> ((DataConfig) et).getBoost(), (et, vl) -> ((DataConfig) et).setBoost(DfTypeUtil.toFloat(vl)), "boost");
            setupEpg(_epgMap, et -> ((DataConfig) et).getCreatedBy(), (et, vl) -> ((DataConfig) et).setCreatedBy(DfTypeUtil.toString(vl)),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsDataConfigBhv.java

            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends DataConfig> typeOfSelectedEntity() {
            return DataConfig.class;
        }
    
        @Override
        protected Class<DataConfig> typeOfHandlingEntity() {
            return DataConfig.class;
        }
    
        @Override
        protected Class<DataConfigCB> typeOfHandlingConditionBean() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            private final DataConfig dataConfig;
    
            private final IndexUpdateCallback indexUpdateCallback;
    
            private final DataStoreParams initParamMap;
    
            protected boolean finished = false;
    
            protected boolean running = false;
    
            private DataStore dataStore;
    
            protected DataCrawlingThread(final DataConfig dataConfig, final IndexUpdateCallback indexUpdateCallback,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                @Override
                public OptionalEntity<DataConfig> getDataConfig(final String id) {
                    final DataConfig dataConfig = new DataConfig();
                    dataConfig.setId(id);
                    if (id.endsWith("P")) {
                        dataConfig.setHandlerParameter("config.pipeline=dp");
                    }
                    return OptionalEntity.of(dataConfig);
                }
    
                @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)
  6. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            return dataConfigList;
        }
    
        public void delete(final DataConfig dataConfig) {
            dataConfigBhv.delete(dataConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        public OptionalEntity<DataConfig> getDataConfig(final String id) {
            return dataConfigBhv.selectByPK(id);
        }
    
        public OptionalEntity<DataConfig> getDataConfigByName(final String name) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

            });
    
            return asJson(new ApiUpdateResponse().id(dataConfig.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/dataconfig/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final DataConfig dataConfig = getDataConfig(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)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/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.dataconfig;
    
    import org.codelibs.fess.app.web.admin.dataconfig.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)
  9. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        //                                                                        ============
        public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new DataConfig()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                @Override
                protected String getName() {
                    return "Test";
                }
    
                @Override
                protected void storeData(DataConfig dataConfig, IndexUpdateCallback callback, DataStoreParams paramMap,
                        Map<String, String> scriptMap, Map<String, Object> defaultDataMap) {
                    // TODO nothing
                }
            };
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top