| Parameter | Description |
|---|---|
| document | Path of a document. |
| checkRoots | Check Roots. |
bool Returns true if the document doesn't need to be indexed.
Called when the index is built to see if a specified document needs to be indexed. See SearchIndexer.skipEntryHandler.