csharpdeeb25a2 | 1 | using HybridCodebaseIndex.Core; |
| 2 | |
| 3 | namespace CascadeIDE.Features.HybridIndex.Application; |
| 4 | |
| 5 | /// <summary> |
| 6 | /// Узкий контракт оркестратора для палитры: статус индекса и FTS-поиск (ADR 0112). |
| 7 | /// Выделен для подмен в тестах без полного <see cref="HybridIndexOrchestrator"/>. |
| 8 | /// </summary> |
| 9 | public interface IHybridIndexOrchestratorSearch |
| 10 | { |
| 11 | Task<IndexStatus> GetIndexStatusAsync( |
| 12 | string workspaceRoot, |
| 13 | string? solutionPath, |
| 14 | CancellationToken cancellationToken = default); |
| 15 | |
| 16 | Task<(SearchResponse Response, string? Error)> SearchHybridAsync( |
| 17 | string workspaceRoot, |
| 18 | string? solutionPath, |
| 19 | string query, |
| 20 | int topN, |
| 21 | string? pathPrefix, |
| 22 | IReadOnlyList<string>? excludePathPrefixes, |
| 23 | IReadOnlyList<string>? extensions, |
| 24 | bool semantic, |
| 25 | double alpha, |
| 26 | double beta, |
| 27 | int vecTopK, |
| 28 | CancellationToken cancellationToken = default); |
| 29 | } |
| 30 | |
View only · write via MCP/CIDE