@graphty/graphty-element / index / FindResult
Interface: FindResult ​
Defined in: graphty-element/src/session/types.ts:340
What GraphSession.find answers: a page of hits, in the RecordPage shape, and value rows.
Properties ​
notSearchable? ​
readonlyoptionalnotSearchable?:"expression"|"regex"
Defined in: graphty-element/src/session/types.ts:355
Set when the text is a pattern to run on commit, not text to find: a regex: or = query. Find does not run it and lists nothing; selection.apply({ text }) runs it.
offset ​
readonlyoffset:number
Defined in: graphty-element/src/session/types.ts:344
Where the window starts.
records ​
readonlyrecords: readonlyFindHit[]
Defined in: graphty-element/src/session/types.ts:342
The hits in this window, best first.
revision ​
readonlyrevision:string
Defined in: graphty-element/src/session/types.ts:348
The input revision the answer was read at; a different one means it is stale.
total ​
readonlytotal:number
Defined in: graphty-element/src/session/types.ts:346
How many hits there are in all.
values ​
readonlyvalues: readonlyFindValueRow[]
Defined in: graphty-element/src/session/types.ts:350
At most three matched attribute values, commonest first.