Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for setIndex (0.22 sec)

  1. cmd/mrf_gen.go

    			}
    		case "Versions":
    			z.Versions, err = dc.ReadBytes(z.Versions)
    			if err != nil {
    				err = msgp.WrapError(err, "Versions")
    				return
    			}
    		case "SetIndex":
    			z.SetIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "SetIndex")
    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolIndex")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "PoolIndex":
    			z.PoolIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "PoolIndex")
    				return
    			}
    		case "SetIndex":
    			z.SetIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "SetIndex")
    				return
    			}
    		case "DiskIndex":
    			z.DiskIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskIndex")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        public PopularWordsRequestBuilder(final Client client) {
            super(client, new PopularWordsRequest());
        }
    
        public PopularWordsRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        public PopularWordsRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

            super(client, new SuggestRequest());
            request.setReadingConverter(readingConverter);
            request.setNormalizer(normalizer);
        }
    
        public SuggestRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        public SuggestRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

            return response.getResult() == Result.CREATED ? 1 : 0;
        }
    
        protected IndexRequestBuilder createInsertRequest(final EsAbstractEntity esEntity) {
            final IndexRequestBuilder builder = client.prepareIndex().setIndex(asEsIndex()).setSource(toSource(esEntity));
            final String id = esEntity.asDocMeta().id();
            if (id != null) {
                builder.setId(id);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top