public class SearchQuery
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SearchQuery.FolderScope
Definition of a
MailboxFolder search restriction |
static class |
SearchQuery.Header
Header key/value pair
|
static class |
SearchQuery.HeaderQuery
Header search
|
static class |
SearchQuery.LogicalOperator
Defines the search operator of the requested header search values
|
static class |
SearchQuery.SearchScope
The scope of a search
|
Modifier and Type | Field and Description |
---|---|
SearchQuery.HeaderQuery |
headerQuery
Enables the search by the specific header values
|
long |
maxResults
Maximum results
|
java.lang.String |
messageId
Enables the search by the MessageId header
|
long |
offset
Result Set offset
|
java.lang.String |
query
An Elasticsearch compliant query string
body document only
|
java.lang.String |
recordQuery
An Elasticsearch compliant query string
record document only
|
java.lang.String |
references
Enables the search by the References header
|
SearchQuery.SearchScope |
scope
The scope of this search
|
java.lang.String |
searchSessionId
An optional id associated to this query
|
Constructor and Description |
---|
SearchQuery() |
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
allHeaders(java.util.Map<java.lang.String,java.lang.String> headerValues,
SearchQuery.LogicalOperator operator) |
public java.lang.String searchSessionId
public java.lang.String query
public java.lang.String recordQuery
public java.lang.String messageId
public java.lang.String references
public SearchQuery.HeaderQuery headerQuery
public long maxResults
public long offset
public SearchQuery.SearchScope scope
public static SearchQuery allHeaders(java.util.Map<java.lang.String,java.lang.String> headerValues, SearchQuery.LogicalOperator operator)
Copyright © 2021. All Rights Reserved.