TermsQuery(TermInSetQuery) Performance

(Anantha Govindarajan) #1

My field value is a random id and there is no place for prefix coding of query terms and my index having large of matching documents for each values in the termsquery . I would like to know whether memory usage is linear to the number of values (each matching huge doc ids) given in the termsquery ? Though the roaring bitmaps are in action the default limit of 65536 seems to be bit higher. Please correct me if i am wrong.