IndexResult class

Constructors

IndexResult({int? chunks, int? files, int? indexed, int? pruned, String? repo, bool? semantic, int? skipped, int? symbols, int? vectors})
Returns a new IndexResult instance.

Properties

chunks ↔ int?
Chunks is how many AST-boundary chunks the repo holds after this pass.
getter/setter pair
files ↔ int?
Files is how many files the repo holds after this pass.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
indexed ↔ int?
Indexed is how many files were parsed and written on this pass.
getter/setter pair
pruned ↔ int?
Pruned is how many stored files were deleted because prune was set and they were absent from the request.
getter/setter pair
repo ↔ String?
Repo is the repository that was indexed.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semantic ↔ bool?
Semantic reports whether the semantic tier was available for this pass. When false the index is lexical + symbolic only and hybrid search still works.
getter/setter pair
skipped ↔ int?
Skipped is how many files were unchanged by content hash and left alone.
getter/setter pair
symbols ↔ int?
Symbols is how many symbol definitions the repo holds after this pass.
getter/setter pair
vectors ↔ int?
Vectors is how many of those chunks carry an embedding.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → IndexResult?
Returns a new IndexResult instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IndexResult>
mapFromJson(dynamic json) → Map<String, IndexResult>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IndexResult>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.