Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setScript (0.11 sec)

  1. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                                    + "=new String[]{" + labelSet.stream().map(s -> "\"" + s + "\"").collect(Collectors.joining(",")) + "}");
                            return builder.setScript(script);
                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to process {}", hit, e);
                    }
                    return null;
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            }
            final String index = fessConfig.getIndexDocumentUpdateIndex();
            for (final String id : ids) {
                bulkRequestBuilder.add(client.prepareUpdate().setIndex(index).setId(id)
                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
            }
            return (long) ids.length;
        };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/webapp/js/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 131.6K bytes
    - Viewed (0)
Back to top