package
0.0.0-20240905174813-5b86810c7bc7
Repository: https://github.com/geange/lucene-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBytesRefBuilder Sole constructor.
No description provided by the author
No description provided by the author
WithCapacity capacity 需要是2的平方,如 4\16\32等.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
FIRST_LEVEL_SIZE The first level size for new slices See Also: NewSlice(int).
No description provided by the author
LEVEL_SIZE_ARRAY An array holding the level sizes for byte slices.
NEXT_LEVEL_ARRAY An array holding the offset into the LEVEL_SIZE_ARRAY to quickly navigate to the next slice level.
# Structs
No description provided by the author
Array A simple append only random-access BytesRef array that stores full copies of the appended []byte in a BlockPool.
BlockPool that Posting and PostingVector use to write byte streams into shared fixed-size byte[] arrays.
Builder A builder for BytesRef instances.
BytesHash is a special purpose hash-map like data-structure optimized for BytesRef instances.
DirectStartArray A simple BytesHash.BytesStartArray that tracks memory allocation using a private Counter instance.
No description provided by the author
No description provided by the author
# Interfaces
Allocator Abstract class for allocating and freeing byte blocks.
No description provided by the author
StartArray Manages allocation of the per-term addresses.
# Type aliases
No description provided by the author