Class RealtimeInvertedIndex

    • Constructor Detail

      • RealtimeInvertedIndex

        public RealtimeInvertedIndex()
    • Method Detail

      • add

        public void add​(int dictId,
                        int docId)
        Adds the document id to the bitmap of the given dictionary id.
        Specified by:
        add in interface MutableInvertedIndex
      • getDocIds

        public org.roaringbitmap.buffer.MutableRoaringBitmap getDocIds​(int dictId)
        Specified by:
        getDocIds in interface InvertedIndexReader<org.roaringbitmap.buffer.MutableRoaringBitmap>