Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mergeItems (0.14 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            final BulkRequestBuilder bulkRequestBuilder = client.prepareBulk();
    
            final SuggestItem[] mergedItems = mergeItems(items);
            if (mergedItems.length == 0) {
                return new SuggestWriterResult();
            }
    
            for (final SuggestItem item : mergedItems) {
                final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

        SuggestWriterResult deleteByQuery(Client client, SuggestSettings settings, String index, QueryBuilder queryBuilder);
    
        default SuggestItem[] mergeItems(final SuggestItem[] items) {
            final Set<String> mergedIdSet = new HashSet<>();
            final List<SuggestItem> mergedList = new ArrayList<>(items.length);
    
            for (final SuggestItem item1 : items) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top