Method CreateFragments
CreateFragments(IndexReader, Int32, String, FieldFragList, Int32)
Declaration
public virtual string[] CreateFragments(IndexReader reader, int docId, string fieldName, FieldFragList fieldFragList, int maxNumFragments)
Parameters
Type |
Name |
Description |
IndexReader |
reader |
|
System.Int32 |
docId |
|
System.String |
fieldName |
|
FieldFragList |
fieldFragList |
|
System.Int32 |
maxNumFragments |
|
Returns
Type |
Description |
System.String[] |
|
Implements
CreateFragments(IndexReader, Int32, String, FieldFragList, Int32, String[], String[], IEncoder)
Declaration
public virtual string[] CreateFragments(IndexReader reader, int docId, string fieldName, FieldFragList fieldFragList, int maxNumFragments, string[] preTags, string[] postTags, IEncoder encoder)
Parameters
Type |
Name |
Description |
IndexReader |
reader |
|
System.Int32 |
docId |
|
System.String |
fieldName |
|
FieldFragList |
fieldFragList |
|
System.Int32 |
maxNumFragments |
|
System.String[] |
preTags |
|
System.String[] |
postTags |
|
IEncoder |
encoder |
|
Returns
Type |
Description |
System.String[] |
|
Implements