Version: 2021.1
public bool SkipEntry (string document, bool checkRoots);

参数

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.