Research Article

HCV: Practical Multi-Keyword Conjunctive Query with Little Result Pattern Leakage

Algorithm 1

Generation of CV database.
Input: inverted index
Output: CV database
(1)sort the original inverted index according to ;
(2)fordo
(3) compute ;
(4)ifthen
(5)  initial the of length with 0;
(6)  while do ;
(7)end
(8)end
(9)for,do
(10)ifandthen
(11)  compute ;
(12)  if initial the CV with length , let ; while do ;
(13)end
(14)end