Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IFilterClause.AddStatement Method (Field, Operator, Single)

Adds a float constraint to this clause.

void AddStatement(
   Field field,
   Operator op,
   float value
);

Parameters

field
Field to search. Field must return float values. Note that properties stored in the portal as doubles are returned as floats by the search server. Adding a field of the wrong type may cause an exception on the search server.
op
constraint operator, e.g. Operator.Equals or Operator.GreaterThan
value
float value to evaluate

Remarks

The field must be searchable.

Exceptions

Exception Type Condition
ArgumentException if field is not searchable

See Also

IFilterClause Interface | Plumtree.Remote.PRC.Search Namespace | IFilterClause.AddStatement Overload List