Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for _SOURCE (0.18 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            final String code = Arrays.stream(langFields).map(s -> "ctx._source['" + s + "_'+ctx._source." + langField + "]=ctx._source." + s)
                    .collect(Collectors.joining(";"));
            if (logger.isDebugEnabled()) {
                logger.debug("reindex script: {}", code);
            }
            return "if(ctx._source." + langField + "!=null){" + code + "}";
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            assertEquals("aaa;ctx._source.title_ja=ctx._source.title;ctx._source.content_ja=ctx._source.content",
                    languageHelper.createScript(doc, "aaa").getIdOrCode());
        }
    
        public void test_getReindexScriptSource() {
            assertEquals(
                    "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}",
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                Method getter = JavaPropertyReflectionUtil.findGetterMethod(sourceType, propertyName);
                if (getter != null && SupportsConvention.class.isAssignableFrom(getter.getReturnType())) {
                    SupportsConvention target;
                    try {
                        target = Cast.uncheckedNonnullCast(getter.invoke(_source));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                        if (StringUtil.isNotBlank(url)) {
                            final Set<String> labelSet = labelTypeHelper.getMatchedLabelValueSet(url);
                            final Script script = languageHelper.createScript(doc, "ctx._source." + fessConfig.getIndexFieldLabel()
                                    + "=new String[]{" + labelSet.stream().map(s -> "\"" + s + "\"").collect(Collectors.joining(",")) + "}");
                            return builder.setScript(script);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals("fess.update", resultMap.get("index"));
            assertEquals(
                    "{\"query\":{\"ids\":{\"values\":[\"001\"],\"boost\":1.0}},\"_source\":{\"includes\":[\"title\",\"content\"],\"excludes\":[]}}",
                    resultMap.get("query"));
            assertEquals(3, document.size());
        }
    
        public void test_getDocumentListByPrefixId() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/java/modules-multi-project/README.adoc

    Java Modules are a feature of Java itself, available since Java 9, that allows for better encapsulation.
    
    In Gradle, each _source set_ containing Java sources can be turned into a module by adding a `module-info.java` file.
    Typically, in a project with Java Modules like this one, the _main_ source set of a subproject represents a module.
    
    ```
    src
    └── main
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_compile_util.cc

      // First create the actual node we care about computing.
      TF_ASSIGN_OR_RETURN(Node * main_node, graph->AddNode(node_def));
    
      // Create dummy _Arg nodes. Link these to `node` and also via a control
      // dependency edge to the _SOURCE node.
      for (int64_t i = 0, end = args.size(); i < end; ++i) {
        Node* node;
        string arg_name = absl::StrCat("_arg", i);
        Status status =
            NodeBuilder(arg_name, FunctionLibraryDefinition::kArgOp)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/assemblies/extension/kibana/fess_log.ndjson

    rchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"esTypes\":[\"_source\"],\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"esTypes\":[\"_type\"],\"count\":0,\"scripted\":false,\"searchable\":true,\...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Aug 12 01:26:21 UTC 2019
    - 18.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

        TF_RETURN_IF_ERROR(
            RewriteSlice(g, n, *slice_inputs, *GetXlaClusterForNode(*n)));
      }
    
      if (!slices_to_rewrite.empty()) {
        // We've added constants to the graph; hook them up to _SOURCE.
        FixupSourceAndSinkEdges(g);
      }
    
      *changed = !slices_to_rewrite.empty();
    
      return absl::OkStatus();
    }
    }  // namespace
    
    Status IncreaseDynamismForAutoJitPass::Run(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                            final Script script = ComponentUtil.getLanguageHelper().createScript(doc,
                                                    "ctx._source." + fessConfig.getIndexFieldClickCount() + "+=" + count.toString());
                                            final Map<String, Object> upsertMap = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top