프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$collection | ICollection; | ||
$index | type | The index that gets written out | |
$metadata | array | The collection of metadata for all the documents, indexed by doc id |
메소드 | 설명 | |
---|---|---|
__construct ( TextAnalysis\Interfaces\ICollection &$collection ) | Build the index from the collection of documents | |
__destruct ( ) | ||
getIndex ( ) : array | Get the computed index | |
getMetadata ( ) : the |
메소드 | 설명 | |
---|---|---|
buildIndex ( ) | Builds the internal index data structure using the provided collection |
public __construct ( TextAnalysis\Interfaces\ICollection &$collection ) | ||
$collection | TextAnalysis\Interfaces\ICollection |
protected buildIndex ( ) |
protected array $metadata | ||
리턴 | array |