SearchQueryCreateFieldQuery Method
Adds a field to the specified query.

Namespace: GroupDocs.Search
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.6
Syntax
public static SearchQuery CreateFieldQuery(
	string fieldName,
	SearchQuery query
)

Parameters

fieldName
Type: SystemString
The field name to search in.
query
Type: GroupDocs.SearchSearchQuery
The query to add the field.

Return Value

Type: SearchQuery
A query with the field to search in.
See Also