search: add index batching (#104163)
* add basic search backend integration tests * add search backend benchmark * add benchmark indexServer * fix * lint * add more tests * lint * do not use the poller * batch write * refactor and add tests * improvements * improvements * cleanup * only observe index success * add monitorIndexEvents method * nit use switch instead of if * make newIndexQueueProcessor private * simplify runProcessor * go lint
This commit is contained in:
@@ -158,6 +158,9 @@ type SearchOptions struct {
|
||||
|
||||
// Skip building index on startup for small indexes
|
||||
InitMinCount int
|
||||
|
||||
// Channel to watch for index events (for testing)
|
||||
IndexEventsChan chan *IndexEvent
|
||||
}
|
||||
|
||||
type ResourceServerOptions struct {
|
||||
|
||||
Reference in New Issue
Block a user