Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for evaluate (0.12 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * The template is evaluated using the specified script engine with the value and context.
         *
         * @param dataMap the data map to modify
         * @param key the key to store the processed value under
         * @param value the original value to process
         * @param template the template script to evaluate
         * @param scriptType the type of script engine to use
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Boolean) {
                return (Boolean) value;
            }
    
            return false;
        }
    
        /**
         * Calculates the boost value for the given document data using the boost expression.
         * The method evaluates the boost expression and converts the result to a float value.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

        }
    
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            final Map<String, Object> bindingMap = new HashMap<>(paramMap);
            bindingMap.put("container", SingletonLaContainerFactory.getContainer());
            final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
            try {
                return groovyShell.evaluate(template);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            new AbstractScriptEngine() {
    
                @Override
                public Object evaluate(String template, Map<String, Object> paramMap) {
                    final Map<String, Object> bindingMap = new HashMap<>(paramMap);
                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  5. guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if any one of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a true predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code false}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.w3c.dom.Node;
    
    /**
     * The XPathAPI class provides methods to evaluate XPath expressions and select nodes or node lists from an XML document.
     * It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions.
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * XPathAPI xPathAPI = new XPathAPI();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashingOutputStream.java

       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/score/QueryRescorer.java

    /**
     * Interface for query rescoring implementations.
     */
    public interface QueryRescorer {
        /**
         * Evaluates the rescorer with the given parameters.
         *
         * @param params the parameters for rescoring
         * @return the rescorer builder
         */
        RescorerBuilder<?> evaluate(final Map<String, Object> params);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            new AbstractScriptEngine() {
    
                @Override
                public Object evaluate(String template, Map<String, Object> paramMap) {
                    final Map<String, Object> bindingMap = new HashMap<>(paramMap);
                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java

            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)
Back to top