Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getScript (0.05 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                                        "ctx._source." + fessConfig.getIndexFieldFavoriteCount() + "+=1");
                                builder.setScript(script);
                                final Map<String, Object> upsertMap = new HashMap<>();
                                upsertMap.put(fessConfig.getIndexFieldFavoriteCount(), 1);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final UpdateByQueryRequest request = new UpdateByQueryRequest(index).setQuery(QueryBuilders.idsQuery().addIds(id))
                    .setScript(new Script(ScriptType.INLINE, "painless",
                            "ctx._source[params.f]=params.v;" + ComponentUtil.getLanguageHelper().getReindexScriptSource(),
                            Map.of("f", field, "v", value)));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top