List words, fields, or filenames in an index to a file or to a memory buffer
You can use ListIndexFlags to specify the type of information included in the output.
When listing words, if dtsListIndexIncludeField is not set, then multiple instances of a word in different fields will be aggregated. For example, if "smith" occurs once in the "author" field and once in the "subject" field, that will result in a document count of 2 and a hit count of 2. In this case, the document count may not reflect the possibility that the two instances occur in the same document. To prevent this type of inaccuracy in the output, the dtsListIndexIncludeField flag can be used to distinguish instances in different fields.
For speed, ListIndexJob does not actually enumerate the references for each word and instead relies on counts incrementally stored in the index. Therefore, the reported counts may include artifacts of the indexing process such as reindexed or removed documents, so the counts may be higher than the actual count of references in the index. Compressing an index will remove these extra references.
Topic |
Description |
The following tables list the members exposed by JobBase. | |
The properties of the JobBase class are listed here. |
Topic |
Description |
The following tables list the members exposed by ListIndexJob. | |
The methods of the ListIndexJob class are listed here. | |
The properties of the ListIndexJob class are listed here. |
ListIndexJob Class |
Description |
Generates the list |
ListIndexJob Class |
Description |
Index to list | |
ListIndexFlags values specifying the type of list to create | |
Name of file to create | |
Destination for list, if OutputToString is true | |
Maximum size of the output string to create (zero = no limit) | |
Create list in OutputString instead of filename specified by OutputFile | |
ToMatch is an optional search expression specifying the text to match against items being listed. |
Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.
|