MetadataIndexingOptions
Leave feedback
On this page
Provides options for indexing metadata fields.
public class MetadataIndexingOptions
| Name | Description |
|---|---|
| DefaultFieldName { get; set; } | Gets or sets the default field name used to index empty field names. The default value is "unknown". |
| IndexingEmptyNames { get; set; } | Gets or sets a value indicating whether to index empty field names or not. The default value is true. |
| IndexingEmptyValues { get; set; } | Gets or sets a value indicating whether to index empty field values or not. The default value is true. |
| MaxBytesToIndexField { get; set; } | Gets or sets the maximum number of values in an array of type byte to index the field. The default value is int.MaxValue. |
| MaxDoublesToIndexField { get; set; } | Gets or sets the maximum number of values in an array of type double to index the field. The default value is int.MaxValue. |
| MaxIntsToIndexField { get; set; } | Gets or sets the maximum number of values in an array of type int to index the field. The default value is int.MaxValue. |
| MaxLongsToIndexField { get; set; } | Gets or sets the maximum number of values in an array of type long to index the field. The default value is int.MaxValue. |
| SeparatorBetweenValues { get; set; } | Gets or sets the separator between values in a field of type array. The default value is the space sign. |
| SeparatorInCompoundName { get; set; } | Gets or sets the separator in the compound name of a field. The default value is ".". |
Learn more
- Indexing options
- MetadataIndexingOptions are used when retrieving document text from an index: Getting indexed documents
- MetadataIndexingOptions are used when highlighting search results: Highlighting search results
- namespace GroupDocs.Search.Options
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.