Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexResult ¶
type IndexResult struct {
IndexedFiles int `json:"indexed_files"`
IndexedItems int `json:"indexed_items"`
SkippedFiles int `json:"skipped_files"`
IndexTimeMs int64 `json:"index_time_ms"`
EmbeddingTimeMs int64 `json:"embedding_time_ms"`
}
IndexResult contains the results of an indexing operation
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer indexes code for semantic search
func NewIndexer ¶
func NewIndexer(embedder *embedding.Engine, store *vectorstore.Store, tracker *filetracker.Tracker, logger *logrus.Logger) *Indexer
NewIndexer creates a new indexer
func (*Indexer) IndexFiles ¶
IndexFiles indexes specific files without checking if already indexed Used for reindexing stale files
Click to show internal directories.
Click to hide internal directories.