Property | Type | Description | |
---|---|---|---|
$articleLinkService | |||
$em |
Method | Description | |
---|---|---|
__construct ( |
||
getDocument ( Newscoop\Search\DocumentInterface $comment ) : array | Get document for comment | |
getDocumentId ( Newscoop\Search\DocumentInterface $comment ) : string | Get document id | |
getSubType ( Newscoop\Search\DocumentInterface $comment ) : string | Return type for this search service | |
getType ( ) : string | Return type for this search service | |
isIndexable ( Newscoop\Search\DocumentInterface $comment ) : boolean | Test if comment can be indexed | |
isIndexed ( Newscoop\Search\DocumentInterface $comment ) : boolean | Test if comment is indexed |
public __construct ( |
||
$articleLinkService | ||
$em |
public getDocument ( Newscoop\Search\DocumentInterface $comment ) : array | ||
$comment | Newscoop\Search\DocumentInterface | |
return | array |
public getDocumentId ( Newscoop\Search\DocumentInterface $comment ) : string | ||
$comment | Newscoop\Search\DocumentInterface | |
return | string |
public getSubType ( Newscoop\Search\DocumentInterface $comment ) : string | ||
$comment | Newscoop\Search\DocumentInterface | |
return | string | identifier |
public isIndexable ( Newscoop\Search\DocumentInterface $comment ) : boolean | ||
$comment | Newscoop\Search\DocumentInterface | |
return | boolean |
protected LinkService,Newscoop\Article $articleLinkService | ||
return |