@accepts(utf8, utf8) @returns(gboolean) def is_subset(current, next)
Determines whether the new search text will result in a subset of entries matched by the previous search. This is used to optimise the search query.
current : |
the current search text (or NULL if the current search was done with a different search implementation and so cannot be considered) |
next : |
the new search text |
Returns : |
TRUE iff the new search text will match a subset of those matched by the current search. |