Method DocName
DocName(IndexSearcher, Int32)
Extract the name of the input doc from the index.
Declaration
public virtual string DocName(IndexSearcher searcher, int docid)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | access to the index. |
System.Int32 | docid | ID of doc whose name is needed. |
Returns
Type | Description |
---|---|
System.String | the name of the input doc as extracted from the index. |