Pike v8.1 release 6

Method Search.ResultSet()->intersect()


Method intersect

ResultSet intersect(ResultSet a)
ResultSet res = Search.ResultSet() & a

Description

Return a new resultset with all entries that are present in _both_ sets. Only the document_id is checked, the resulting ranking is the sum of the rankings if the two sets.