Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreContentQuery

OfficeIMO.Email.Store

Namespace
OfficeIMO.Email.Store
Assembly
OfficeIMO.Email
Source revision
c47203b3ce89 with working tree changes
Modifiers
sealed

Bounded, resumable query over summary and selected item content.

Inheritance

  • object
  • EmailStoreContentQuery

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

EmailStoreContentQuery 2 overloads
public EmailStoreContentQuery(IEnumerable<string> terms, EmailStoreContentSearchFields fields = All, EmailStoreContentMatchMode matchMode = AllTerms, EmailStoreQuery? metadataFilter = null, int maxItemsScanned = 10000, int maxResults = 100, long maxDecodedPropertyBytesPerItem = 16777216, int maxSearchableCharactersPerItem = 2000000, int snippetCharacters = 240, int progressInterval = 100, bool continueOnItemError = true, EmailStoreContentSearchCheckpoint? resumeFrom = null) #

Creates a bounded content query.

Parameters

terms System.Collections.Generic.IEnumerable<string> required
fields OfficeIMO.Email.Store.EmailStoreContentSearchFields = All optional
matchMode OfficeIMO.Email.Store.EmailStoreContentMatchMode = AllTerms optional
metadataFilter OfficeIMO.Email.Store.EmailStoreQuery? = null optional
maxItemsScanned int = 10000 optional
maxResults int = 100 optional
maxDecodedPropertyBytesPerItem long = 16777216 optional
maxSearchableCharactersPerItem int = 2000000 optional
snippetCharacters int = 240 optional
progressInterval int = 100 optional
continueOnItemError bool = true optional
resumeFrom OfficeIMO.Email.Store.EmailStoreContentSearchCheckpoint? = null optional
public EmailStoreContentQuery(IEnumerable<string> terms, IEmailStoreBodyTextProjector? bodyTextProjector, EmailStoreContentSearchFields fields = All, EmailStoreContentMatchMode matchMode = AllTerms, EmailStoreQuery? metadataFilter = null, int maxItemsScanned = 10000, int maxResults = 100, long maxDecodedPropertyBytesPerItem = 16777216, int maxSearchableCharactersPerItem = 2000000, int snippetCharacters = 240, int progressInterval = 100, bool continueOnItemError = true, EmailStoreContentSearchCheckpoint? resumeFrom = null) #

Creates a bounded content query with an optional format-owned body projection.

Parameters

terms System.Collections.Generic.IEnumerable<string> required
bodyTextProjector OfficeIMO.Email.Store.IEmailStoreBodyTextProjector? required
fields OfficeIMO.Email.Store.EmailStoreContentSearchFields = All optional
matchMode OfficeIMO.Email.Store.EmailStoreContentMatchMode = AllTerms optional
metadataFilter OfficeIMO.Email.Store.EmailStoreQuery? = null optional
maxItemsScanned int = 10000 optional
maxResults int = 100 optional
maxDecodedPropertyBytesPerItem long = 16777216 optional
maxSearchableCharactersPerItem int = 2000000 optional
snippetCharacters int = 240 optional
progressInterval int = 100 optional
continueOnItemError bool = true optional
resumeFrom OfficeIMO.Email.Store.EmailStoreContentSearchCheckpoint? = null optional

Properties

public IReadOnlyList<string> Terms { get; } #

Case-insensitive terms.

public EmailStoreContentSearchFields Fields { get; } #

Fields searched.

public EmailStoreContentMatchMode MatchMode { get; } #

Term-combination mode.

public EmailStoreQuery? MetadataFilter { get; } #

Optional cheap summary filter evaluated before item content is decoded.

public int MaxItemsScanned { get; } #

Maximum item references processed in this batch.

public int MaxResults { get; } #

Maximum matches returned in this batch.

public long MaxDecodedPropertyBytesPerItem { get; } #

Maximum decoded property bytes allowed for one selective item read.

public int MaxSearchableCharactersPerItem { get; } #

Maximum searchable characters retained across fields of one item.

public int SnippetCharacters { get; } #

Maximum snippet characters.

public int ProgressInterval { get; } #

Scanned-item interval between progress notifications.

public bool ContinueOnItemError { get; } #

Whether corrupt or over-limit items are diagnosed and skipped.

public EmailStoreContentSearchCheckpoint? ResumeFrom { get; } #

Optional checkpoint from a previous batch.

public IEmailStoreBodyTextProjector? BodyTextProjector { get; } #

Optional format-owned projection. Null retains the built-in transport-only text extraction.