- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for SCRIPT (0.05 sec)
-
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
// 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"); assertEquals("Executed: null script", result); result = jobExecutor.execute("type", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/JobExecutor.java
// Default constructor } /** * Executes a script with the specified script type and content. * * @param scriptType the type of script to execute * @param script the script content to execute * @return the result of script execution */ public abstract Object execute(String scriptType, String script); /** * Initiates shutdown of the job executor.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
logger.debug("Starting Job {}. scriptType: {}, script: {}", id, scriptType, script); } else if (scheduledJob.isLoggingEnabled() && logger.isInfoEnabled()) { logger.info("Starting Job {}.", id); } final Object ret = jobExecutor.execute(Constants.DEFAULT_SCRIPT, script); if (ret == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
} } /** * Evaluates a template script using the specified script engine and parameters. * * @param scriptType the type of script engine to use * @param template the template script to evaluate * @param paramMap the parameters to pass to the script * @return the result of script evaluation, or empty string if template is empty */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
import org.codelibs.fess.unit.UnitFessTestCase; 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 {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreBooster.java
this.requestCacheSize = requestCacheSize; } /** * Sets the script language. * @param scriptLang The script language. */ public void setScriptLang(final String scriptLang) { this.scriptLang = scriptLang; } /** * Sets the script code. * @param scriptCode The script code. */ public void setScriptCode(final String scriptCode) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/ScriptEngine.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.script; import java.util.Map; /** * Interface for script engines that can evaluate templates with parameters. * This interface provides a contract for different script engine implementations * to process template strings with parameter substitution. */ public interface ScriptEngine { /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/UpdateLabelJob.java
final Script script = languageHelper.createScript(doc, "ctx._source." + fessConfig.getIndexFieldLabel() + "=new String[]{" + labelSet.stream().map(s -> "\"" + s + "\"").collect(Collectors.joining(",")) + "}"); return builder.setScript(script); } } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.script.groovy; import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.exception.JobProcessingException; import org.codelibs.fess.script.AbstractScriptEngine; import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0)