Class: KeywordTable
The underlying structure of each index.
Hierarchy
-
↳
KeywordTable
Constructors
constructor
• new KeywordTable(indexId?
, summary?
): KeywordTable
Parameters
Name | Type | Default value |
---|---|---|
indexId | `${string}-${string}-${string}-${string}-${string}` | undefined |
summary | undefined | undefined |
Returns
Inherited from
Defined in
packages/core/src/indices/IndexStruct.ts:10
Properties
indexId
• indexId: string
Inherited from
Defined in
packages/core/src/indices/IndexStruct.ts:7
summary
• Optional
summary: string
Inherited from
Defined in
packages/core/src/indices/IndexStruct.ts:8
table
• table: Map
<string
, Set
<string
>>
Defined in
packages/core/src/indices/BaseIndex.ts:17
type
• type: IndexStructType
= IndexStructType.KEYWORD_TABLE
Defined in
packages/core/src/indices/BaseIndex.ts:18
Methods
addNode
▸ addNode(keywords
, nodeId
): void
Parameters
Name | Type |
---|---|
keywords | string [] |
nodeId | string |