/// <summary>Terms with freq less than or equal freqCutoff are inlined into terms dict.</summary>
        protected PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff,
                                        int minBlockSize, int maxBlockSize) : base(name)
        {
            Debug.Assert(minBlockSize > 1);

            _freqCutoff   = freqCutoff;
            _minBlockSize = minBlockSize;
            _maxBlockSize = maxBlockSize;
            _wrappedPostingsBaseFormat = wrappedPostingsBaseFormat;
        }
Beispiel #2
0
        /// <summary>Terms with freq less than or equal freqCutoff are inlined into terms dict.</summary>
        public PulsingPostingsFormat(PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff,
                                     int minBlockSize, int maxBlockSize)
            : base()
        {
            Debug.Assert(minBlockSize > 1);

            _freqCutoff   = freqCutoff;
            _minBlockSize = minBlockSize;
            _maxBlockSize = maxBlockSize;
            _wrappedPostingsBaseFormat = wrappedPostingsBaseFormat;
        }
        /// <summary>Terms with freq less than or equal freqCutoff are inlined into terms dict.</summary>
        protected PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff,
            int minBlockSize, int maxBlockSize)
            : base(name)
        {
            Debug.Assert(minBlockSize > 1);

            _freqCutoff = freqCutoff;
            _minBlockSize = minBlockSize;
            _maxBlockSize = maxBlockSize;
            _wrappedPostingsBaseFormat = wrappedPostingsBaseFormat;
        }
Beispiel #4
0
        /// <summary>Terms with freq less than or equal <paramref name="freqCutoff"/> are inlined into terms dict.</summary>
        protected PulsingPostingsFormat(PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff,
                                        int minBlockSize, int maxBlockSize) // LUCENENET: CA1012: Abstract types should not have constructors (marked protected)
            : base()
        {
            if (Debugging.AssertsEnabled)
            {
                Debugging.Assert(minBlockSize > 1);
            }

            _freqCutoff   = freqCutoff;
            _minBlockSize = minBlockSize;
            _maxBlockSize = maxBlockSize;
            _wrappedPostingsBaseFormat = wrappedPostingsBaseFormat;
        }
 public FSTOrdPulsing41PostingsFormat(int freqCutoff)
     : base()
 {
     _wrappedPostingsBaseFormat = new Lucene41PostingsBaseFormat();
     _freqCutoff = freqCutoff;
 }
 protected PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff) :
     this(name, wrappedPostingsBaseFormat, freqCutoff, BlockTreeTermsWriter.DEFAULT_MIN_BLOCK_SIZE,
          BlockTreeTermsWriter.DEFAULT_MAX_BLOCK_SIZE)
 {
 }
 public FSTOrdPulsing41PostingsFormat(int freqCutoff)
     : base("FSTOrdPulsing41")
 {
     _wrappedPostingsBaseFormat = new Lucene41PostingsBaseFormat();
     _freqCutoff = freqCutoff;
 }
 public PulsingPostingsFormat(PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff)
     : this(wrappedPostingsBaseFormat, freqCutoff, BlockTreeTermsWriter.DEFAULT_MIN_BLOCK_SIZE,
            BlockTreeTermsWriter.DEFAULT_MAX_BLOCK_SIZE)
 {
 }
Beispiel #9
0
 protected PulsingPostingsFormat(PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff) // LUCENENET: CA1012: Abstract types should not have constructors (marked protected)
     : this(wrappedPostingsBaseFormat, freqCutoff, BlockTreeTermsWriter.DEFAULT_MIN_BLOCK_SIZE,
            BlockTreeTermsWriter.DEFAULT_MAX_BLOCK_SIZE)
 {
 }
 protected PulsingPostingsFormat(String name, PostingsBaseFormat wrappedPostingsBaseFormat, int freqCutoff)
     : this(name, wrappedPostingsBaseFormat, freqCutoff, BlockTreeTermsWriter.DEFAULT_MIN_BLOCK_SIZE,
     BlockTreeTermsWriter.DEFAULT_MAX_BLOCK_SIZE)
 {
 }