Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for setIndex (0.13 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final PropertyDesc idProp = beanDesc.getPropertyDesc(ID);
            idProp.setValue(target, id);
        }
    
        public String getIndex() {
            return index;
        }
    
        public void setIndex(final String index) {
            this.index = index;
        }
    
        public int getScrollTimeout() {
            return scrollTimeout;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    		}
    	}
    }
    
    func (s *erasureSets) GetLockers(setIndex int) func() ([]dsync.NetLocker, string) {
    	return func() ([]dsync.NetLocker, string) {
    		lockers := make([]dsync.NetLocker, len(s.erasureLockers[setIndex]))
    		copy(lockers, s.erasureLockers[setIndex])
    		return lockers, s.erasureLockOwner
    	}
    }
    
    func (s *erasureSets) GetEndpointStrings(setIndex int) func() []string {
    	return func() []string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            boolean doIndexCreate = false;
            boolean doCreate = false;
            try {
                final GetResponse getResponse =
                        client.prepareGet().setIndex(settingsIndexName).setId(settingsId).execute().actionGet(getSearchTimeout());
    
                if (!getResponse.isExists()) {
                    doCreate = true;
                }
            } catch (final IndexNotFoundException e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    // If the tracker has been deleted an error is returned.
    func (h *healingTracker) update(ctx context.Context) error {
    	h.mu.Lock()
    	if h.ID == "" || h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 {
    		h.ID, _ = h.disk.GetDiskID()
    		h.PoolIndex, h.SetIndex, h.DiskIndex = h.disk.GetDiskLoc()
    	}
    	h.mu.Unlock()
    	return h.save(ctx)
    }
    
    // save will unconditionally save the tracker and will be created if not existing.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. cmd/global-heal.go

    	indexed := make(map[string][]madmin.Disk)
    	for _, disk := range si.Disks {
    		setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex)
    		indexed[setIdx] = append(indexed[setIdx], disk)
    	}
    
    	for id, disks := range indexed {
    		ss := madmin.SetStatus{
    			ID:        id,
    			SetIndex:  disks[0].SetIndex,
    			PoolIndex: disks[0].PoolIndex,
    		}
    		for _, disk := range disks {
    			ss.Disks = append(ss.Disks, disk)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. 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();
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            try {
                final XContentBuilder builder = JsonXContent.contentBuilder().map(source);
                builder.flush();
                client.prepareUpdate().setIndex(actualIndex).setId(id).setDocAsUpsert(true).setDoc(builder).execute()
                        .actionGet(settings.getIndexTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    func sortDisks(disks []madmin.Disk) {
    	sort.Slice(disks, func(i, j int) bool {
    		a, b := &disks[i], &disks[j]
    		if a.PoolIndex != b.PoolIndex {
    			return a.PoolIndex < b.PoolIndex
    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    		return a.DiskIndex < b.DiskIndex
    	})
    }
    
    // getLocalHealingDisks returns local healing disks indexed by endpoint.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                    response = client.prepareIndex().setIndex(index).setSource(new DocMap(source)).setRefreshPolicy(RefreshPolicy.IMMEDIATE)
                            .setOpType(OpType.CREATE).execute().actionGet(fessConfig.getIndexIndexTimeout());
                } else {
                    // create or update
                    final IndexRequestBuilder builder = client.prepareIndex().setIndex(index).setId(id).setSource(new DocMap(source))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/Suggester.java

            }
        }
    
        public SuggestRequestBuilder suggest() {
            return new SuggestRequestBuilder(client, readingConverter, normalizer).setIndex(getSearchAlias(index));
        }
    
        public PopularWordsRequestBuilder popularWords() {
            return new PopularWordsRequestBuilder(client).setIndex(getSearchAlias(index));
        }
    
        public RefreshResponse refresh() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top