Restricts the query to return only items where the text in the content elements
matches the specified
String. This method uses the
FREETEXT function
for CBR (Content-Based Retrieval) queries.
The FREETEXT function searches all content on all CBR-enabled properties
on the supported content elements. To search content on a single CBR-enabled
property, use SetContainsRestriction.
Namespace:
FileNet.Api.Query
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("Deprecated as of release 5.2.0")> _
Public Overridable Sub SetFreetextRestriction ( _
symbolicClassName As String, _
searchExpression As String _
) |
C# |
---|
[ObsoleteAttribute("Deprecated as of release 5.2.0")]
public virtual void SetFreetextRestriction(
string symbolicClassName,
string searchExpression
) |
Visual C++ |
---|
[ObsoleteAttribute(L"Deprecated as of release 5.2.0")]
public:
virtual void SetFreetextRestriction(
String^ symbolicClassName,
String^ searchExpression
) |
JavaScript |
---|
function setFreetextRestriction(symbolicClassName, searchExpression); |
Parameters
- symbolicClassName
- Type: System..::.String
A String containing the symbolic name
of the class.
- searchExpression
- Type: System..::.String
A String containing the search text to
use for the FREETEXT function.