Restricts the query to return only items where the text in the content elements matches the specified
Namespace: FileNet.Api.Query
Assembly: FileNet.Api (in filenet.api.dll)
String
. This method uses the FREETEXT
function for CBR (Content-Based Retrieval) queries. The
function searches all content on all CBR-enabled properties on the supported content elements. To search content on a single CBR-enabled property, use
.
Namespace: FileNet.Api.Query
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Sub SetFreetextRestriction( _ ByVal symbolicClassName As String, _ ByVal searchExpression As String _ ) |
C# |
---|
public virtual void SetFreetextRestriction( string symbolicClassName, string searchExpression ) |
C++ |
---|
public: virtual void SetFreetextRestriction( String symbolicClassName, String searchExpression ) |
J# |
---|
public virtual void SetFreetextRestriction( string symbolicClassName, string searchExpression ) |
JScript |
---|
public virtual
function SetFreetextRestriction( symbolicClassName : String, searchExpression : String ) |
Parameters
- symbolicClassName
- A
containing the symbolic name of the class.String
- searchExpression
- A
containing the search text to use for theString
function.FREETEXT
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | Thrown when the parameter is or invalid. |