Searches the full-text index with a specified query string and returns all items that still
exist in SimpleDB.
Namespace: SimolAssembly: 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
See Find<(Of <<'(T>)>>)(String, Int32, Int32, String) for more information.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If the queryText parameter is null |
System..::..ArgumentOutOfRangeException | If the queryText parameter is empty |
AmazonSimpleDBException | If the request to SimpleDB fails for any reason |
Simol..::..SimolDataException | If the SimpleDB item cannot be converted into the requested item type |
Simol..::..SimolConfigurationException | If no valid SimpleDB mapping can be configured for the requested item type or no indexer is installed |
System..::..InvalidOperationException | If the requested item type has no indexed properties. |