Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for script_type (0.05 sec)

  1. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            // nothing
        }
    
        private static final Logger logger = LogManager.getLogger(AbstractDataStore.class);
    
        /**
         * The script type.
         */
        protected static final String SCRIPT_TYPE = "script_type";
    
        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            requestBody.put("name", NAME_PREFIX + "Scheduler");
            requestBody.put("target", "all");
            requestBody.put("script_type", "groovy");
            requestBody.put("sort_order", 0);
            requestBody.put("crawler", true);
            requestBody.put("job_logging", true);
            requestBody.put("available", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

            final JobLog jobLog = new JobLog(scheduledJob);
            final String scriptType = scheduledJob.getScriptType();
            final String script = scheduledJob.getScriptData();
    
            final JobExecutor jobExecutor = ComponentUtil.getJobExecutor(scriptType);
            if (jobExecutor == null) {
                throw new ScheduledJobException("No jobExecutor: " + scriptType);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * @param value the original value to process
         * @param template the template script to evaluate
         * @param scriptType the type of script engine to use
         */
        default void putResultDataWithTemplate(final Map<String, Object> dataMap, final String key, final Object value, final String template,
                final String scriptType) {
            Object target = value;
            if (template != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        /** The script engine type used for expression evaluation */
        private final String scriptType;
    
        /**
         * Default constructor that creates a DocBoostMatcher with default script type.
         * Uses the default script engine as defined in Constants.DEFAULT_SCRIPT.
         */
        public DocBoostMatcher() {
            scriptType = Constants.DEFAULT_SCRIPT;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/JobLogDbm.java

                false, false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnScriptType = cci("scriptType", "scriptType", null, null, String.class, "scriptType", null, false,
                false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/scheduler/CreateForm.java

         */
        @Size(max = 100)
        @CronExpression
        public String cronExpression;
    
        /**
         * The type of script for the scheduled job.
         */
        @Required
        @Size(max = 100)
        public String scriptType;
    
        /**
         * The script data or code for the scheduled job.
         */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String scriptData;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            jobExecutor = new TestJobExecutor();
        }
    
        public void test_execute() {
            // Test execute method
            String scriptType = "test";
            String script = "test script";
            Object result = jobExecutor.execute(scriptType, script);
            assertEquals("Executed: test test script", result);
    
            // Test with null values
            result = jobExecutor.execute(null, "script");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java

        public ScriptExecutor() {
            super();
        }
    
        @Override
        public Object execute(final String scriptType, final String script) {
            final Map<String, Object> params = new HashMap<>();
            params.put("executor", this);
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(script, params);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.script.Script;
    import org.opensearch.script.ScriptType;
    
    public class UpdateLabelJobTest extends UnitFessTestCase {
    
        private UpdateLabelJob updateLabelJob;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top