Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for setIndex (0.09 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
    
        public void reset () {
            this.index = this.start;
            this.length = 0;
            this.deferred = this;
        }
    
    
        public int getIndex () {
            return this.index;
        }
    
    
        public void setIndex ( int index ) {
            this.index = index;
        }
    
    
        public int getCapacity () {
            return this.buf.length - this.start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. cmd/erasure.go

    var OfflineDisk StorageAPI // zero value is nil
    
    // erasureObjects - Implements ER object layer.
    type erasureObjects struct {
    	setDriveCount      int
    	defaultParityCount int
    
    	setIndex  int
    	poolIndex int
    
    	// getDisks returns list of storageAPIs.
    	getDisks func() []StorageAPI
    
    	// getLockers returns list of remote and local lockers.
    	getLockers func() ([]dsync.NetLocker, string)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                        for (final SearchHit searchHit : searchHits) {
                            final UpdateRequestBuilder updateRequest =
                                    c.prepareUpdate().setIndex(index).setId(searchHit.getId()).setDoc(SESSION_ID, newSessionId);
                            builder.add(updateRequest);
                        }
    
                        return builder.execute();
                    });
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            return nb;
        }
    
    
        
        public void reset() {
            this.index = start;
            length = 0;
            deferred = this;
        }
        public int getIndex() {
            return index;
        }
        public void setIndex(int index) {
            this.index = index;
        }
        public int getCapacity() {
            return buf.length - start;
        }
        public int getTailSpace() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

                source.put("field1", "test" + i);
                source.put("field2", i);
                IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE);
                indexRequestBuilder.setIndex(indexName).setId(String.valueOf(i)).setCreate(true).setSource(source);
                bulkRequestBuilder.add(indexRequestBuilder);
            }
            bulkRequestBuilder.execute().actionGet();
            runner.refresh();
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-drive.go

    const (
    	driveL      = "drive"
    	poolIndexL  = "pool_index"
    	setIndexL   = "set_index"
    	driveIndexL = "drive_index"
    
    	apiL = "api"
    
    	sectorSize = uint64(512)
    	kib        = float64(1 << 10)
    
    	driveHealthOffline = float64(0)
    	driveHealthOnline  = float64(1)
    	driveHealthHealing = float64(2)
    )
    
    var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL}
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        private Normalizer normalizer;
    
        private float prefixMatchWeight = 2.0f;
    
        private boolean matchWordFirst = true;
    
        private boolean skipDuplicateWords = true;
    
        public void setIndex(final String index) {
            this.index = index;
        }
    
        public void setSize(final int size) {
            this.size = size;
        }
    
        public void setQuery(final String query) {
            this.query = query;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top