- attrs = [] # skip the generic per-column operator loop below
- # Use to_tsquery since plainto_tsquery does not support prefix search.
- # Instead split operand, add ':*' to each word and join the words with ' & '
+ if operand.is_a? Array
+ raise ArgumentError.new("Full text search not supported for array operands")
+ end
+
+ # Skip the generic per-column operator loop below
+ attrs = []
+ # Use to_tsquery since plainto_tsquery does not support prefix
+ # search. And, split operand and join the words with ' & '