Searches the full-text index with a specified query string and returns all items that still exist in SimpleDB.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public List<PropertyValues> FindAttributes<T>(
	string queryText,
	int resultStartIndex,
	int resultCount,
	string searchProperty,
	params string[] propertyNames
)
Visual Basic
Public Function FindAttributes(Of T) ( _
	queryText As String, _
	resultStartIndex As Integer, _
	resultCount As Integer, _
	searchProperty As String, _
	ParamArray propertyNames As String() _
) As List(Of PropertyValues)
Visual C++
public:
generic<typename T>
virtual List<PropertyValues^>^ FindAttributes(
	String^ queryText, 
	int resultStartIndex, 
	int resultCount, 
	String^ searchProperty, 
	... array<String^>^ propertyNames
) sealed

Parameters

queryText
Type: System..::..String
The search query text
resultStartIndex
Type: System..::..Int32
The start index of items to return from the full-text index.
resultCount
Type: System..::..Int32
The maximum number of items to return from the full-text index.
searchProperty
Type: System..::..String
The default indexed property to search
propertyNames
Type: array<System..::..String>[]()[][]
Names of properties to get

Type Parameters

T
The item type to return

Return Value

Implements

ISimol..::..FindAttributes<(Of <<'(T>)>>)(String, Int32, Int32, String, array<String>[]()[][])

Remarks

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf the queryText parameter is null
System..::..ArgumentOutOfRangeExceptionIf the queryText parameter is empty
AmazonSimpleDBExceptionIf the request to SimpleDB fails for any reason
Simol..::..SimolDataExceptionIf the SimpleDB item cannot be converted into the requested item type
Simol..::..SimolConfigurationExceptionIf no valid SimpleDB mapping can be configured for the requested item type or no indexer is installed
System..::..InvalidOperationExceptionIf the requested item type has no indexed properties.

See Also