Method Doc
Doc(Int32)
Expert: Returns the stored fields of document i
.
Declaration
Document Doc(int i)
Parameters
Type | Name | Description |
---|---|---|
System. |
i |
Returns
Type | Description |
---|---|
Document |
See Also
Document(System.Int32 )
Doc(Int32, FieldSelector)
Get the Documentat the n
th position. The Field
NOTE: If the underlying Reader (more specifically, the underlying FieldsReader
) is closed before the lazy Field is
loaded an exception may be thrown. If you want the value of a lazy Field to be available after closing you must
explicitly load it or fetch the Document again with a new loader.
Declaration
Document Doc(int n, FieldSelector fieldSelector)
Parameters
Type | Name | Description |
---|---|---|
System. |
n | Get the document at the |
Field |
fieldSelector | The Field |