Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setScript (0.05 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)
Back to top