Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 79 for set_index (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_dependency_yield_scope.py

    ]
    
    RegularSessionsDep = Annotated[
        tuple[NamedSession, Session], Depends(get_named_regular_func_session)
    ]
    
    app = FastAPI()
    router = APIRouter()
    
    
    @router.get("/")
    def get_index():
        return {"status": "ok"}
    
    
    @app.get("/function-scope")
    def function_scope(session: SessionFuncDep) -> Any:
        def iter_data():
            yield json.dumps({"is_open": session.open})
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingContext.java

            this.langFieldName = langFieldName;
            this.badWords = badWords;
        }
    
        /**
         * Returns the index name.
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the supported fields.
         * @return The supported fields.
         */
        public String[] getSupportedFields() {
            return supportedFields;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        public void testSetSettingsIndexName() {
            // Test setting index name with lowercase conversion
            SuggestSettingsBuilder result = builder.setSettingsIndexName("TEST_INDEX");
            assertEquals(builder, result); // Test method chaining
            assertEquals("test_index", builder.settingsIndexName);
    
            // Test setting index name with mixed case
            builder.setSettingsIndexName("TeSt_InDeX_NaMe");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            num = words.size();
            this.total = total;
            this.items = items;
        }
    
        /**
         * Returns the index name.
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Returns the time taken in milliseconds.
         * @return The time taken.
         */
        public long getTookMs() {
            return tookMs;
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseCreator.java

            final List<SuggestItem> firstItems = new ArrayList<>();
            final List<SuggestItem> secondItems = new ArrayList<>();
    
            final String index;
            if (hits.length > 0) {
                index = hits[0].getIndex();
            } else {
                index = SuggestConstants.EMPTY_STRING;
            }
    
            final boolean singleWordQuery = queryBuilder.isSingleWordQuery(query);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

                }
            }
    
            final BulkRequestBuilder bulkDelete = client.prepareBulk();
            for (final String docId : docIds) {
                bulkDelete.add(client.prepareDelete().setIndex(indexName).setId(docId));
            }
            bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout());
    
            // Delete any remaining events beyond the search size limit (discard overflow)
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  7. cmd/mrf.go

    // but not written in all disks (having quorum)
    type PartialOperation struct {
    	Bucket              string
    	Object              string
    	VersionID           string
    	Versions            []byte
    	SetIndex, PoolIndex int
    	Queued              time.Time
    	BitrotScan          bool
    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan PartialOperation
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. benchmarks/src/main/java/org/elasticsearch/benchmark/script/ScriptScoreBenchmark.java

                    break;
                default:
                    throw new IllegalArgumentException("Don't know how to implement script [" + script + "]");
            }
        }
    
        @Setup
        public void setupIndex() throws IOException {
            Path path = Path.of(System.getProperty("tests.index"));
            IOUtils.rm(path);
            Directory directory = new MMapDirectory(path);
            try (
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 13:45:50 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  9. cmd/erasure-object.go

    					healOnce.Do(func() {
    						globalMRFState.addPartialOp(PartialOperation{
    							Bucket:     bucket,
    							Object:     object,
    							VersionID:  fi.VersionID,
    							Queued:     time.Now(),
    							SetIndex:   er.setIndex,
    							PoolIndex:  er.poolIndex,
    							BitrotScan: errors.Is(err, errFileCorrupt),
    						})
    					})
    					// Healing is triggered and we have written
    					// successfully the content to client for
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

            // Something was parsed. It's possible the entire string was not consumed but we ignore
            // that. If any of the BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS ended in "'GMT'" we'd have
            // to also check that position.getIndex() == value.length() otherwise parsing might have
            // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any
            // trailing junk is ignored.
            return result
          }
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top