Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DataStoreParams (0.08 sec)

  1. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

     */
    package org.codelibs.fess.entity;
    
    import java.util.HashMap;
    import java.util.Map;
    
    public class DataStoreParams {
    
        protected final Map<String, Object> params;
    
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        protected DataStoreParams(final Map<String, Object> params) {
            this.params = new ParamMap<>(new HashMap<>(getDataMap(params)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/Ingester.java

    import java.util.Map;
    
    import org.codelibs.fess.crawler.entity.AccessResult;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class Ingester {
    
        protected int priority = 99;
    
        public int getPriority() {
            return priority;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/DataStore.java

     */
    package org.codelibs.fess.ds;
    
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    
    public interface DataStore {
    
        void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap);
    
        void stop();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 962 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds.callback;
    
    import java.util.Map;
    
    import org.codelibs.fess.entity.DataStoreParams;
    
    public interface IndexUpdateCallback {
    
        void store(DataStoreParams paramMap, Map<String, Object> dataMap);
    
        long getDocumentSize();
    
        long getExecuteTime();
    
        void commit();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 924 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    import org.codelibs.fess.helper.CrawlingInfoHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

     */
    package org.codelibs.fess.ds;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.script.AbstractScriptEngine;
    import org.codelibs.fess.script.ScriptEngineFactory;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    }
                }
            });
        }
    
        protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) {
            return paramMap.getAsString(key, defaultValue);
        }
    
        protected void addDocument(final DataStoreParams paramMap, final Map<String, Object> dataMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            dataCrawlingThreadList.clear();
            final List<String> dataCrawlingThreadStatusList = new ArrayList<>();
            for (final DataConfig dataConfig : configList) {
                final DataStoreParams initParamMap = new DataStoreParams();
                final String sid = ComponentUtil.getCrawlingConfigHelper().store(sessionId, dataConfig);
                sessionIdList.add(sid);
    
                initParamMap.put(Constants.SESSION_ID, sessionId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

    import java.util.concurrent.atomic.AtomicLong;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.exception.DataStoreException;
    import org.codelibs.fess.helper.CrawlingInfoHelper;
    import org.codelibs.fess.helper.IndexingHelper;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top