Method Doc
Doc(Int32)
Sugar for
.IndexReader.Document(docID)
Declaration
[TargetMethod("Doc", 1)]
public virtual Document Doc(int docID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID |
Returns
Type | Description |
---|---|
Document |
See Also
Lucene.Net.Index.IndexReader.Document(System.Int32)
Doc(Int32, StoredFieldVisitor)
Sugar for
.IndexReader.Document(docID, fieldVisitor)
Declaration
[TargetMethod("Doc", 2)]
public virtual void Doc(int docID, StoredFieldVisitor fieldVisitor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID | |
StoredFieldVisitor | fieldVisitor |
See Also
Doc(Int32, ISet<String>)
Sugar for
.IndexReader.Document(docID, fieldsToLoad)
Declaration
[TargetMethod("Doc", 3)]
public virtual Document Doc(int docID, ISet<string> fieldsToLoad)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID | |
System.Collections.Generic.ISet<System.String> | fieldsToLoad |
Returns
Type | Description |
---|---|
Document |
See Also
Lucene.Net.Index.IndexReader.Document(System.Int32, System.Collections.Generic.ISet<System.String>)