SYMBOL INDEX (5003 symbols across 653 files)
FILE: analysis/analyzer/custom/custom.go
constant Name (line 24) | Name = "custom"
function AnalyzerConstructor (line 26) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 103) | func init() {
function getCharFilters (line 110) | func getCharFilters(charFilterNames []string, cache *registry.Cache) ([]...
function getTokenFilters (line 123) | func getTokenFilters(tokenFilterNames []string, cache *registry.Cache) (...
function convertInterfaceSliceToStringSlice (line 136) | func convertInterfaceSliceToStringSlice(interfaceSlice []interface{}, ob...
FILE: analysis/analyzer/keyword/keyword.go
constant Name (line 23) | Name = "keyword"
function AnalyzerConstructor (line 25) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 36) | func init() {
FILE: analysis/analyzer/simple/simple.go
constant Name (line 24) | Name = "simple"
function AnalyzerConstructor (line 26) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 44) | func init() {
FILE: analysis/analyzer/standard/standard.go
constant Name (line 25) | Name = "standard"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 50) | func init() {
FILE: analysis/analyzer/web/web.go
constant Name (line 25) | Name = "web"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 50) | func init() {
FILE: analysis/benchmark_test.go
function BenchmarkAnalysis (line 26) | func BenchmarkAnalysis(b *testing.B) {
FILE: analysis/char/asciifolding/asciifolding.go
constant Name (line 25) | Name = "asciifolding"
type AsciiFoldingFilter (line 27) | type AsciiFoldingFilter struct
method Filter (line 33) | func (s *AsciiFoldingFilter) Filter(input []byte) []byte {
function New (line 29) | func New() *AsciiFoldingFilter {
function AsciiFoldingFilterConstructor (line 48) | func AsciiFoldingFilterConstructor(config map[string]interface{}, cache ...
function init (line 52) | func init() {
function foldToASCII (line 61) | func foldToASCII(input []rune, inputPos int, output []rune, outputPos in...
FILE: analysis/char/asciifolding/asciifolding_test.go
function TestAsciiFoldingFilter (line 23) | func TestAsciiFoldingFilter(t *testing.T) {
FILE: analysis/char/html/html.go
constant Name (line 25) | Name = "html"
type CharFilter (line 29) | type CharFilter struct
method Filter (line 41) | func (s *CharFilter) Filter(input []byte) []byte {
function New (line 34) | func New() *CharFilter {
function CharFilterConstructor (line 48) | func CharFilterConstructor(config map[string]interface{}, cache *registr...
function init (line 52) | func init() {
FILE: analysis/char/regexp/regexp.go
constant Name (line 25) | Name = "regexp"
type CharFilter (line 27) | type CharFilter struct
method Filter (line 39) | func (s *CharFilter) Filter(input []byte) []byte {
function New (line 32) | func New(r *regexp.Regexp, replacement []byte) *CharFilter {
function CharFilterConstructor (line 43) | func CharFilterConstructor(config map[string]interface{}, cache *registr...
function init (line 60) | func init() {
FILE: analysis/char/regexp/regexp_test.go
function TestRegexpCharFilter (line 24) | func TestRegexpCharFilter(t *testing.T) {
FILE: analysis/char/zerowidthnonjoiner/zerowidthnonjoiner.go
constant Name (line 25) | Name = "zero_width_spaces"
function CharFilterConstructor (line 29) | func CharFilterConstructor(config map[string]interface{}, cache *registr...
function init (line 34) | func init() {
FILE: analysis/datetime/flexible/flexible.go
constant Name (line 25) | Name = "flexiblego"
type DateTimeParser (line 27) | type DateTimeParser struct
method ParseDateTime (line 37) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function New (line 31) | func New(layouts []string) *DateTimeParser {
function DateTimeParserConstructor (line 47) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 62) | func init() {
FILE: analysis/datetime/flexible/flexible_test.go
function TestFlexibleDateTimeParser (line 25) | func TestFlexibleDateTimeParser(t *testing.T) {
FILE: analysis/datetime/iso/iso.go
constant Name (line 26) | Name = "isostyle"
type DateTimeParser (line 88) | type DateTimeParser struct
method ParseDateTime (line 98) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function New (line 92) | func New(layouts []string) *DateTimeParser {
function letterCounter (line 108) | func letterCounter(layout string, idx int) int {
function invalidFormatError (line 120) | func invalidFormatError(character byte, count int) error {
function parseISOString (line 124) | func parseISOString(layout string) (string, error) {
function DateTimeParserConstructor (line 226) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 245) | func init() {
FILE: analysis/datetime/iso/iso_test.go
function TestConversionFromISOStyle (line 22) | func TestConversionFromISOStyle(t *testing.T) {
FILE: analysis/datetime/optional/optional.go
constant Name (line 25) | Name = "dateTimeOptional"
constant rfc3339NoTimezone (line 27) | rfc3339NoTimezone = "2006-01-02T15:04:05"
constant rfc3339NoTimezoneNoT (line 28) | rfc3339NoTimezoneNoT = "2006-01-02 15:04:05"
constant rfc3339Offset (line 29) | rfc3339Offset = "2006-01-02 15:04:05 -0700"
constant rfc3339NoTime (line 30) | rfc3339NoTime = "2006-01-02"
function DateTimeParserConstructor (line 41) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 45) | func init() {
FILE: analysis/datetime/percent/percent.go
constant Name (line 26) | Name = "percentstyle"
type DateTimeParser (line 73) | type DateTimeParser struct
method ParseDateTime (line 169) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function New (line 77) | func New(layouts []string) *DateTimeParser {
function checkTZOptions (line 83) | func checkTZOptions(formatString string, idx int) (string, int) {
function parseFormatString (line 136) | func parseFormatString(formatString string) (string, error) {
function DateTimeParserConstructor (line 179) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 200) | func init() {
FILE: analysis/datetime/percent/percent_test.go
function TestConversionFromPercentStyle (line 26) | func TestConversionFromPercentStyle(t *testing.T) {
function TestDateTimeParser_ParseDateTime (line 246) | func TestDateTimeParser_ParseDateTime(t *testing.T) {
function TestDateTimeParserConstructor (line 353) | func TestDateTimeParserConstructor(t *testing.T) {
FILE: analysis/datetime/sanitized/sanitized.go
constant Name (line 26) | Name = "sanitizedgo"
type DateTimeParser (line 61) | type DateTimeParser struct
method ParseDateTime (line 71) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function New (line 65) | func New(layouts []string) *DateTimeParser {
function validateLayout (line 85) | func validateLayout(layout string) bool {
function DateTimeParserConstructor (line 105) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 125) | func init() {
FILE: analysis/datetime/sanitized/sanitized_test.go
function TestLayoutValidatorRegex (line 22) | func TestLayoutValidatorRegex(t *testing.T) {
FILE: analysis/datetime/timestamp/microseconds/microseconds.go
constant Name (line 26) | Name = "unix_micro"
type DateTimeParser (line 28) | type DateTimeParser struct
method ParseDateTime (line 34) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function DateTimeParserConstructor (line 46) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 50) | func init() {
FILE: analysis/datetime/timestamp/milliseconds/milliseconds.go
constant Name (line 26) | Name = "unix_milli"
type DateTimeParser (line 28) | type DateTimeParser struct
method ParseDateTime (line 34) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function DateTimeParserConstructor (line 46) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 50) | func init() {
FILE: analysis/datetime/timestamp/nanoseconds/nanoseconds.go
constant Name (line 26) | Name = "unix_nano"
type DateTimeParser (line 28) | type DateTimeParser struct
method ParseDateTime (line 34) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function DateTimeParserConstructor (line 46) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 50) | func init() {
FILE: analysis/datetime/timestamp/seconds/seconds.go
constant Name (line 26) | Name = "unix_sec"
type DateTimeParser (line 28) | type DateTimeParser struct
method ParseDateTime (line 34) | func (p *DateTimeParser) ParseDateTime(input string) (time.Time, strin...
function DateTimeParserConstructor (line 46) | func DateTimeParserConstructor(config map[string]interface{}, cache *reg...
function init (line 50) | func init() {
FILE: analysis/freq.go
function TokenFrequency (line 21) | func TokenFrequency(tokens TokenStream, arrayPositions []uint64, options...
FILE: analysis/freq_test.go
function TestTokenFrequency (line 23) | func TestTokenFrequency(t *testing.T) {
FILE: analysis/lang/ar/analyzer_ar.go
constant AnalyzerName (line 26) | AnalyzerName = "ar"
function AnalyzerConstructor (line 28) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 63) | func init() {
FILE: analysis/lang/ar/analyzer_ar_test.go
function TestArabicAnalyzer (line 25) | func TestArabicAnalyzer(t *testing.T) {
FILE: analysis/lang/ar/arabic_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_ar"
constant Alef (line 27) | Alef = '\u0627'
constant AlefMadda (line 28) | AlefMadda = '\u0622'
constant AlefHamzaAbove (line 29) | AlefHamzaAbove = '\u0623'
constant AlefHamzaBelow (line 30) | AlefHamzaBelow = '\u0625'
constant Yeh (line 31) | Yeh = '\u064A'
constant DotlessYeh (line 32) | DotlessYeh = '\u0649'
constant TehMarbuta (line 33) | TehMarbuta = '\u0629'
constant Heh (line 34) | Heh = '\u0647'
constant Tatweel (line 35) | Tatweel = '\u0640'
constant Fathatan (line 36) | Fathatan = '\u064B'
constant Dammatan (line 37) | Dammatan = '\u064C'
constant Kasratan (line 38) | Kasratan = '\u064D'
constant Fatha (line 39) | Fatha = '\u064E'
constant Damma (line 40) | Damma = '\u064F'
constant Kasra (line 41) | Kasra = '\u0650'
constant Shadda (line 42) | Shadda = '\u0651'
constant Sukun (line 43) | Sukun = '\u0652'
type ArabicNormalizeFilter (line 46) | type ArabicNormalizeFilter struct
method Filter (line 53) | func (s *ArabicNormalizeFilter) Filter(input analysis.TokenStream) ana...
function NewArabicNormalizeFilter (line 49) | func NewArabicNormalizeFilter() *ArabicNormalizeFilter {
function normalize (line 61) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 79) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 83) | func init() {
FILE: analysis/lang/ar/arabic_normalize_test.go
function TestArabicNormalizeFilter (line 24) | func TestArabicNormalizeFilter(t *testing.T) {
FILE: analysis/lang/ar/stemmer_ar.go
constant StemmerName (line 24) | StemmerName = "stemmer_ar"
type ArabicStemmerFilter (line 49) | type ArabicStemmerFilter struct
method Filter (line 55) | func (s *ArabicStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewArabicStemmerFilter (line 51) | func NewArabicStemmerFilter() *ArabicStemmerFilter {
function canStemPrefix (line 63) | func canStemPrefix(input, prefix []rune) bool {
function canStemSuffix (line 80) | func canStemSuffix(input, suffix []rune) bool {
function stem (line 94) | func stem(input []byte) []byte {
function StemmerFilterConstructor (line 112) | func StemmerFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 116) | func init() {
FILE: analysis/lang/ar/stemmer_ar_test.go
function TestArabicStemmerFilter (line 24) | func TestArabicStemmerFilter(t *testing.T) {
FILE: analysis/lang/ar/stop_filter_ar.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ar/stop_words_ar.go
constant StopName (line 8) | StopName = "stop_ar"
function TokenMapConstructor (line 141) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 147) | func init() {
FILE: analysis/lang/bg/stop_filter_bg.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/bg/stop_words_bg.go
constant StopName (line 8) | StopName = "stop_bg"
function TokenMapConstructor (line 209) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 215) | func init() {
FILE: analysis/lang/ca/articles_ca.go
constant ArticlesName (line 8) | ArticlesName = "articles_ca"
function ArticlesTokenMapConstructor (line 22) | func ArticlesTokenMapConstructor(config map[string]interface{}, cache *r...
function init (line 28) | func init() {
FILE: analysis/lang/ca/elision_ca.go
constant ElisionName (line 25) | ElisionName = "elision_ca"
function ElisionFilterConstructor (line 27) | func ElisionFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 35) | func init() {
FILE: analysis/lang/ca/elision_ca_test.go
function TestFrenchElision (line 25) | func TestFrenchElision(t *testing.T) {
FILE: analysis/lang/ca/stop_filter_ca.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ca/stop_words_ca.go
constant StopName (line 8) | StopName = "stop_ca"
function TokenMapConstructor (line 236) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 242) | func init() {
FILE: analysis/lang/cjk/analyzer_cjk.go
constant AnalyzerName (line 25) | AnalyzerName = "cjk"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/cjk/analyzer_cjk_test.go
function TestCJKAnalyzer (line 25) | func TestCJKAnalyzer(t *testing.T) {
function BenchmarkCJKAnalyzer (line 627) | func BenchmarkCJKAnalyzer(b *testing.B) {
FILE: analysis/lang/cjk/cjk_bigram.go
constant BigramName (line 26) | BigramName = "cjk_bigram"
type CJKBigramFilter (line 28) | type CJKBigramFilter struct
method Filter (line 38) | func (s *CJKBigramFilter) Filter(input analysis.TokenStream) analysis....
method flush (line 128) | func (s *CJKBigramFilter) flush(r *ring.Ring, itemsInRing *int, pos in...
method outputBigram (line 139) | func (s *CJKBigramFilter) outputBigram(r *ring.Ring, itemsInRing *int,...
method buildUnigram (line 166) | func (s *CJKBigramFilter) buildUnigram(r *ring.Ring, itemsInRing *int,...
function NewCJKBigramFilter (line 32) | func NewCJKBigramFilter(outputUnigram bool) *CJKBigramFilter {
function CJKBigramFilterConstructor (line 196) | func CJKBigramFilterConstructor(config map[string]interface{}, cache *re...
function init (line 205) | func init() {
FILE: analysis/lang/cjk/cjk_bigram_test.go
function makeToken (line 26) | func makeToken(term string, start, end, pos int) *analysis.Token {
function TestCJKBigramFilter_buildUnigram (line 36) | func TestCJKBigramFilter_buildUnigram(t *testing.T) {
function TestCJKBigramFilter_outputBigram (line 149) | func TestCJKBigramFilter_outputBigram(t *testing.T) {
function TestCJKBigramFilter (line 257) | func TestCJKBigramFilter(t *testing.T) {
FILE: analysis/lang/cjk/cjk_width.go
constant WidthName (line 25) | WidthName = "cjk_width"
type CJKWidthFilter (line 27) | type CJKWidthFilter struct
method Filter (line 33) | func (s *CJKWidthFilter) Filter(input analysis.TokenStream) analysis.T...
function NewCJKWidthFilter (line 29) | func NewCJKWidthFilter() *CJKWidthFilter {
function combine (line 82) | func combine(text []rune, pos int, r rune) bool {
function CJKWidthFilterConstructor (line 95) | func CJKWidthFilterConstructor(config map[string]interface{}, cache *reg...
function init (line 99) | func init() {
FILE: analysis/lang/cjk/cjk_width_test.go
function TestCJKWidthFilter (line 24) | func TestCJKWidthFilter(t *testing.T) {
FILE: analysis/lang/ckb/analyzer_ckb.go
constant AnalyzerName (line 24) | AnalyzerName = "ckb"
function AnalyzerConstructor (line 26) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 59) | func init() {
FILE: analysis/lang/ckb/analyzer_ckb_test.go
function TestSoraniAnalyzer (line 25) | func TestSoraniAnalyzer(t *testing.T) {
FILE: analysis/lang/ckb/sorani_normalize.go
constant NormalizeName (line 25) | NormalizeName = "normalize_ckb"
constant Yeh (line 28) | Yeh = '\u064A'
constant DotlessYeh (line 29) | DotlessYeh = '\u0649'
constant FarsiYeh (line 30) | FarsiYeh = '\u06CC'
constant Kaf (line 32) | Kaf = '\u0643'
constant Keheh (line 33) | Keheh = '\u06A9'
constant Heh (line 35) | Heh = '\u0647'
constant Ae (line 36) | Ae = '\u06D5'
constant Zwnj (line 37) | Zwnj = '\u200C'
constant HehDoachashmee (line 38) | HehDoachashmee = '\u06BE'
constant TehMarbuta (line 39) | TehMarbuta = '\u0629'
constant Reh (line 41) | Reh = '\u0631'
constant Rreh (line 42) | Rreh = '\u0695'
constant RrehAbove (line 43) | RrehAbove = '\u0692'
constant Tatweel (line 45) | Tatweel = '\u0640'
constant Fathatan (line 46) | Fathatan = '\u064B'
constant Dammatan (line 47) | Dammatan = '\u064C'
constant Kasratan (line 48) | Kasratan = '\u064D'
constant Fatha (line 49) | Fatha = '\u064E'
constant Damma (line 50) | Damma = '\u064F'
constant Kasra (line 51) | Kasra = '\u0650'
constant Shadda (line 52) | Shadda = '\u0651'
constant Sukun (line 53) | Sukun = '\u0652'
type SoraniNormalizeFilter (line 56) | type SoraniNormalizeFilter struct
method Filter (line 63) | func (s *SoraniNormalizeFilter) Filter(input analysis.TokenStream) ana...
function NewSoraniNormalizeFilter (line 59) | func NewSoraniNormalizeFilter() *SoraniNormalizeFilter {
function normalize (line 71) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 112) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 116) | func init() {
FILE: analysis/lang/ckb/sorani_normalize_test.go
function TestSoraniNormalizeFilter (line 24) | func TestSoraniNormalizeFilter(t *testing.T) {
FILE: analysis/lang/ckb/sorani_stemmer_filter.go
constant StemmerName (line 25) | StemmerName = "stemmer_ckb"
type SoraniStemmerFilter (line 27) | type SoraniStemmerFilter struct
method Filter (line 34) | func (s *SoraniStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewSoraniStemmerFilter (line 30) | func NewSoraniStemmerFilter() *SoraniStemmerFilter {
function stem (line 45) | func stem(input []byte) []byte {
function truncateRunes (line 125) | func truncateRunes(input []byte, num int) []byte {
function buildTermFromRunes (line 132) | func buildTermFromRunes(runes []rune) []byte {
function StemmerFilterConstructor (line 142) | func StemmerFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 146) | func init() {
FILE: analysis/lang/ckb/sorani_stemmer_filter_test.go
function TestSoraniStemmerFilter (line 25) | func TestSoraniStemmerFilter(t *testing.T) {
FILE: analysis/lang/ckb/stop_filter_ckb.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ckb/stop_words_ckb.go
constant StopName (line 8) | StopName = "stop_ckb"
function TokenMapConstructor (line 152) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 158) | func init() {
FILE: analysis/lang/cs/stop_filter_cs.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/cs/stop_words_cs.go
constant StopName (line 8) | StopName = "stop_cs"
function TokenMapConstructor (line 188) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 194) | func init() {
FILE: analysis/lang/da/analyzer_da.go
constant AnalyzerName (line 24) | AnalyzerName = "da"
function AnalyzerConstructor (line 26) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 54) | func init() {
FILE: analysis/lang/da/analyzer_da_test.go
function TestDanishAnalyzer (line 25) | func TestDanishAnalyzer(t *testing.T) {
FILE: analysis/lang/da/stemmer_da.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_da_snowball"
type DanishStemmerFilter (line 27) | type DanishStemmerFilter struct
method Filter (line 34) | func (s *DanishStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewDanishStemmerFilter (line 30) | func NewDanishStemmerFilter() *DanishStemmerFilter {
function DanishStemmerFilterConstructor (line 43) | func DanishStemmerFilterConstructor(config map[string]interface{}, cache...
function init (line 47) | func init() {
FILE: analysis/lang/da/stop_filter_da.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/da/stop_words_da.go
constant StopName (line 8) | StopName = "stop_da"
function TokenMapConstructor (line 126) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 132) | func init() {
FILE: analysis/lang/de/analyzer_de.go
constant AnalyzerName (line 24) | AnalyzerName = "de"
function AnalyzerConstructor (line 26) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 59) | func init() {
FILE: analysis/lang/de/analyzer_de_test.go
function TestGermanAnalyzer (line 25) | func TestGermanAnalyzer(t *testing.T) {
FILE: analysis/lang/de/german_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_de"
constant N (line 27) | N = 0
constant V (line 28) | V = 1
constant U (line 29) | U = 2
type GermanNormalizeFilter (line 32) | type GermanNormalizeFilter struct
method Filter (line 39) | func (s *GermanNormalizeFilter) Filter(input analysis.TokenStream) ana...
function NewGermanNormalizeFilter (line 35) | func NewGermanNormalizeFilter() *GermanNormalizeFilter {
function normalize (line 47) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 89) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 93) | func init() {
FILE: analysis/lang/de/german_normalize_test.go
function TestGermanNormalizeFilter (line 24) | func TestGermanNormalizeFilter(t *testing.T) {
FILE: analysis/lang/de/light_stemmer_de.go
constant LightStemmerName (line 24) | LightStemmerName = "stemmer_de_light"
type GermanLightStemmerFilter (line 26) | type GermanLightStemmerFilter struct
method Filter (line 33) | func (s *GermanLightStemmerFilter) Filter(input analysis.TokenStream) ...
function NewGermanLightStemmerFilter (line 29) | func NewGermanLightStemmerFilter() *GermanLightStemmerFilter {
function stem (line 42) | func stem(input []rune) []rune {
function stEnding (line 61) | func stEnding(ch rune) bool {
function step1 (line 69) | func step1(s []rune) []rune {
function step2 (line 93) | func step2(s []rune) []rune {
function GermanLightStemmerFilterConstructor (line 110) | func GermanLightStemmerFilterConstructor(config map[string]interface{}, ...
function init (line 114) | func init() {
FILE: analysis/lang/de/stemmer_de_snowball.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_de_snowball"
type GermanStemmerFilter (line 27) | type GermanStemmerFilter struct
method Filter (line 34) | func (s *GermanStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewGermanStemmerFilter (line 30) | func NewGermanStemmerFilter() *GermanStemmerFilter {
function GermanStemmerFilterConstructor (line 43) | func GermanStemmerFilterConstructor(config map[string]interface{}, cache...
function init (line 47) | func init() {
FILE: analysis/lang/de/stemmer_de_test.go
function TestSnowballGermanStemmer (line 25) | func TestSnowballGermanStemmer(t *testing.T) {
FILE: analysis/lang/de/stop_filter_de.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/de/stop_words_de.go
constant StopName (line 8) | StopName = "stop_de"
function TokenMapConstructor (line 310) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 316) | func init() {
FILE: analysis/lang/el/stop_filter_el.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/el/stop_words_el.go
constant StopName (line 8) | StopName = "stop_el"
function TokenMapConstructor (line 94) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 100) | func init() {
FILE: analysis/lang/en/analyzer_en.go
constant AnalyzerName (line 33) | AnalyzerName = "en"
function AnalyzerConstructor (line 35) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 68) | func init() {
FILE: analysis/lang/en/analyzer_en_test.go
function TestEnglishAnalyzer (line 25) | func TestEnglishAnalyzer(t *testing.T) {
FILE: analysis/lang/en/plural_stemmer.go
constant PluralStemmerName (line 44) | PluralStemmerName = "stemmer_en_plural"
type EnglishPluralStemmerFilter (line 46) | type EnglishPluralStemmerFilter struct
method Filter (line 53) | func (s *EnglishPluralStemmerFilter) Filter(input analysis.TokenStream...
function NewEnglishPluralStemmerFilter (line 49) | func NewEnglishPluralStemmerFilter() *EnglishPluralStemmerFilter {
function EnglishPluralStemmerFilterConstructor (line 61) | func EnglishPluralStemmerFilterConstructor(config map[string]interface{}...
function init (line 65) | func init() {
function stem (line 91) | func stem(word string) string {
function isException (line 155) | func isException(word []rune, exceptions []string) bool {
FILE: analysis/lang/en/plural_stemmer_test.go
function TestEnglishPluralStemmer (line 5) | func TestEnglishPluralStemmer(t *testing.T) {
FILE: analysis/lang/en/possessive_filter_en.go
constant PossessiveName (line 26) | PossessiveName = "possessive_en"
constant rightSingleQuotationMark (line 28) | rightSingleQuotationMark = '’'
constant apostrophe (line 29) | apostrophe = '\''
constant fullWidthApostrophe (line 30) | fullWidthApostrophe = '''
constant apostropheChars (line 32) | apostropheChars = rightSingleQuotationMark + apostrophe + fullWidthApost...
type PossessiveFilter (line 39) | type PossessiveFilter struct
method Filter (line 46) | func (s *PossessiveFilter) Filter(input analysis.TokenStream) analysis...
function NewPossessiveFilter (line 42) | func NewPossessiveFilter() *PossessiveFilter {
function PossessiveFilterConstructor (line 61) | func PossessiveFilterConstructor(config map[string]interface{}, cache *r...
function init (line 65) | func init() {
FILE: analysis/lang/en/possessive_filter_en_test.go
function TestEnglishPossessiveFilter (line 25) | func TestEnglishPossessiveFilter(t *testing.T) {
function BenchmarkEnglishPossessiveFilter (line 105) | func BenchmarkEnglishPossessiveFilter(b *testing.B) {
FILE: analysis/lang/en/stemmer_en_snowball.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_en_snowball"
type EnglishStemmerFilter (line 27) | type EnglishStemmerFilter struct
method Filter (line 34) | func (s *EnglishStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewEnglishStemmerFilter (line 30) | func NewEnglishStemmerFilter() *EnglishStemmerFilter {
function EnglishStemmerFilterConstructor (line 43) | func EnglishStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/en/stemmer_en_test.go
function TestSnowballEnglishStemmer (line 25) | func TestSnowballEnglishStemmer(t *testing.T) {
FILE: analysis/lang/en/stop_filter_en.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/en/stop_words_en.go
constant StopName (line 8) | StopName = "stop_en"
function TokenMapConstructor (line 336) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 342) | func init() {
FILE: analysis/lang/es/analyzer_es.go
constant AnalyzerName (line 25) | AnalyzerName = "es"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{},
function init (line 61) | func init() {
FILE: analysis/lang/es/analyzer_es_test.go
function TestSpanishAnalyzer (line 25) | func TestSpanishAnalyzer(t *testing.T) {
FILE: analysis/lang/es/light_stemmer_es.go
constant LightStemmerName (line 24) | LightStemmerName = "stemmer_es_light"
type SpanishLightStemmerFilter (line 26) | type SpanishLightStemmerFilter struct
method Filter (line 33) | func (s *SpanishLightStemmerFilter) Filter(
function NewSpanishLightStemmerFilter (line 29) | func NewSpanishLightStemmerFilter() *SpanishLightStemmerFilter {
function stem (line 43) | func stem(input []rune) []rune {
function SpanishLightStemmerFilterConstructor (line 68) | func SpanishLightStemmerFilterConstructor(config map[string]interface{},
function init (line 73) | func init() {
FILE: analysis/lang/es/spanish_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_es"
type SpanishNormalizeFilter (line 26) | type SpanishNormalizeFilter struct
method Filter (line 33) | func (s *SpanishNormalizeFilter) Filter(input analysis.TokenStream) an...
function NewSpanishNormalizeFilter (line 29) | func NewSpanishNormalizeFilter() *SpanishNormalizeFilter {
function normalize (line 41) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 61) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 65) | func init() {
FILE: analysis/lang/es/spanish_normalize_test.go
function TestSpanishNormalizeFilter (line 24) | func TestSpanishNormalizeFilter(t *testing.T) {
FILE: analysis/lang/es/stemmer_es_snowball.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_es_snowball"
type SpanishStemmerFilter (line 27) | type SpanishStemmerFilter struct
method Filter (line 34) | func (s *SpanishStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewSpanishStemmerFilter (line 30) | func NewSpanishStemmerFilter() *SpanishStemmerFilter {
function SpanishStemmerFilterConstructor (line 43) | func SpanishStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/es/stemmer_es_snowball_test.go
function TestSnowballSpanishStemmer (line 25) | func TestSnowballSpanishStemmer(t *testing.T) {
FILE: analysis/lang/es/stop_filter_es.go
function StopTokenFilterConstructor (line 22) | func StopTokenFilterConstructor(config map[string]interface{},
function init (line 31) | func init() {
FILE: analysis/lang/es/stop_words_es.go
constant StopName (line 8) | StopName = "stop_es"
function TokenMapConstructor (line 372) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 378) | func init() {
FILE: analysis/lang/eu/stop_filter_eu.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/eu/stop_words_eu.go
constant StopName (line 8) | StopName = "stop_eu"
function TokenMapConstructor (line 115) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 121) | func init() {
FILE: analysis/lang/fa/analyzer_fa.go
constant AnalyzerName (line 27) | AnalyzerName = "fa"
function AnalyzerConstructor (line 29) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 69) | func init() {
FILE: analysis/lang/fa/analyzer_fa_test.go
function TestPersianAnalyzerVerbs (line 25) | func TestPersianAnalyzerVerbs(t *testing.T) {
function TestPersianAnalyzerVerbsDefective (line 320) | func TestPersianAnalyzerVerbsDefective(t *testing.T) {
function TestPersianAnalyzerOthers (line 615) | func TestPersianAnalyzerOthers(t *testing.T) {
FILE: analysis/lang/fa/persian_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_fa"
constant Yeh (line 27) | Yeh = '\u064A'
constant FarsiYeh (line 28) | FarsiYeh = '\u06CC'
constant YehBarree (line 29) | YehBarree = '\u06D2'
constant Keheh (line 30) | Keheh = '\u06A9'
constant Kaf (line 31) | Kaf = '\u0643'
constant HamzaAbove (line 32) | HamzaAbove = '\u0654'
constant HehYeh (line 33) | HehYeh = '\u06C0'
constant HehGoal (line 34) | HehGoal = '\u06C1'
constant Heh (line 35) | Heh = '\u0647'
type PersianNormalizeFilter (line 38) | type PersianNormalizeFilter struct
method Filter (line 45) | func (s *PersianNormalizeFilter) Filter(input analysis.TokenStream) an...
function NewPersianNormalizeFilter (line 41) | func NewPersianNormalizeFilter() *PersianNormalizeFilter {
function normalize (line 53) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 71) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 75) | func init() {
FILE: analysis/lang/fa/persian_normalize_test.go
function TestPersianNormalizeFilter (line 24) | func TestPersianNormalizeFilter(t *testing.T) {
FILE: analysis/lang/fa/stop_filter_fa.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/fa/stop_words_fa.go
constant StopName (line 8) | StopName = "stop_fa"
function TokenMapConstructor (line 329) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 335) | func init() {
FILE: analysis/lang/fi/analyzer_fi.go
constant AnalyzerName (line 25) | AnalyzerName = "fi"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/fi/analyzer_fi_test.go
function TestFinishAnalyzer (line 25) | func TestFinishAnalyzer(t *testing.T) {
FILE: analysis/lang/fi/stemmer_fi.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_fi_snowball"
type FinnishStemmerFilter (line 27) | type FinnishStemmerFilter struct
method Filter (line 34) | func (s *FinnishStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewFinnishStemmerFilter (line 30) | func NewFinnishStemmerFilter() *FinnishStemmerFilter {
function FinnishStemmerFilterConstructor (line 43) | func FinnishStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/fi/stop_filter_fi.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/fi/stop_words_fi.go
constant StopName (line 8) | StopName = "stop_fi"
function TokenMapConstructor (line 113) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 119) | func init() {
FILE: analysis/lang/fr/analyzer_fr.go
constant AnalyzerName (line 25) | AnalyzerName = "fr"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 60) | func init() {
FILE: analysis/lang/fr/analyzer_fr_test.go
function TestFrenchAnalyzer (line 25) | func TestFrenchAnalyzer(t *testing.T) {
FILE: analysis/lang/fr/articles_fr.go
constant ArticlesName (line 8) | ArticlesName = "articles_fr"
function ArticlesTokenMapConstructor (line 29) | func ArticlesTokenMapConstructor(config map[string]interface{}, cache *r...
function init (line 35) | func init() {
FILE: analysis/lang/fr/elision_fr.go
constant ElisionName (line 25) | ElisionName = "elision_fr"
function ElisionFilterConstructor (line 27) | func ElisionFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 35) | func init() {
FILE: analysis/lang/fr/elision_fr_test.go
function TestFrenchElision (line 25) | func TestFrenchElision(t *testing.T) {
FILE: analysis/lang/fr/light_stemmer_fr.go
constant LightStemmerName (line 25) | LightStemmerName = "stemmer_fr_light"
type FrenchLightStemmerFilter (line 27) | type FrenchLightStemmerFilter struct
method Filter (line 34) | func (s *FrenchLightStemmerFilter) Filter(input analysis.TokenStream) ...
function NewFrenchLightStemmerFilter (line 30) | func NewFrenchLightStemmerFilter() *FrenchLightStemmerFilter {
function stem (line 43) | func stem(input []rune) []rune {
function norm (line 247) | func norm(input []rune) []rune {
function FrenchLightStemmerFilterConstructor (line 300) | func FrenchLightStemmerFilterConstructor(config map[string]interface{}, ...
function init (line 304) | func init() {
FILE: analysis/lang/fr/light_stemmer_fr_test.go
function TestFrenchLightStemmer (line 25) | func TestFrenchLightStemmer(t *testing.T) {
FILE: analysis/lang/fr/minimal_stemmer_fr.go
constant MinimalStemmerName (line 24) | MinimalStemmerName = "stemmer_fr_min"
type FrenchMinimalStemmerFilter (line 26) | type FrenchMinimalStemmerFilter struct
method Filter (line 33) | func (s *FrenchMinimalStemmerFilter) Filter(input analysis.TokenStream...
function NewFrenchMinimalStemmerFilter (line 29) | func NewFrenchMinimalStemmerFilter() *FrenchMinimalStemmerFilter {
function minstem (line 42) | func minstem(input []rune) []rune {
function FrenchMinimalStemmerFilterConstructor (line 73) | func FrenchMinimalStemmerFilterConstructor(config map[string]interface{}...
function init (line 77) | func init() {
FILE: analysis/lang/fr/minimal_stemmer_fr_test.go
function TestFrenchMinimalStemmer (line 25) | func TestFrenchMinimalStemmer(t *testing.T) {
FILE: analysis/lang/fr/stemmer_fr_snowball.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_fr_snowball"
type FrenchStemmerFilter (line 27) | type FrenchStemmerFilter struct
method Filter (line 34) | func (s *FrenchStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewFrenchStemmerFilter (line 30) | func NewFrenchStemmerFilter() *FrenchStemmerFilter {
function FrenchStemmerFilterConstructor (line 43) | func FrenchStemmerFilterConstructor(config map[string]interface{}, cache...
function init (line 47) | func init() {
FILE: analysis/lang/fr/stemmer_fr_snowball_test.go
function TestSnowballFrenchStemmer (line 25) | func TestSnowballFrenchStemmer(t *testing.T) {
FILE: analysis/lang/fr/stop_filter_fr.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/fr/stop_words_fr.go
constant StopName (line 8) | StopName = "stop_fr"
function TokenMapConstructor (line 202) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 208) | func init() {
FILE: analysis/lang/ga/articles_ga.go
constant ArticlesName (line 8) | ArticlesName = "articles_ga"
function ArticlesTokenMapConstructor (line 19) | func ArticlesTokenMapConstructor(config map[string]interface{}, cache *r...
function init (line 25) | func init() {
FILE: analysis/lang/ga/elision_ga.go
constant ElisionName (line 25) | ElisionName = "elision_ga"
function ElisionFilterConstructor (line 27) | func ElisionFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 35) | func init() {
FILE: analysis/lang/ga/elision_ga_test.go
function TestFrenchElision (line 25) | func TestFrenchElision(t *testing.T) {
FILE: analysis/lang/ga/stop_filter_ga.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ga/stop_words_ga.go
constant StopName (line 8) | StopName = "stop_ga"
function TokenMapConstructor (line 126) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 132) | func init() {
FILE: analysis/lang/gl/stop_filter_gl.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/gl/stop_words_gl.go
constant StopName (line 8) | StopName = "stop_gl"
function TokenMapConstructor (line 177) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 183) | func init() {
FILE: analysis/lang/hi/analyzer_hi.go
constant AnalyzerName (line 26) | AnalyzerName = "hi"
function AnalyzerConstructor (line 28) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 66) | func init() {
FILE: analysis/lang/hi/analyzer_hi_test.go
function TestHindiAnalyzer (line 25) | func TestHindiAnalyzer(t *testing.T) {
FILE: analysis/lang/hi/hindi_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_hi"
type HindiNormalizeFilter (line 26) | type HindiNormalizeFilter struct
method Filter (line 33) | func (s *HindiNormalizeFilter) Filter(input analysis.TokenStream) anal...
function NewHindiNormalizeFilter (line 29) | func NewHindiNormalizeFilter() *HindiNormalizeFilter {
function normalize (line 41) | func normalize(input []byte) []byte {
function NormalizerFilterConstructor (line 132) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 136) | func init() {
FILE: analysis/lang/hi/hindi_normalize_test.go
function TestHindiNormalizeFilter (line 24) | func TestHindiNormalizeFilter(t *testing.T) {
FILE: analysis/lang/hi/hindi_stemmer_filter.go
constant StemmerName (line 25) | StemmerName = "stemmer_hi"
type HindiStemmerFilter (line 27) | type HindiStemmerFilter struct
method Filter (line 34) | func (s *HindiStemmerFilter) Filter(input analysis.TokenStream) analys...
function NewHindiStemmerFilter (line 30) | func NewHindiStemmerFilter() *HindiStemmerFilter {
function stem (line 45) | func stem(input []byte) []byte {
function StemmerFilterConstructor (line 143) | func StemmerFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 147) | func init() {
FILE: analysis/lang/hi/hindi_stemmer_filter_test.go
function TestHindiStemmerFilter (line 24) | func TestHindiStemmerFilter(t *testing.T) {
FILE: analysis/lang/hi/stop_filter_hi.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/hi/stop_words_hi.go
constant StopName (line 8) | StopName = "stop_hi"
function TokenMapConstructor (line 251) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 257) | func init() {
FILE: analysis/lang/hr/analyzer_hr.go
constant AnalyzerName (line 27) | AnalyzerName = "hr"
function AnalyzerConstructor (line 29) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 62) | func init() {
FILE: analysis/lang/hr/analyzer_hr_test.go
function TestCroatianAnalyzer (line 25) | func TestCroatianAnalyzer(t *testing.T) {
FILE: analysis/lang/hr/stemmer_hr.go
constant StemmerName (line 25) | StemmerName = "stemmer_hr"
function highlightVowelR (line 108) | func highlightVowelR(term string) string {
function hasVowel (line 112) | func hasVowel(term string) bool {
function stem (line 117) | func stem(term string) string {
type CroatianStemmerFilter (line 133) | type CroatianStemmerFilter struct
method Filter (line 139) | func (s *CroatianStemmerFilter) Filter(input analysis.TokenStream) ana...
function NewCroatianStemmerFilter (line 135) | func NewCroatianStemmerFilter() *CroatianStemmerFilter {
function CroatianStemmerFilterConstructor (line 147) | func CroatianStemmerFilterConstructor(config map[string]interface{}, cac...
function init (line 151) | func init() {
FILE: analysis/lang/hr/stop_filter_hr.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/hr/stop_words_hr.go
constant StopName (line 22) | StopName = "stop_hr"
function TokenMapConstructor (line 99) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 106) | func init() {
FILE: analysis/lang/hr/suffix_transformation_hr.go
constant SuffixTransformationFilterName (line 24) | SuffixTransformationFilterName = "hr_suffix_transformation_filter"
type SuffixTransformationFilter (line 157) | type SuffixTransformationFilter struct
method Filter (line 163) | func (s *SuffixTransformationFilter) Filter(input analysis.TokenStream...
function NewSuffixTransformationFilter (line 159) | func NewSuffixTransformationFilter() *SuffixTransformationFilter {
function SuffixTransformationFilterConstructor (line 180) | func SuffixTransformationFilterConstructor(config map[string]interface{}...
function init (line 184) | func init() {
FILE: analysis/lang/hu/analyzer_hu.go
constant AnalyzerName (line 25) | AnalyzerName = "hu"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/hu/analyzer_hu_test.go
function TestHungarianAnalyzer (line 25) | func TestHungarianAnalyzer(t *testing.T) {
FILE: analysis/lang/hu/stemmer_hu.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_hu_snowball"
type HungarianStemmerFilter (line 27) | type HungarianStemmerFilter struct
method Filter (line 34) | func (s *HungarianStemmerFilter) Filter(input analysis.TokenStream) an...
function NewHungarianStemmerFilter (line 30) | func NewHungarianStemmerFilter() *HungarianStemmerFilter {
function HungarianStemmerFilterConstructor (line 43) | func HungarianStemmerFilterConstructor(config map[string]interface{}, ca...
function init (line 47) | func init() {
FILE: analysis/lang/hu/stop_filter_hu.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/hu/stop_words_hu.go
constant StopName (line 8) | StopName = "stop_hu"
function TokenMapConstructor (line 227) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 233) | func init() {
FILE: analysis/lang/hy/stop_filter_hy.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/hy/stop_words_hy.go
constant StopName (line 8) | StopName = "stop_hy"
function TokenMapConstructor (line 62) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 68) | func init() {
FILE: analysis/lang/id/stop_filter_id.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/id/stop_words_id.go
constant StopName (line 8) | StopName = "stop_id"
function TokenMapConstructor (line 375) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 381) | func init() {
FILE: analysis/lang/in/indic_normalize.go
constant NormalizeName (line 24) | NormalizeName = "normalize_in"
type IndicNormalizeFilter (line 26) | type IndicNormalizeFilter struct
method Filter (line 33) | func (s *IndicNormalizeFilter) Filter(input analysis.TokenStream) anal...
function NewIndicNormalizeFilter (line 29) | func NewIndicNormalizeFilter() *IndicNormalizeFilter {
function NormalizerFilterConstructor (line 42) | func NormalizerFilterConstructor(config map[string]interface{}, cache *r...
function init (line 46) | func init() {
FILE: analysis/lang/in/indic_normalize_test.go
function TestIndicNormalizeFilter (line 24) | func TestIndicNormalizeFilter(t *testing.T) {
FILE: analysis/lang/in/scripts.go
type ScriptData (line 24) | type ScriptData struct
function flag (line 69) | func flag(ub *unicode.RangeTable) rune {
function init (line 220) | func init() {
function lookupScript (line 233) | func lookupScript(r rune) *unicode.RangeTable {
function normalize (line 242) | func normalize(input []rune) []rune {
function compose (line 259) | func compose(ch0 rune, script0 *unicode.RangeTable, scriptData *ScriptDa...
FILE: analysis/lang/it/analyzer_it.go
constant AnalyzerName (line 25) | AnalyzerName = "it"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 60) | func init() {
FILE: analysis/lang/it/analyzer_it_test.go
function TestItalianAnalyzer (line 25) | func TestItalianAnalyzer(t *testing.T) {
FILE: analysis/lang/it/articles_it.go
constant ArticlesName (line 8) | ArticlesName = "articles_it"
function ArticlesTokenMapConstructor (line 37) | func ArticlesTokenMapConstructor(config map[string]interface{}, cache *r...
function init (line 43) | func init() {
FILE: analysis/lang/it/elision_it.go
constant ElisionName (line 25) | ElisionName = "elision_it"
function ElisionFilterConstructor (line 27) | func ElisionFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 35) | func init() {
FILE: analysis/lang/it/elision_it_test.go
function TestItalianElision (line 25) | func TestItalianElision(t *testing.T) {
FILE: analysis/lang/it/light_stemmer_it.go
constant LightStemmerName (line 24) | LightStemmerName = "stemmer_it_light"
type ItalianLightStemmerFilter (line 26) | type ItalianLightStemmerFilter struct
method Filter (line 33) | func (s *ItalianLightStemmerFilter) Filter(input analysis.TokenStream)...
function NewItalianLightStemmerFilterFilter (line 29) | func NewItalianLightStemmerFilterFilter() *ItalianLightStemmerFilter {
function stem (line 42) | func stem(input []rune) []rune {
function ItalianLightStemmerFilterConstructor (line 95) | func ItalianLightStemmerFilterConstructor(config map[string]interface{},...
function init (line 99) | func init() {
FILE: analysis/lang/it/light_stemmer_it_test.go
function TestItalianLightStemmer (line 25) | func TestItalianLightStemmer(t *testing.T) {
FILE: analysis/lang/it/stemmer_it_snowball.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_it_snowball"
type ItalianStemmerFilter (line 27) | type ItalianStemmerFilter struct
method Filter (line 34) | func (s *ItalianStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewItalianStemmerFilter (line 30) | func NewItalianStemmerFilter() *ItalianStemmerFilter {
function ItalianStemmerFilterConstructor (line 43) | func ItalianStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/it/stemmer_it_snowball_test.go
function TestSnowballItalianStemmer (line 25) | func TestSnowballItalianStemmer(t *testing.T) {
FILE: analysis/lang/it/stop_filter_it.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/it/stop_words_it.go
constant StopName (line 8) | StopName = "stop_it"
function TokenMapConstructor (line 319) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 325) | func init() {
FILE: analysis/lang/nl/analyzer_nl.go
constant AnalyzerName (line 25) | AnalyzerName = "nl"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/nl/analyzer_nl_test.go
function TestDutchAnalyzer (line 25) | func TestDutchAnalyzer(t *testing.T) {
FILE: analysis/lang/nl/stemmer_nl.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_nl_snowball"
type DutchStemmerFilter (line 27) | type DutchStemmerFilter struct
method Filter (line 34) | func (s *DutchStemmerFilter) Filter(input analysis.TokenStream) analys...
function NewDutchStemmerFilter (line 30) | func NewDutchStemmerFilter() *DutchStemmerFilter {
function DutchStemmerFilterConstructor (line 43) | func DutchStemmerFilterConstructor(config map[string]interface{}, cache ...
function init (line 47) | func init() {
FILE: analysis/lang/nl/stop_filter_nl.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/nl/stop_words_nl.go
constant StopName (line 8) | StopName = "stop_nl"
function TokenMapConstructor (line 135) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 141) | func init() {
FILE: analysis/lang/no/analyzer_no.go
constant AnalyzerName (line 25) | AnalyzerName = "no"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/no/analyzer_no_test.go
function TestNorwegianAnalyzer (line 25) | func TestNorwegianAnalyzer(t *testing.T) {
FILE: analysis/lang/no/stemmer_no.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_no_snowball"
type NorwegianStemmerFilter (line 27) | type NorwegianStemmerFilter struct
method Filter (line 34) | func (s *NorwegianStemmerFilter) Filter(input analysis.TokenStream) an...
function NewNorwegianStemmerFilter (line 30) | func NewNorwegianStemmerFilter() *NorwegianStemmerFilter {
function NorwegianStemmerFilterConstructor (line 43) | func NorwegianStemmerFilterConstructor(config map[string]interface{}, ca...
function init (line 47) | func init() {
FILE: analysis/lang/no/stop_filter_no.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/no/stop_words_no.go
constant StopName (line 8) | StopName = "stop_no"
function TokenMapConstructor (line 210) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 216) | func init() {
FILE: analysis/lang/pl/analyzer_pl.go
constant AnalyzerName (line 25) | AnalyzerName = "pl"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/pl/analyzer_pl_test.go
function TestPolishAnalyzer (line 25) | func TestPolishAnalyzer(t *testing.T) {
FILE: analysis/lang/pl/stemmer_pl.go
constant SnowballStemmerName (line 23) | SnowballStemmerName = "stemmer_pl"
type PolishStemmerFilter (line 25) | type PolishStemmerFilter struct
method Filter (line 39) | func (s *PolishStemmerFilter) Filter(input analysis.TokenStream) analy...
function NewPolishStemmerFilter (line 29) | func NewPolishStemmerFilter() (*PolishStemmerFilter, error) {
function PolishStemmerFilterConstructor (line 49) | func PolishStemmerFilterConstructor(config map[string]interface{}, cache...
function init (line 53) | func init() {
FILE: analysis/lang/pl/stemmer_pl_test.go
function TestPolishStemmer (line 25) | func TestPolishStemmer(t *testing.T) {
FILE: analysis/lang/pl/stempel/cell.go
type cell (line 23) | type cell struct
method String (line 28) | func (c *cell) String() string {
function newCell (line 32) | func newCell(r *javadata.Reader) (*cell, error) {
FILE: analysis/lang/pl/stempel/diff.go
function Diff (line 19) | func Diff(dest, diff []rune) []rune {
FILE: analysis/lang/pl/stempel/diff_test.go
function TestDiff (line 23) | func TestDiff(t *testing.T) {
FILE: analysis/lang/pl/stempel/file.go
type Trie (line 30) | type Trie interface
function Open (line 36) | func Open(path string) (Trie, error) {
function LoadTrie (line 46) | func LoadTrie() (Trie, error) {
function buildTrieFromReader (line 51) | func buildTrieFromReader(f io.Reader) (Trie, error) {
FILE: analysis/lang/pl/stempel/file_test.go
function TestEmpty (line 27) | func TestEmpty(t *testing.T) {
function TestStem (line 46) | func TestStem(t *testing.T) {
FILE: analysis/lang/pl/stempel/fuzz.go
function init (line 22) | func init() {
function Fuzz (line 30) | func Fuzz(data []byte) int {
FILE: analysis/lang/pl/stempel/javadata/fuzz.go
function Fuzz (line 22) | func Fuzz(data []byte) int {
FILE: analysis/lang/pl/stempel/javadata/input.go
type Reader (line 28) | type Reader struct
method ReadBool (line 38) | func (r *Reader) ReadBool() (bool, error) {
method ReadInt32 (line 47) | func (r *Reader) ReadInt32() (rv int32, err error) {
method ReadUint16 (line 53) | func (r *Reader) ReadUint16() (rv uint16, err error) {
method ReadCharAsRune (line 59) | func (r *Reader) ReadCharAsRune() (rv rune, err error) {
method ReadUTF (line 69) | func (r *Reader) ReadUTF() (string, error) {
function NewReader (line 33) | func NewReader(r io.Reader) *Reader {
FILE: analysis/lang/pl/stempel/javadata/input_test.go
function TestReadBool (line 23) | func TestReadBool(t *testing.T) {
function TestReadUint16 (line 63) | func TestReadUint16(t *testing.T) {
function TestReadInt32 (line 103) | func TestReadInt32(t *testing.T) {
function TestReadUTF (line 147) | func TestReadUTF(t *testing.T) {
FILE: analysis/lang/pl/stempel/multi_trie.go
type multiTrie (line 27) | type multiTrie struct
method GetLastOnPath (line 60) | func (t *multiTrie) GetLastOnPath(key []rune) []rune {
method skip (line 107) | func (t *multiTrie) skip(in []rune, count int) ([]rune, error) {
method String (line 134) | func (t *multiTrie) String() string {
function newMultiTrie (line 33) | func newMultiTrie(r *javadata.Reader) (rv *multiTrie, err error) {
constant eom (line 58) | eom = rune('*')
function cannotFollow (line 97) | func cannotFollow(after, goes rune) bool {
function lengthPP (line 117) | func lengthPP(cmd []rune) int {
FILE: analysis/lang/pl/stempel/row.go
type row (line 23) | type row struct
method String (line 27) | func (r *row) String() string {
method getCmd (line 62) | func (r *row) getCmd(way rune) int32 {
method getRef (line 70) | func (r *row) getRef(way rune) int32 {
method at (line 78) | func (r *row) at(c rune) *cell {
function newRow (line 35) | func newRow(r *javadata.Reader) (*row, error) {
FILE: analysis/lang/pl/stempel/strenum.go
type strEnum (line 21) | type strEnum struct
method next (line 41) | func (s *strEnum) next() (rune, error) {
function newStrEnum (line 27) | func newStrEnum(s []rune, up bool) *strEnum {
FILE: analysis/lang/pl/stempel/strenum_test.go
function TestStrenumNext (line 24) | func TestStrenumNext(t *testing.T) {
FILE: analysis/lang/pl/stempel/trie.go
type trie (line 24) | type trie struct
method getRow (line 73) | func (t *trie) getRow(i int) *row {
method GetLastOnPath (line 80) | func (t *trie) GetLastOnPath(key []rune) []rune {
method String (line 123) | func (t *trie) String() string {
function newTrie (line 31) | func newTrie(r *javadata.Reader) (rv *trie, err error) {
FILE: analysis/lang/pl/stop_filter_pl.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/pl/stop_words_pl.go
constant StopName (line 8) | StopName = "stop_pl"
function TokenMapConstructor (line 357) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 363) | func init() {
FILE: analysis/lang/pt/analyzer_pt.go
constant AnalyzerName (line 25) | AnalyzerName = "pt"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/pt/analyzer_pt_test.go
function TestPortugueseAnalyzer (line 25) | func TestPortugueseAnalyzer(t *testing.T) {
FILE: analysis/lang/pt/light_stemmer_pt.go
constant LightStemmerName (line 24) | LightStemmerName = "stemmer_pt_light"
type PortugueseLightStemmerFilter (line 26) | type PortugueseLightStemmerFilter struct
method Filter (line 33) | func (s *PortugueseLightStemmerFilter) Filter(input analysis.TokenStre...
function NewPortugueseLightStemmerFilter (line 29) | func NewPortugueseLightStemmerFilter() *PortugueseLightStemmerFilter {
function stem (line 42) | func stem(input []rune) []rune {
function removeSuffix (line 86) | func removeSuffix(input []rune) []rune {
function normFeminine (line 144) | func normFeminine(input []rune) []rune {
function PortugueseLightStemmerFilterConstructor (line 189) | func PortugueseLightStemmerFilterConstructor(config map[string]interface...
function init (line 193) | func init() {
FILE: analysis/lang/pt/light_stemmer_pt_test.go
function TestPortugueseLightStemmer (line 25) | func TestPortugueseLightStemmer(t *testing.T) {
FILE: analysis/lang/pt/stop_filter_pt.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/pt/stop_words_pt.go
constant StopName (line 8) | StopName = "stop_pt"
function TokenMapConstructor (line 269) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 275) | func init() {
FILE: analysis/lang/ro/analyzer_ro.go
constant AnalyzerName (line 25) | AnalyzerName = "ro"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/ro/analyzer_ro_test.go
function TestRomanianAnalyzer (line 25) | func TestRomanianAnalyzer(t *testing.T) {
FILE: analysis/lang/ro/stemmer_ro.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_ro_snowball"
type RomanianStemmerFilter (line 27) | type RomanianStemmerFilter struct
method Filter (line 34) | func (s *RomanianStemmerFilter) Filter(input analysis.TokenStream) ana...
function NewRomanianStemmerFilter (line 30) | func NewRomanianStemmerFilter() *RomanianStemmerFilter {
function RomanianStemmerFilterConstructor (line 43) | func RomanianStemmerFilterConstructor(config map[string]interface{}, cac...
function init (line 47) | func init() {
FILE: analysis/lang/ro/stop_filter_ro.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ro/stop_words_ro.go
constant StopName (line 8) | StopName = "stop_ro"
function TokenMapConstructor (line 249) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 255) | func init() {
FILE: analysis/lang/ru/analyzer_ru.go
constant AnalyzerName (line 25) | AnalyzerName = "ru"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/ru/analyzer_ru_test.go
function TestRussianAnalyzer (line 25) | func TestRussianAnalyzer(t *testing.T) {
FILE: analysis/lang/ru/stemmer_ru.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_ru_snowball"
type RussianStemmerFilter (line 27) | type RussianStemmerFilter struct
method Filter (line 34) | func (s *RussianStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewRussianStemmerFilter (line 30) | func NewRussianStemmerFilter() *RussianStemmerFilter {
function RussianStemmerFilterConstructor (line 43) | func RussianStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/ru/stemmer_ru_test.go
function TestSnowballRussianStemmer (line 25) | func TestSnowballRussianStemmer(t *testing.T) {
FILE: analysis/lang/ru/stop_filter_ru.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/ru/stop_words_ru.go
constant StopName (line 8) | StopName = "stop_ru"
function TokenMapConstructor (line 259) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 265) | func init() {
FILE: analysis/lang/sv/analyzer_sv.go
constant AnalyzerName (line 25) | AnalyzerName = "sv"
function AnalyzerConstructor (line 27) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 55) | func init() {
FILE: analysis/lang/sv/analyzer_sv_test.go
function TestSwedishAnalyzer (line 25) | func TestSwedishAnalyzer(t *testing.T) {
FILE: analysis/lang/sv/stemmer_sv.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_sv_snowball"
type SwedishStemmerFilter (line 27) | type SwedishStemmerFilter struct
method Filter (line 34) | func (s *SwedishStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewSwedishStemmerFilter (line 30) | func NewSwedishStemmerFilter() *SwedishStemmerFilter {
function SwedishStemmerFilterConstructor (line 43) | func SwedishStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/sv/stop_filter_sv.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/sv/stop_words_sv.go
constant StopName (line 8) | StopName = "stop_sv"
function TokenMapConstructor (line 149) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 155) | func init() {
FILE: analysis/lang/tr/analyzer_tr.go
constant AnalyzerName (line 26) | AnalyzerName = "tr"
function AnalyzerConstructor (line 28) | func AnalyzerConstructor(config map[string]interface{}, cache *registry....
function init (line 61) | func init() {
FILE: analysis/lang/tr/analyzer_tr_test.go
function TestTurkishAnalyzer (line 25) | func TestTurkishAnalyzer(t *testing.T) {
FILE: analysis/lang/tr/stemmer_tr.go
constant SnowballStemmerName (line 25) | SnowballStemmerName = "stemmer_tr_snowball"
type TurkishStemmerFilter (line 27) | type TurkishStemmerFilter struct
method Filter (line 34) | func (s *TurkishStemmerFilter) Filter(input analysis.TokenStream) anal...
function NewTurkishStemmerFilter (line 30) | func NewTurkishStemmerFilter() *TurkishStemmerFilter {
function TurkishStemmerFilterConstructor (line 43) | func TurkishStemmerFilterConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/lang/tr/stemmer_tr_test.go
function TestSnowballTurkishStemmer (line 25) | func TestSnowballTurkishStemmer(t *testing.T) {
FILE: analysis/lang/tr/stop_filter_tr.go
function StopTokenFilterConstructor (line 23) | func StopTokenFilterConstructor(config map[string]interface{}, cache *re...
function init (line 31) | func init() {
FILE: analysis/lang/tr/stop_words_tr.go
constant StopName (line 8) | StopName = "stop_tr"
function TokenMapConstructor (line 228) | func TokenMapConstructor(config map[string]interface{}, cache *registry....
function init (line 234) | func init() {
FILE: analysis/token/apostrophe/apostrophe.go
constant Name (line 24) | Name = "apostrophe"
constant RightSingleQuotationMark (line 26) | RightSingleQuotationMark = "’"
constant Apostrophe (line 27) | Apostrophe = "'"
constant Apostrophes (line 28) | Apostrophes = Apostrophe + RightSingleQuotationMark
type ApostropheFilter (line 30) | type ApostropheFilter struct
method Filter (line 36) | func (s *ApostropheFilter) Filter(input analysis.TokenStream) analysis...
function NewApostropheFilter (line 32) | func NewApostropheFilter() *ApostropheFilter {
function ApostropheFilterConstructor (line 48) | func ApostropheFilterConstructor(config map[string]interface{}, cache *r...
function init (line 52) | func init() {
FILE: analysis/token/apostrophe/apostrophe_test.go
function TestApostropheFilter (line 24) | func TestApostropheFilter(t *testing.T) {
FILE: analysis/token/camelcase/camelcase.go
constant Name (line 25) | Name = "camelCase"
type CamelCaseFilter (line 44) | type CamelCaseFilter struct
method Filter (line 50) | func (f *CamelCaseFilter) Filter(input analysis.TokenStream) analysis....
function NewCamelCaseFilter (line 46) | func NewCamelCaseFilter() *CamelCaseFilter {
function CamelCaseFilterConstructor (line 72) | func CamelCaseFilterConstructor(config map[string]interface{}, cache *re...
function init (line 76) | func init() {
FILE: analysis/token/camelcase/camelcase_test.go
function TestCamelCaseFilter (line 24) | func TestCamelCaseFilter(t *testing.T) {
function tokenStream (line 82) | func tokenStream(termStrs ...string) analysis.TokenStream {
FILE: analysis/token/camelcase/parser.go
type Parser (line 40) | type Parser struct
method buildTokenFromTerm (line 21) | func (p *Parser) buildTokenFromTerm(buffer []rune) *analysis.Token {
method Push (line 59) | func (p *Parser) Push(sym rune, peek *rune) {
method NewState (line 81) | func (p *Parser) NewState(sym rune) State {
method FlushTokens (line 102) | func (p *Parser) FlushTokens() []*analysis.Token {
method NextPosition (line 107) | func (p *Parser) NextPosition() int {
function NewParser (line 49) | func NewParser(length, position, index int) *Parser {
FILE: analysis/token/camelcase/states.go
type State (line 22) | type State interface
type LowerCaseState (line 31) | type LowerCaseState struct
method Member (line 33) | func (s *LowerCaseState) Member(sym rune, peek *rune) bool {
method StartSym (line 37) | func (s *LowerCaseState) StartSym(sym rune) bool {
type UpperCaseState (line 41) | type UpperCaseState struct
method Member (line 46) | func (s *UpperCaseState) Member(sym rune, peek *rune) bool {
method StartSym (line 65) | func (s *UpperCaseState) StartSym(sym rune) bool {
type NumberCaseState (line 69) | type NumberCaseState struct
method Member (line 71) | func (s *NumberCaseState) Member(sym rune, peek *rune) bool {
method StartSym (line 75) | func (s *NumberCaseState) StartSym(sym rune) bool {
type NonAlphaNumericCaseState (line 79) | type NonAlphaNumericCaseState struct
method Member (line 81) | func (s *NonAlphaNumericCaseState) Member(sym rune, peek *rune) bool {
method StartSym (line 85) | func (s *NonAlphaNumericCaseState) StartSym(sym rune) bool {
FILE: analysis/token/compound/dict.go
constant Name (line 26) | Name = "dict_compound"
constant defaultMinWordSize (line 28) | defaultMinWordSize = 5
constant defaultMinSubWordSize (line 29) | defaultMinSubWordSize = 2
constant defaultMaxSubWordSize (line 30) | defaultMaxSubWordSize = 15
constant defaultOnlyLongestMatch (line 31) | defaultOnlyLongestMatch = false
type DictionaryCompoundFilter (line 33) | type DictionaryCompoundFilter struct
method Filter (line 51) | func (f *DictionaryCompoundFilter) Filter(input analysis.TokenStream) ...
method decompose (line 68) | func (f *DictionaryCompoundFilter) decompose(token *analysis.Token) []...
function NewDictionaryCompoundFilter (line 41) | func NewDictionaryCompoundFilter(dict analysis.TokenMap, minWordSize, mi...
function DictionaryCompoundFilterConstructor (line 104) | func DictionaryCompoundFilterConstructor(config map[string]interface{}, ...
function init (line 139) | func init() {
FILE: analysis/token/compound/dict_test.go
function TestStopWordsFilter (line 26) | func TestStopWordsFilter(t *testing.T) {
function TestStopWordsFilterLongestMatch (line 131) | func TestStopWordsFilterLongestMatch(t *testing.T) {
FILE: analysis/token/edgengram/edgengram.go
constant Name (line 26) | Name = "edge_ngram"
type Side (line 28) | type Side
constant BACK (line 30) | BACK Side = true
constant FRONT (line 31) | FRONT Side = false
type EdgeNgramFilter (line 33) | type EdgeNgramFilter struct
method Filter (line 47) | func (s *EdgeNgramFilter) Filter(input analysis.TokenStream) analysis....
function NewEdgeNgramFilter (line 39) | func NewEdgeNgramFilter(side Side, minLength, maxLength int) *EdgeNgramF...
function EdgeNgramFilterConstructor (line 93) | func EdgeNgramFilterConstructor(config map[string]interface{}, cache *re...
function init (line 113) | func init() {
FILE: analysis/token/edgengram/edgengram_test.go
function TestEdgeNgramFilter (line 24) | func TestEdgeNgramFilter(t *testing.T) {
FILE: analysis/token/elision/elision.go
constant Name (line 25) | Name = "elision"
constant RightSingleQuotationMark (line 27) | RightSingleQuotationMark = '’'
constant Apostrophe (line 28) | Apostrophe = '\''
type ElisionFilter (line 30) | type ElisionFilter struct
method Filter (line 40) | func (s *ElisionFilter) Filter(input analysis.TokenStream) analysis.To...
function NewElisionFilter (line 34) | func NewElisionFilter(articles analysis.TokenMap) *ElisionFilter {
function ElisionFilterConstructor (line 60) | func ElisionFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 72) | func init() {
FILE: analysis/token/elision/elision_test.go
function TestElisionFilter (line 26) | func TestElisionFilter(t *testing.T) {
FILE: analysis/token/hierarchy/hierarchy.go
constant Name (line 12) | Name = "hierarchy"
type HierarchyFilter (line 14) | type HierarchyFilter struct
method Filter (line 28) | func (s *HierarchyFilter) Filter(input analysis.TokenStream) analysis....
method buildToken (line 52) | func (s *HierarchyFilter) buildToken(tokenStream analysis.TokenStream,...
function NewHierarchyFilter (line 20) | func NewHierarchyFilter(delimiter []byte, maxLevels int, splitInput bool...
function HierarchyFilterConstructor (line 69) | func HierarchyFilterConstructor(config map[string]interface{}, cache *re...
function init (line 90) | func init() {
FILE: analysis/token/hierarchy/hierarchy_test.go
function TestHierarchyFilter (line 10) | func TestHierarchyFilter(t *testing.T) {
FILE: analysis/token/keyword/keyword.go
constant Name (line 24) | Name = "keyword_marker"
type KeyWordMarkerFilter (line 26) | type KeyWordMarkerFilter struct
method Filter (line 36) | func (f *KeyWordMarkerFilter) Filter(input analysis.TokenStream) analy...
function NewKeyWordMarkerFilter (line 30) | func NewKeyWordMarkerFilter(keyWords analysis.TokenMap) *KeyWordMarkerFi...
function KeyWordMarkerFilterConstructor (line 46) | func KeyWordMarkerFilterConstructor(config map[string]interface{}, cache...
function init (line 58) | func init() {
FILE: analysis/token/keyword/keyword_test.go
function TestKeyWordMarkerFilter (line 24) | func TestKeyWordMarkerFilter(t *testing.T) {
FILE: analysis/token/length/length.go
constant Name (line 25) | Name = "length"
type LengthFilter (line 27) | type LengthFilter struct
method Filter (line 39) | func (f *LengthFilter) Filter(input analysis.TokenStream) analysis.Tok...
function NewLengthFilter (line 32) | func NewLengthFilter(min, max int) *LengthFilter {
function LengthFilterConstructor (line 56) | func LengthFilterConstructor(config map[string]interface{}, cache *regis...
function init (line 75) | func init() {
FILE: analysis/token/length/length_test.go
function TestLengthFilter (line 23) | func TestLengthFilter(t *testing.T) {
function TestLengthFilterNoMax (line 47) | func TestLengthFilterNoMax(t *testing.T) {
function TestLengthFilterNoMin (line 74) | func TestLengthFilterNoMin(t *testing.T) {
FILE: analysis/token/lowercase/lowercase.go
constant Name (line 29) | Name = "to_lower"
type LowerCaseFilter (line 31) | type LowerCaseFilter struct
method Filter (line 38) | func (f *LowerCaseFilter) Filter(input analysis.TokenStream) analysis....
function NewLowerCaseFilter (line 34) | func NewLowerCaseFilter() *LowerCaseFilter {
function LowerCaseFilterConstructor (line 45) | func LowerCaseFilterConstructor(config map[string]interface{}, cache *re...
function init (line 49) | func init() {
function toLowerDeferredCopy (line 62) | func toLowerDeferredCopy(s []byte) []byte {
FILE: analysis/token/lowercase/lowercase_test.go
function TestLowerCaseFilter (line 24) | func TestLowerCaseFilter(t *testing.T) {
function BenchmarkLowerCaseFilter (line 88) | func BenchmarkLowerCaseFilter(b *testing.B) {
FILE: analysis/token/ngram/ngram.go
constant Name (line 26) | Name = "ngram"
type NgramFilter (line 28) | type NgramFilter struct
method Filter (line 40) | func (s *NgramFilter) Filter(input analysis.TokenStream) analysis.Toke...
function NewNgramFilter (line 33) | func NewNgramFilter(minLength, maxLength int) *NgramFilter {
function NgramFilterConstructor (line 68) | func NgramFilterConstructor(config map[string]interface{}, cache *regist...
function init (line 92) | func init() {
function convertToInt (line 100) | func convertToInt(val interface{}) (int, error) {
FILE: analysis/token/ngram/ngram_test.go
function TestNgramFilter (line 24) | func TestNgramFilter(t *testing.T) {
function TestConversionInt (line 139) | func TestConversionInt(t *testing.T) {
function TestConversionFloat (line 158) | func TestConversionFloat(t *testing.T) {
function TestBadConversion (line 177) | func TestBadConversion(t *testing.T) {
FILE: analysis/token/porter/porter.go
constant Name (line 26) | Name = "stemmer_porter"
type PorterStemmer (line 28) | type PorterStemmer struct
method Filter (line 35) | func (s *PorterStemmer) Filter(input analysis.TokenStream) analysis.To...
function NewPorterStemmer (line 31) | func NewPorterStemmer() *PorterStemmer {
function PorterStemmerConstructor (line 47) | func PorterStemmerConstructor(config map[string]interface{}, cache *regi...
function init (line 51) | func init() {
FILE: analysis/token/porter/porter_test.go
function TestPorterStemmer (line 24) | func TestPorterStemmer(t *testing.T) {
function BenchmarkPorterStemmer (line 84) | func BenchmarkPorterStemmer(b *testing.B) {
FILE: analysis/token/reverse/reverse.go
constant Name (line 26) | Name = "reverse"
type ReverseFilter (line 28) | type ReverseFilter struct
method Filter (line 35) | func (f *ReverseFilter) Filter(input analysis.TokenStream) analysis.To...
function NewReverseFilter (line 31) | func NewReverseFilter() *ReverseFilter {
function ReverseFilterConstructor (line 42) | func ReverseFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 46) | func init() {
function reverse (line 55) | func reverse(s []byte) []byte {
FILE: analysis/token/reverse/reverse_test.go
function TestReverseFilter (line 24) | func TestReverseFilter(t *testing.T) {
function BenchmarkReverseFilter (line 109) | func BenchmarkReverseFilter(b *testing.B) {
FILE: analysis/token/shingle/shingle.go
constant Name (line 25) | Name = "shingle"
type ShingleFilter (line 27) | type ShingleFilter struct
method Filter (line 45) | func (s *ShingleFilter) Filter(input analysis.TokenStream) analysis.To...
method shingleCurrentRingState (line 87) | func (s *ShingleFilter) shingleCurrentRingState(ring *ring.Ring, items...
function NewShingleFilter (line 35) | func NewShingleFilter(min, max int, outputOriginal bool, sep, fill strin...
function ShingleFilterConstructor (line 134) | func ShingleFilterConstructor(config map[string]interface{}, cache *regi...
function init (line 167) | func init() {
FILE: analysis/token/shingle/shingle_test.go
function TestShingleFilter (line 24) | func TestShingleFilter(t *testing.T) {
function TestShingleFilterBug431 (line 340) | func TestShingleFilterBug431(t *testing.T) {
FILE: analysis/token/snowball/snowball.go
constant Name (line 26) | Name = "stemmer_snowball"
type SnowballStemmer (line 28) | type SnowballStemmer struct
method Filter (line 38) | func (s *SnowballStemmer) Filter(input analysis.TokenStream) analysis....
function NewSnowballStemmer (line 32) | func NewSnowballStemmer(language string) *SnowballStemmer {
function SnowballStemmerConstructor (line 49) | func SnowballStemmerConstructor(config map[string]interface{}, cache *re...
function init (line 57) | func init() {
FILE: analysis/token/snowball/snowball_test.go
function TestSnowballStemmer (line 24) | func TestSnowballStemmer(t *testing.T) {
function BenchmarkSnowballStemmer (line 84) | func BenchmarkSnowballStemmer(b *testing.B) {
FILE: analysis/token/stop/stop.go
constant Name (line 31) | Name = "stop_tokens"
type StopTokensFilter (line 33) | type StopTokensFilter struct
method Filter (line 43) | func (f *StopTokensFilter) Filter(input analysis.TokenStream) analysis...
function NewStopTokensFilter (line 37) | func NewStopTokensFilter(stopTokens analysis.TokenMap) *StopTokensFilter {
function StopTokensFilterConstructor (line 56) | func StopTokensFilterConstructor(config map[string]interface{}, cache *r...
function init (line 68) | func init() {
FILE: analysis/token/stop/stop_test.go
function TestStopWordsFilter (line 26) | func TestStopWordsFilter(t *testing.T) {
function BenchmarkStopWordsFilter (line 80) | func BenchmarkStopWordsFilter(b *testing.B) {
FILE: analysis/token/truncate/truncate.go
constant Name (line 25) | Name = "truncate_token"
type TruncateTokenFilter (line 27) | type TruncateTokenFilter struct
method Filter (line 37) | func (s *TruncateTokenFilter) Filter(input analysis.TokenStream) analy...
function NewTruncateTokenFilter (line 31) | func NewTruncateTokenFilter(length int) *TruncateTokenFilter {
function TruncateTokenFilterConstructor (line 47) | func TruncateTokenFilterConstructor(config map[string]interface{}, cache...
function init (line 57) | func init() {
FILE: analysis/token/truncate/truncate_test.go
function TestTruncateTokenFilter (line 24) | func TestTruncateTokenFilter(t *testing.T) {
FILE: analysis/token/unicodenorm/unicodenorm.go
constant Name (line 25) | Name = "normalize_unicode"
constant NFC (line 27) | NFC = "nfc"
constant NFD (line 28) | NFD = "nfd"
constant NFKC (line 29) | NFKC = "nfkc"
constant NFKD (line 30) | NFKD = "nfkd"
type UnicodeNormalizeFilter (line 39) | type UnicodeNormalizeFilter struct
method Filter (line 61) | func (s *UnicodeNormalizeFilter) Filter(input analysis.TokenStream) an...
function NewUnicodeNormalizeFilter (line 43) | func NewUnicodeNormalizeFilter(formName string) (*UnicodeNormalizeFilter...
function MustNewUnicodeNormalizeFilter (line 53) | func MustNewUnicodeNormalizeFilter(formName string) *UnicodeNormalizeFil...
function UnicodeNormalizeFilterConstructor (line 68) | func UnicodeNormalizeFilterConstructor(config map[string]interface{}, ca...
function init (line 77) | func init() {
FILE: analysis/token/unicodenorm/unicodenorm_test.go
function TestUnicodeNormalization (line 28) | func TestUnicodeNormalization(t *testing.T) {
FILE: analysis/token/unique/unique.go
constant Name (line 22) | Name = "unique"
type UniqueTermFilter (line 26) | type UniqueTermFilter struct
method Filter (line 32) | func (f *UniqueTermFilter) Filter(input analysis.TokenStream) analysis...
function NewUniqueTermFilter (line 28) | func NewUniqueTermFilter() *UniqueTermFilter {
function UniqueTermFilterConstructor (line 47) | func UniqueTermFilterConstructor(config map[string]interface{}, cache *r...
function init (line 51) | func init() {
FILE: analysis/token/unique/unique_test.go
function TestUniqueTermFilter (line 24) | func TestUniqueTermFilter(t *testing.T) {
function tokenStream (line 63) | func tokenStream(termStrs ...string) analysis.TokenStream {
function subStream (line 78) | func subStream(stream analysis.TokenStream, indices []int) analysis.Toke...
FILE: analysis/tokenizer/character/character.go
type IsTokenRune (line 23) | type IsTokenRune
type CharacterTokenizer (line 25) | type CharacterTokenizer struct
method Tokenize (line 35) | func (c *CharacterTokenizer) Tokenize(input []byte) analysis.TokenStre...
function NewCharacterTokenizer (line 29) | func NewCharacterTokenizer(f IsTokenRune) *CharacterTokenizer {
FILE: analysis/tokenizer/character/character_test.go
function TestCharacterTokenizer (line 25) | func TestCharacterTokenizer(t *testing.T) {
FILE: analysis/tokenizer/exception/exception.go
constant Name (line 38) | Name = "exception"
type ExceptionsTokenizer (line 40) | type ExceptionsTokenizer struct
method Tokenize (line 52) | func (t *ExceptionsTokenizer) Tokenize(input []byte) analysis.TokenStr...
function NewExceptionsTokenizer (line 45) | func NewExceptionsTokenizer(exception *regexp.Regexp, remaining analysis...
function ExceptionsTokenizerConstructor (line 104) | func ExceptionsTokenizerConstructor(config map[string]interface{}, cache...
function init (line 139) | func init() {
FILE: analysis/tokenizer/exception/exception_test.go
function TestExceptionsTokenizer (line 26) | func TestExceptionsTokenizer(t *testing.T) {
FILE: analysis/tokenizer/letter/letter.go
constant Name (line 25) | Name = "letter"
function TokenizerConstructor (line 27) | func TokenizerConstructor(config map[string]interface{}, cache *registry...
function init (line 31) | func init() {
FILE: analysis/tokenizer/regexp/regexp.go
constant Name (line 26) | Name = "regexp"
type RegexpTokenizer (line 30) | type RegexpTokenizer struct
method Tokenize (line 40) | func (rt *RegexpTokenizer) Tokenize(input []byte) analysis.TokenStream {
function NewRegexpTokenizer (line 34) | func NewRegexpTokenizer(r *regexp.Regexp) *RegexpTokenizer {
function RegexpTokenizerConstructor (line 59) | func RegexpTokenizerConstructor(config map[string]interface{}, cache *re...
function init (line 71) | func init() {
function detectTokenType (line 78) | func detectTokenType(termBytes []byte) analysis.TokenType {
FILE: analysis/tokenizer/regexp/regexp_test.go
function TestBoundary (line 25) | func TestBoundary(t *testing.T) {
function TestBugProducingEmptyTokens (line 122) | func TestBugProducingEmptyTokens(t *testing.T) {
FILE: analysis/tokenizer/single/single.go
constant Name (line 22) | Name = "single"
type SingleTokenTokenizer (line 24) | type SingleTokenTokenizer struct
method Tokenize (line 31) | func (t *SingleTokenTokenizer) Tokenize(input []byte) analysis.TokenSt...
function NewSingleTokenTokenizer (line 27) | func NewSingleTokenTokenizer() *SingleTokenTokenizer {
function SingleTokenTokenizerConstructor (line 43) | func SingleTokenTokenizerConstructor(config map[string]interface{}, cach...
function init (line 47) | func init() {
FILE: analysis/tokenizer/single/single_test.go
function TestSingleTokenTokenizer (line 24) | func TestSingleTokenTokenizer(t *testing.T) {
FILE: analysis/tokenizer/unicode/unicode.go
constant Name (line 24) | Name = "unicode"
type UnicodeTokenizer (line 26) | type UnicodeTokenizer struct
method Tokenize (line 33) | func (rt *UnicodeTokenizer) Tokenize(input []byte) analysis.TokenStream {
function NewUnicodeTokenizer (line 29) | func NewUnicodeTokenizer() *UnicodeTokenizer {
function UnicodeTokenizerConstructor (line 113) | func UnicodeTokenizerConstructor(config map[string]interface{}, cache *r...
function init (line 117) | func init() {
function convertType (line 124) | func convertType(segmentWordType int) analysis.TokenType {
FILE: analysis/tokenizer/unicode/unicode_test.go
function TestUnicode (line 25) | func TestUnicode(t *testing.T) {
function BenchmarkTokenizeEnglishText (line 166) | func BenchmarkTokenizeEnglishText(b *testing.B) {
function TestConvertType (line 177) | func TestConvertType(t *testing.T) {
FILE: analysis/tokenizer/web/web.go
constant Name (line 27) | Name = "web"
function TokenizerConstructor (line 37) | func TokenizerConstructor(config map[string]interface{}, cache *registry...
function init (line 45) | func init() {
FILE: analysis/tokenizer/web/web_test.go
function TestWeb (line 25) | func TestWeb(t *testing.T) {
FILE: analysis/tokenizer/whitespace/whitespace.go
constant Name (line 25) | Name = "whitespace"
function TokenizerConstructor (line 27) | func TokenizerConstructor(config map[string]interface{}, cache *registry...
function notSpace (line 31) | func notSpace(r rune) bool {
function init (line 35) | func init() {
FILE: analysis/tokenizer/whitespace/whitespace_test.go
function TestBoundary (line 25) | func TestBoundary(t *testing.T) {
function BenchmarkTokenizeEnglishText (line 97) | func BenchmarkTokenizeEnglishText(b *testing.B) {
FILE: analysis/tokenmap.go
type TokenMap (line 25) | type TokenMap
method LoadFile (line 34) | func (t TokenMap) LoadFile(filename string) error {
method LoadBytes (line 45) | func (t TokenMap) LoadBytes(data []byte) error {
method LoadLine (line 61) | func (t TokenMap) LoadLine(line string) {
method AddToken (line 74) | func (t TokenMap) AddToken(token string) {
function NewTokenMap (line 27) | func NewTokenMap() TokenMap {
FILE: analysis/tokenmap/custom.go
constant Name (line 35) | Name = "custom"
function GenericTokenMapConstructor (line 37) | func GenericTokenMapConstructor(config map[string]interface{}, cache *re...
function init (line 60) | func init() {
FILE: analysis/tokenmap_test.go
function TestTokenMapLoadFile (line 22) | func TestTokenMapLoadFile(t *testing.T) {
FILE: analysis/type.go
type CharFilter (line 22) | type CharFilter interface
type TokenType (line 26) | type TokenType
constant AlphaNumeric (line 29) | AlphaNumeric TokenType = iota
constant Ideographic (line 30) | Ideographic
constant Numeric (line 31) | Numeric
constant DateTime (line 32) | DateTime
constant Shingle (line 33) | Shingle
constant Single (line 34) | Single
constant Double (line 35) | Double
constant Boolean (line 36) | Boolean
constant IP (line 37) | IP
type Token (line 42) | type Token struct
method String (line 58) | func (t *Token) String() string {
type TokenStream (line 62) | type TokenStream
type Tokenizer (line 66) | type Tokenizer interface
type TokenFilter (line 71) | type TokenFilter interface
type Analyzer (line 75) | type Analyzer interface
type DefaultAnalyzer (line 79) | type DefaultAnalyzer struct
method Analyze (line 85) | func (a *DefaultAnalyzer) Analyze(input []byte) TokenStream {
type DateTimeParser (line 105) | type DateTimeParser interface
constant SynonymSourceType (line 109) | SynonymSourceType = "synonym"
type SynonymSourceVisitor (line 111) | type SynonymSourceVisitor
type SynonymSource (line 113) | type SynonymSource interface
type ByteArrayConverter (line 118) | type ByteArrayConverter interface
FILE: analysis/util.go
function DeleteRune (line 22) | func DeleteRune(in []rune, pos int) []rune {
function InsertRune (line 30) | func InsertRune(in []rune, pos int, r rune) []rune {
function BuildTermFromRunesOptimistic (line 48) | func BuildTermFromRunesOptimistic(buf []byte, runes []rune) []byte {
function BuildTermFromRunes (line 66) | func BuildTermFromRunes(runes []rune) []byte {
function TruncateRunes (line 70) | func TruncateRunes(input []byte, num int) []byte {
function RunesEndsWith (line 77) | func RunesEndsWith(input []rune, suffix string) bool {
FILE: analysis/util_test.go
function TestDeleteRune (line 22) | func TestDeleteRune(t *testing.T) {
function TestInsertRune (line 43) | func TestInsertRune(t *testing.T) {
function TestBuildTermFromRunes (line 78) | func TestBuildTermFromRunes(t *testing.T) {
function TestBuildTermFromRunesOptimistic (line 98) | func TestBuildTermFromRunesOptimistic(t *testing.T) {
function BenchmarkBuildTermFromRunes (line 130) | func BenchmarkBuildTermFromRunes(b *testing.B) {
FILE: builder.go
type builderImpl (line 27) | type builderImpl struct
method Index (line 32) | func (b *builderImpl) Index(id string, data interface{}) error {
method Close (line 46) | func (b *builderImpl) Close() error {
function newBuilder (line 50) | func newBuilder(path string, mapping mapping.IndexMapping, config map[st...
FILE: builder_test.go
function TestBuilder (line 23) | func TestBuilder(t *testing.T) {
FILE: cmd/bleve/cmd/bulk.go
function randomString (line 103) | func randomString(n int) string {
function init (line 111) | func init() {
FILE: cmd/bleve/cmd/check.go
function checkField (line 65) | func checkField(index bleve.Index, fieldName string) (int, error) {
function getDictionary (line 101) | func getDictionary(index bleve.Index, field string) (map[string]uint64, ...
function init (line 127) | func init() {
FILE: cmd/bleve/cmd/count.go
function init (line 38) | func init() {
FILE: cmd/bleve/cmd/create.go
function buildMapping (line 60) | func buildMapping() (mapping.IndexMapping, error) {
function init (line 75) | func init() {
FILE: cmd/bleve/cmd/dictionary.go
function init (line 58) | func init() {
FILE: cmd/bleve/cmd/dump.go
function init (line 59) | func init() {
FILE: cmd/bleve/cmd/dumpDoc.go
function init (line 61) | func init() {
FILE: cmd/bleve/cmd/dumpFields.go
function init (line 57) | func init() {
FILE: cmd/bleve/cmd/fields.go
function init (line 48) | func init() {
FILE: cmd/bleve/cmd/index.go
type file (line 70) | type file struct
function handleArgs (line 75) | func handleArgs(args []string) chan file {
function getAllFiles (line 81) | func getAllFiles(args []string, rv chan file) {
function init (line 110) | func init() {
FILE: cmd/bleve/cmd/mapping.go
function init (line 40) | func init() {
FILE: cmd/bleve/cmd/query.go
function buildQuery (line 66) | func buildQuery(args []string) query.Query {
function init (line 89) | func init() {
FILE: cmd/bleve/cmd/registry.go
function printType (line 71) | func printType(label string, types, instances []string) {
function init (line 86) | func init() {
FILE: cmd/bleve/cmd/root.go
constant canMutateBleveIndex (line 34) | canMutateBleveIndex = "canMutateBleveIndex"
function CanMutateBleveIndex (line 39) | func CanMutateBleveIndex(c *cobra.Command) bool {
function Execute (line 88) | func Execute() {
FILE: cmd/bleve/cmd/scorch.go
function init (line 23) | func init() {
FILE: cmd/bleve/cmd/scorch/ascii.go
function init (line 57) | func init() {
FILE: cmd/bleve/cmd/scorch/deleted.go
function init (line 53) | func init() {
FILE: cmd/bleve/cmd/scorch/info.go
function init (line 57) | func init() {
FILE: cmd/bleve/cmd/scorch/internal.go
function init (line 58) | func init() {
FILE: cmd/bleve/cmd/scorch/root.go
function Execute (line 65) | func Execute() {
FILE: cmd/bleve/cmd/scorch/snapshot.go
function init (line 62) | func init() {
FILE: cmd/bleve/gendocs.go
function main (line 38) | func main() {
FILE: cmd/bleve/main.go
function main (line 24) | func main() {
FILE: config.go
type configuration (line 32) | type configuration struct
method SetAnalysisQueueSize (line 42) | func (c *configuration) SetAnalysisQueueSize(n int) {
method Shutdown (line 49) | func (c *configuration) Shutdown() {
function newConfiguration (line 53) | func newConfiguration() *configuration {
function init (line 63) | func init() {
function SetLog (line 93) | func SetLog(l *log.Logger) {
FILE: config_app.go
function initDisk (line 22) | func initDisk() {
FILE: config_disk.go
function initDisk (line 23) | func initDisk() {
FILE: document/document.go
function init (line 27) | func init() {
type Document (line 32) | type Document struct
method StoredFieldsBytes (line 41) | func (d *Document) StoredFieldsBytes() uint64 {
method Size (line 60) | func (d *Document) Size() int {
method AddField (line 75) | func (d *Document) AddField(f Field) *Document {
method GoString (line 85) | func (d *Document) GoString() string {
method NumPlainTextBytes (line 103) | func (d *Document) NumPlainTextBytes() uint64 {
method ID (line 118) | func (d *Document) ID() string {
method SetID (line 122) | func (d *Document) SetID(id string) {
method AddIDField (line 126) | func (d *Document) AddIDField() {
method VisitFields (line 130) | func (d *Document) VisitFields(visitor index.FieldVisitor) {
method VisitComposite (line 136) | func (d *Document) VisitComposite(visitor index.CompositeFieldVisitor) {
method HasComposite (line 142) | func (d *Document) HasComposite() bool {
method VisitSynonymFields (line 146) | func (d *Document) VisitSynonymFields(visitor index.SynonymFieldVisito...
method SetIndexed (line 154) | func (d *Document) SetIndexed() {
method Indexed (line 158) | func (d *Document) Indexed() bool {
method AddNestedDocument (line 162) | func (d *Document) AddNestedDocument(doc *Document) {
method VisitNestedDocuments (line 166) | func (d *Document) VisitNestedDocuments(visitor func(doc index.Documen...
function NewDocument (line 45) | func NewDocument(id string) *Document {
function NewSynonymDocument (line 53) | func NewSynonymDocument(id string) *Document {
FILE: document/document_test.go
function TestDocumentNumPlainTextBytes (line 21) | func TestDocumentNumPlainTextBytes(t *testing.T) {
FILE: document/field.go
type Field (line 21) | type Field interface
FILE: document/field_boolean.go
function init (line 28) | func init() {
constant DefaultBooleanIndexingOptions (line 33) | DefaultBooleanIndexingOptions = index.StoreField | index.IndexField | in...
type BooleanField (line 35) | type BooleanField struct
method Size (line 45) | func (b *BooleanField) Size() int {
method Name (line 57) | func (b *BooleanField) Name() string {
method ArrayPositions (line 61) | func (b *BooleanField) ArrayPositions() []uint64 {
method Options (line 65) | func (b *BooleanField) Options() index.FieldIndexingOptions {
method Analyze (line 69) | func (b *BooleanField) Analyze() {
method Value (line 83) | func (b *BooleanField) Value() []byte {
method Boolean (line 87) | func (b *BooleanField) Boolean() (bool, error) {
method GoString (line 94) | func (b *BooleanField) GoString() string {
method NumPlainTextBytes (line 98) | func (b *BooleanField) NumPlainTextBytes() uint64 {
method EncodedFieldType (line 102) | func (b *BooleanField) EncodedFieldType() byte {
method AnalyzedLength (line 106) | func (b *BooleanField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 110) | func (b *BooleanField) AnalyzedTokenFrequencies() index.TokenFrequenci...
function NewBooleanFieldFromBytes (line 114) | func NewBooleanFieldFromBytes(name string, arrayPositions []uint64, valu...
function NewBooleanField (line 124) | func NewBooleanField(name string, arrayPositions []uint64, b bool) *Bool...
function NewBooleanFieldWithIndexingOptions (line 128) | func NewBooleanFieldWithIndexingOptions(name string, arrayPositions []ui...
FILE: document/field_composite.go
function init (line 26) | func init() {
constant DefaultCompositeIndexingOptions (line 31) | DefaultCompositeIndexingOptions = index.IndexField
type CompositeField (line 33) | type CompositeField struct
method Size (line 67) | func (c *CompositeField) Size() int {
method Name (line 85) | func (c *CompositeField) Name() string {
method ArrayPositions (line 89) | func (c *CompositeField) ArrayPositions() []uint64 {
method Options (line 93) | func (c *CompositeField) Options() index.FieldIndexingOptions {
method Analyze (line 97) | func (c *CompositeField) Analyze() {
method Value (line 100) | func (c *CompositeField) Value() []byte {
method NumPlainTextBytes (line 104) | func (c *CompositeField) NumPlainTextBytes() uint64 {
method includesField (line 108) | func (c *CompositeField) includesField(field string) bool {
method Compose (line 121) | func (c *CompositeField) Compose(field string, length int, freq index....
method EncodedFieldType (line 128) | func (c *CompositeField) EncodedFieldType() byte {
method AnalyzedLength (line 132) | func (c *CompositeField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 136) | func (c *CompositeField) AnalyzedTokenFrequencies() index.TokenFrequen...
function NewCompositeField (line 43) | func NewCompositeField(name string, defaultInclude bool, include []strin...
function NewCompositeFieldWithIndexingOptions (line 47) | func NewCompositeFieldWithIndexingOptions(name string, defaultInclude bo...
FILE: document/field_datetime.go
function init (line 34) | func init() {
constant DefaultDateTimeIndexingOptions (line 39) | DefaultDateTimeIndexingOptions = index.StoreField | index.IndexField | i...
constant DefaultDateTimePrecisionStep (line 40) | DefaultDateTimePrecisionStep uint = 4
type DateTimeField (line 45) | type DateTimeField struct
method Size (line 55) | func (n *DateTimeField) Size() int {
method Name (line 67) | func (n *DateTimeField) Name() string {
method ArrayPositions (line 71) | func (n *DateTimeField) ArrayPositions() []uint64 {
method Options (line 75) | func (n *DateTimeField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 79) | func (n *DateTimeField) EncodedFieldType() byte {
method AnalyzedLength (line 83) | func (n *DateTimeField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 87) | func (n *DateTimeField) AnalyzedTokenFrequencies() index.TokenFrequenc...
method splitValue (line 93) | func (n *DateTimeField) splitValue() (numeric.PrefixCoded, string) {
method Analyze (line 101) | func (n *DateTimeField) Analyze() {
method Value (line 137) | func (n *DateTimeField) Value() []byte {
method DateTime (line 141) | func (n *DateTimeField) DateTime() (time.Time, string, error) {
method GoString (line 150) | func (n *DateTimeField) GoString() string {
method NumPlainTextBytes (line 154) | func (n *DateTimeField) NumPlainTextBytes() uint64 {
function NewDateTimeFieldFromBytes (line 158) | func NewDateTimeFieldFromBytes(name string, arrayPositions []uint64, val...
function NewDateTimeField (line 168) | func NewDateTimeField(name string, arrayPositions []uint64, dt time.Time...
function NewDateTimeFieldWithIndexingOptions (line 172) | func NewDateTimeFieldWithIndexingOptions(name string, arrayPositions []u...
function canRepresent (line 197) | func canRepresent(dt time.Time) bool {
FILE: document/field_geopoint.go
function init (line 30) | func init() {
type GeoPointField (line 37) | type GeoPointField struct
method Size (line 49) | func (n *GeoPointField) Size() int {
method Name (line 61) | func (n *GeoPointField) Name() string {
method ArrayPositions (line 65) | func (n *GeoPointField) ArrayPositions() []uint64 {
method Options (line 69) | func (n *GeoPointField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 73) | func (n *GeoPointField) EncodedFieldType() byte {
method AnalyzedLength (line 77) | func (n *GeoPointField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 81) | func (n *GeoPointField) AnalyzedTokenFrequencies() index.TokenFrequenc...
method Analyze (line 85) | func (n *GeoPointField) Analyze() {
method Value (line 138) | func (n *GeoPointField) Value() []byte {
method Lon (line 142) | func (n *GeoPointField) Lon() (float64, error) {
method Lat (line 150) | func (n *GeoPointField) Lat() (float64, error) {
method GoString (line 158) | func (n *GeoPointField) GoString() string {
method NumPlainTextBytes (line 162) | func (n *GeoPointField) NumPlainTextBytes() uint64 {
method SetSpatialAnalyzerPlugin (line 205) | func (n *GeoPointField) SetSpatialAnalyzerPlugin(
function NewGeoPointFieldFromBytes (line 166) | func NewGeoPointFieldFromBytes(name string, arrayPositions []uint64, val...
function NewGeoPointField (line 176) | func NewGeoPointField(name string, arrayPositions []uint64, lon, lat flo...
function NewGeoPointFieldWithIndexingOptions (line 180) | func NewGeoPointFieldWithIndexingOptions(name string, arrayPositions []u...
FILE: document/field_geopoint_test.go
function TestGeoPointField (line 5) | func TestGeoPointField(t *testing.T) {
FILE: document/field_geoshape.go
function init (line 30) | func init() {
constant DefaultGeoShapeIndexingOptions (line 35) | DefaultGeoShapeIndexingOptions = index.IndexField | index.DocValues
type GeoShapeField (line 37) | type GeoShapeField struct
method Size (line 50) | func (n *GeoShapeField) Size() int {
method Name (line 63) | func (n *GeoShapeField) Name() string {
method ArrayPositions (line 67) | func (n *GeoShapeField) ArrayPositions() []uint64 {
method Options (line 71) | func (n *GeoShapeField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 75) | func (n *GeoShapeField) EncodedFieldType() byte {
method AnalyzedLength (line 79) | func (n *GeoShapeField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 83) | func (n *GeoShapeField) AnalyzedTokenFrequencies() index.TokenFrequenc...
method Analyze (line 87) | func (n *GeoShapeField) Analyze() {
method Value (line 109) | func (n *GeoShapeField) Value() []byte {
method GoString (line 113) | func (n *GeoShapeField) GoString() string {
method NumPlainTextBytes (line 118) | func (n *GeoShapeField) NumPlainTextBytes() uint64 {
method EncodedShape (line 122) | func (n *GeoShapeField) EncodedShape() []byte {
method GeoShape (line 271) | func (n *GeoShapeField) GeoShape() (index.GeoJSON, error) {
function NewGeoShapeField (line 126) | func NewGeoShapeField(name string, arrayPositions []uint64,
function NewGeoShapeFieldFromBytes (line 132) | func NewGeoShapeFieldFromBytes(name string, arrayPositions []uint64,
function NewGeoShapeFieldWithIndexingOptions (line 143) | func NewGeoShapeFieldWithIndexingOptions(name string, arrayPositions []u...
function NewGeoShapeFieldFromShapeWithIndexingOptions (line 155) | func NewGeoShapeFieldFromShapeWithIndexingOptions(name string, arrayPosi...
function NewGeometryCollectionFieldWithIndexingOptions (line 200) | func NewGeometryCollectionFieldWithIndexingOptions(name string,
function NewGeometryCollectionFieldFromShapesWithIndexingOptions (line 219) | func NewGeometryCollectionFieldFromShapesWithIndexingOptions(name string,
function NewGeoCircleFieldWithIndexingOptions (line 256) | func NewGeoCircleFieldWithIndexingOptions(name string, arrayPositions []...
FILE: document/field_ip.go
function init (line 29) | func init() {
constant DefaultIPIndexingOptions (line 34) | DefaultIPIndexingOptions = index.StoreField | index.IndexField | index.D...
type IPField (line 36) | type IPField struct
method Size (line 46) | func (b *IPField) Size() int {
method Name (line 58) | func (b *IPField) Name() string {
method ArrayPositions (line 62) | func (b *IPField) ArrayPositions() []uint64 {
method Options (line 66) | func (b *IPField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 70) | func (n *IPField) EncodedFieldType() byte {
method AnalyzedLength (line 74) | func (n *IPField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 78) | func (n *IPField) AnalyzedTokenFrequencies() index.TokenFrequencies {
method Analyze (line 82) | func (b *IPField) Analyze() {
method Value (line 97) | func (b *IPField) Value() []byte {
method IP (line 101) | func (b *IPField) IP() (net.IP, error) {
method GoString (line 105) | func (b *IPField) GoString() string {
method NumPlainTextBytes (line 109) | func (b *IPField) NumPlainTextBytes() uint64 {
function NewIPFieldFromBytes (line 113) | func NewIPFieldFromBytes(name string, arrayPositions []uint64, value []b...
function NewIPField (line 123) | func NewIPField(name string, arrayPositions []uint64, v net.IP) *IPField {
function NewIPFieldWithIndexingOptions (line 127) | func NewIPFieldWithIndexingOptions(name string, arrayPositions []uint64,...
FILE: document/field_ip_test.go
function TestIPField (line 23) | func TestIPField(t *testing.T) {
FILE: document/field_numeric.go
function init (line 29) | func init() {
constant DefaultNumericIndexingOptions (line 34) | DefaultNumericIndexingOptions = index.StoreField | index.IndexField | in...
constant DefaultPrecisionStep (line 36) | DefaultPrecisionStep uint = 4
type NumericField (line 38) | type NumericField struct
method Size (line 48) | func (n *NumericField) Size() int {
method Name (line 60) | func (n *NumericField) Name() string {
method ArrayPositions (line 64) | func (n *NumericField) ArrayPositions() []uint64 {
method Options (line 68) | func (n *NumericField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 72) | func (n *NumericField) EncodedFieldType() byte {
method AnalyzedLength (line 76) | func (n *NumericField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 80) | func (n *NumericField) AnalyzedTokenFrequencies() index.TokenFrequenci...
method Analyze (line 84) | func (n *NumericField) Analyze() {
method Value (line 119) | func (n *NumericField) Value() []byte {
method Number (line 123) | func (n *NumericField) Number() (float64, error) {
method GoString (line 131) | func (n *NumericField) GoString() string {
method NumPlainTextBytes (line 135) | func (n *NumericField) NumPlainTextBytes() uint64 {
function NewNumericFieldFromBytes (line 139) | func NewNumericFieldFromBytes(name string, arrayPositions []uint64, valu...
function NewNumericField (line 149) | func NewNumericField(name string, arrayPositions []uint64, number float6...
function NewNumericFieldWithIndexingOptions (line 153) | func NewNumericFieldWithIndexingOptions(name string, arrayPositions []ui...
FILE: document/field_numeric_test.go
function TestNumericField (line 21) | func TestNumericField(t *testing.T) {
FILE: document/field_synonym.go
function init (line 27) | func init() {
constant DefaultSynonymIndexingOptions (line 32) | DefaultSynonymIndexingOptions = index.IndexField
type SynonymField (line 34) | type SynonymField struct
method Size (line 46) | func (s *SynonymField) Size() int {
method Name (line 51) | func (s *SynonymField) Name() string {
method ArrayPositions (line 55) | func (s *SynonymField) ArrayPositions() []uint64 {
method Options (line 59) | func (s *SynonymField) Options() index.FieldIndexingOptions {
method NumPlainTextBytes (line 63) | func (s *SynonymField) NumPlainTextBytes() uint64 {
method AnalyzedLength (line 67) | func (s *SynonymField) AnalyzedLength() int {
method EncodedFieldType (line 71) | func (s *SynonymField) EncodedFieldType() byte {
method AnalyzedTokenFrequencies (line 75) | func (s *SynonymField) AnalyzedTokenFrequencies() index.TokenFrequenci...
method Analyze (line 79) | func (s *SynonymField) Analyze() {
method Value (line 100) | func (s *SynonymField) Value() []byte {
method IterateSynonyms (line 104) | func (s *SynonymField) IterateSynonyms(visitor func(term string, synon...
function NewSynonymField (line 110) | func NewSynonymField(name string, analyzer analysis.Analyzer, input []st...
function processSynonymData (line 120) | func processSynonymData(input []string, synonyms []string) map[string][]...
function analyzeSynonymTerm (line 143) | func analyzeSynonymTerm(term string, analyzer analysis.Analyzer) string {
FILE: document/field_text.go
function init (line 28) | func init() {
constant DefaultTextIndexingOptions (line 33) | DefaultTextIndexingOptions = index.IndexField | index.DocValues
type TextField (line 35) | type TextField struct
method Size (line 46) | func (t *TextField) Size() int {
method Name (line 58) | func (t *TextField) Name() string {
method ArrayPositions (line 62) | func (t *TextField) ArrayPositions() []uint64 {
method Options (line 66) | func (t *TextField) Options() index.FieldIndexingOptions {
method EncodedFieldType (line 70) | func (t *TextField) EncodedFieldType() byte {
method AnalyzedLength (line 74) | func (t *TextField) AnalyzedLength() int {
method AnalyzedTokenFrequencies (line 78) | func (t *TextField) AnalyzedTokenFrequencies() index.TokenFrequencies {
method Analyze (line 82) | func (t *TextField) Analyze() {
method Analyzer (line 108) | func (t *TextField) Analyzer() analysis.Analyzer {
method Value (line 112) | func (t *TextField) Value() []byte {
method Text (line 116) | func (t *TextField) Text() string {
method GoString (line 120) | func (t *TextField) GoString() string {
method NumPlainTextBytes (line 124) | func (t *TextField) NumPlainTextBytes() uint64 {
function NewTextField (line 128) | func NewTextField(name string, arrayPositions []uint64, value []byte) *T...
function NewTextFieldWithIndexingOptions (line 132) | func NewTextFieldWithIndexingOptions(name string, arrayPositions []uint6...
function NewTextFieldWithAnalyzer (line 142) | func NewTextFieldWithAnalyzer(name string, arrayPositions []uint64, valu...
function NewTextFieldCustom (line 153) | func NewTextFieldCustom(name string, arrayPositions []uint64, value []by...
FILE: document/field_vector.go
function init (line 30) | func init() {
constant DefaultVectorIndexingOptions (line 35) | DefaultVectorIndexingOptions = index.IndexField
type VectorField (line 37) | type VectorField struct
method Size (line 47) | func (n *VectorField) Size() int {
method Name (line 55) | func (n *VectorField) Name() string {
method ArrayPositions (line 59) | func (n *VectorField) ArrayPositions() []uint64 {
method Options (line 63) | func (n *VectorField) Options() index.FieldIndexingOptions {
method NumPlainTextBytes (line 67) | func (n *VectorField) NumPlainTextBytes() uint64 {
method AnalyzedLength (line 71) | func (n *VectorField) AnalyzedLength() int {
method EncodedFieldType (line 76) | func (n *VectorField) EncodedFieldType() byte {
method AnalyzedTokenFrequencies (line 80) | func (n *VectorField) AnalyzedTokenFrequencies() index.TokenFrequencies {
method Analyze (line 85) | func (n *VectorField) Analyze() {
method Value (line 89) | func (n *VectorField) Value() []byte {
method GoString (line 93) | func (n *VectorField) GoString() string {
method Vector (line 143) | func (n *VectorField) Vector() []float32 {
method Dims (line 147) | func (n *VectorField) Dims() int {
method Similarity (line 151) | func (n *VectorField) Similarity() string {
method IndexOptimizedFor (line 155) | func (n *VectorField) IndexOptimizedFor() string {
function NewVectorField (line 100) | func NewVectorField(name string, arrayPositions []uint64,
function NewVectorFieldWithIndexingOptions (line 109) | func NewVectorFieldWithIndexingOptions(name string, arrayPositions []uin...
function numBytesFloat32s (line 135) | func numBytesFloat32s(value []float32) uint64 {
FILE: document/field_vector_base64.go
function init (line 34) | func init() {
type VectorBase64Field (line 39) | type VectorBase64Field struct
method Size (line 44) | func (n *VectorBase64Field) Size() int {
method Name (line 54) | func (n *VectorBase64Field) Name() string {
method ArrayPositions (line 58) | func (n *VectorBase64Field) ArrayPositions() []uint64 {
method Options (line 62) | func (n *VectorBase64Field) Options() index.FieldIndexingOptions {
method NumPlainTextBytes (line 66) | func (n *VectorBase64Field) NumPlainTextBytes() uint64 {
method AnalyzedLength (line 70) | func (n *VectorBase64Field) AnalyzedLength() int {
method EncodedFieldType (line 74) | func (n *VectorBase64Field) EncodedFieldType() byte {
method AnalyzedTokenFrequencies (line 78) | func (n *VectorBase64Field) AnalyzedTokenFrequencies() index.TokenFreq...
method Analyze (line 82) | func (n *VectorBase64Field) Analyze() {
method Value (line 85) | func (n *VectorBase64Field) Value() []byte {
method GoString (line 89) | func (n *VectorBase64Field) GoString() string {
method Vector (line 149) | func (n *VectorBase64Field) Vector() []float32 {
method Dims (line 153) | func (n *VectorBase64Field) Dims() int {
method Similarity (line 157) | func (n *VectorBase64Field) Similarity() string {
method IndexOptimizedFor (line 161) | func (n *VectorBase64Field) IndexOptimizedFor() string {
function NewVectorBase64Field (line 96) | func NewVectorBase64Field(name string, arrayPositions []uint64, vectorBa...
function DecodeVector (line 115) | func DecodeVector(encodedValue string) ([]float32, error) {
FILE: document/field_vector_base64_test.go
function TestDecodeVector (line 29) | func TestDecodeVector(t *testing.T) {
function BenchmarkDecodeVector128 (line 53) | func BenchmarkDecodeVector128(b *testing.B) {
function BenchmarkDecodeVector784 (line 69) | func BenchmarkDecodeVector784(b *testing.B) {
function BenchmarkDecodeVector1536 (line 85) | func BenchmarkDecodeVector1536(b *testing.B) {
function bytifyVec (line 101) | func bytifyVec(vec []float32) []byte {
FILE: error.go
constant ErrorIndexPathExists (line 19) | ErrorIndexPathExists Error = iota
constant ErrorIndexPathDoesNotExist (line 20) | ErrorIndexPathDoesNotExist
constant ErrorIndexMetaMissing (line 21) | ErrorIndexMetaMissing
constant ErrorIndexMetaCorrupt (line 22) | ErrorIndexMetaCorrupt
constant ErrorIndexClosed (line 23) | ErrorIndexClosed
constant ErrorAliasMulti (line 24) | ErrorAliasMulti
constant ErrorAliasEmpty (line 25) | ErrorAliasEmpty
constant ErrorUnknownIndexType (line 26) | ErrorUnknownIndexType
constant ErrorEmptyID (line 27) | ErrorEmptyID
constant ErrorIndexReadInconsistency (line 28) | ErrorIndexReadInconsistency
constant ErrorTwoPhaseSearchInconsistency (line 29) | ErrorTwoPhaseSearchInconsistency
constant ErrorSynonymSearchNotSupported (line 30) | ErrorSynonymSearchNotSupported
type Error (line 35) | type Error
method Error (line 37) | func (e Error) Error() string {
FILE: examples_test.go
function TestMain (line 32) | func TestMain(m *testing.M) {
function ExampleNew (line 51) | func ExampleNew() {
function ExampleIndex_indexing (line 67) | func ExampleIndex_indexing() {
function ExampleNewMatchQuery (line 102) | func ExampleNewMatchQuery() {
function ExampleNewMatchAllQuery (line 116) | func ExampleNewMatchAllQuery() {
function ExampleNewMatchNoneQuery (line 130) | func ExampleNewMatchNoneQuery() {
function ExampleNewMatchPhraseQuery (line 144) | func ExampleNewMatchPhraseQuery() {
function ExampleNewNumericRangeQuery (line 158) | func ExampleNewNumericRangeQuery() {
function ExampleNewNumericRangeInclusiveQuery (line 185) | func ExampleNewNumericRangeInclusiveQuery() {
function ExampleNewPhraseQuery (line 203) | func ExampleNewPhraseQuery() {
function ExampleNewPrefixQuery (line 217) | func ExampleNewPrefixQuery() {
function ExampleNewQueryStringQuery (line 231) | func ExampleNewQueryStringQuery() {
function ExampleNewTermQuery (line 244) | func ExampleNewTermQuery() {
function ExampleNewFacetRequest (line 257) | func ExampleNewFacetRequest() {
function ExampleFacetRequest_AddDateTimeRange (line 279) | func ExampleFacetRequest_AddDateTimeRange() {
function ExampleFacetRequest_AddNumericRange (line 296) | func ExampleFacetRequest_AddNumericRange() {
function ExampleNewHighlight (line 315) | func ExampleNewHighlight() {
function ExampleNewHighlightWithStyle (line 329) | func ExampleNewHighlightWithStyle() {
function ExampleSearchRequest_AddFacet (line 343) | func ExampleSearchRequest_AddFacet() {
function ExampleNewSearchRequest (line 365) | func ExampleNewSearchRequest() {
function ExampleNewBooleanQuery (line 379) | func ExampleNewBooleanQuery() {
function ExampleNewConjunctionQuery (line 396) | func ExampleNewConjunctionQuery() {
function ExampleNewDisjunctionQuery (line 411) | func ExampleNewDisjunctionQuery() {
function ExampleSearchRequest_SortBy (line 426) | func ExampleSearchRequest_SortBy() {
function ExampleSearchRequest_SortByCustom (line 443) | func ExampleSearchRequest_SortByCustom() {
FILE: fusion/fusion.go
type FusionResult (line 22) | type FusionResult struct
FILE: fusion/rrf.go
function formatRRFMessage (line 26) | func formatRRFMessage(weight float64, rank int, rankConstant int) string {
function ReciprocalRankFusion (line 34) | func ReciprocalRankFusion(hits search.DocumentMatchCollection, weights [...
FILE: fusion/rrf_test.go
constant epsilon (line 25) | epsilon float64 = 1e-3
function nearlyEqual (line 27) | func nearlyEqual(a float64, b float64, epsilon float64) bool {
function compareFusionResults (line 31) | func compareFusionResults(a, b FusionResult) bool {
function TestReciprocalRankFusion (line 47) | func TestReciprocalRankFusion(t *testing.T) {
FILE: fusion/rsf.go
function formatRSFMessage (line 25) | func formatRSFMessage(weight float64, normalizedScore float64, minScore ...
function RelativeScoreFusion (line 35) | func RelativeScoreFusion(hits search.DocumentMatchCollection, weights []...
FILE: fusion/rsf_test.go
function TestRelativeScoreFusion (line 23) | func TestRelativeScoreFusion(t *testing.T) {
FILE: fusion/util.go
function sortDocMatchesByScore (line 27) | func sortDocMatchesByScore(hits search.DocumentMatchCollection) {
function scoreBreakdownForQuery (line 44) | func scoreBreakdownForQuery(hit *search.DocumentMatch, idx int) (float64...
function sortDocMatchesByBreakdown (line 56) | func sortDocMatchesByBreakdown(hits search.DocumentMatchCollection, quer...
function getFusionExplAt (line 95) | func getFusionExplAt(hit *search.DocumentMatch, i int, value float64, me...
function finalizeFusionExpl (line 106) | func finalizeFusionExpl(hit *search.DocumentMatch, explChildren []*searc...
FILE: geo/benchmark_geohash_test.go
function BenchmarkGeoHashLen5NewDecode (line 21) | func BenchmarkGeoHashLen5NewDecode(b *testing.B) {
function BenchmarkGeoHashLen6NewDecode (line 29) | func BenchmarkGeoHashLen6NewDecode(b *testing.B) {
function BenchmarkGeoHashLen7NewDecode (line 37) | func BenchmarkGeoHashLen7NewDecode(b *testing.B) {
FILE: geo/geo.go
type Point (line 43) | type Point struct
function MortonHash (line 50) | func MortonHash(lon, lat float64) uint64 {
function scaleLon (line 54) | func scaleLon(lon float64) uint64 {
function scaleLat (line 59) | func scaleLat(lat float64) uint64 {
function MortonUnhashLon (line 65) | func MortonUnhashLon(hash uint64) float64 {
function MortonUnhashLat (line 70) | func MortonUnhashLat(hash uint64) float64 {
function unscaleLon (line 74) | func unscaleLon(lon uint64) float64 {
function unscaleLat (line 78) | func unscaleLat(lat uint64) float64 {
function compareGeo (line 84) | func compareGeo(a, b float64) float64 {
function RectIntersects (line 93) | func RectIntersects(aMinX, aMinY, aMaxX, aMaxY, bMinX, bMinY, bMaxX, bMa...
function RectWithin (line 98) | func RectWithin(aMinX, aMinY, aMaxX, aMaxY, bMinX, bMinY, bMaxX, bMaxY f...
function BoundingBoxContains (line 104) | func BoundingBoxContains(lon, lat, minLon, minLat, maxLon, maxLat float6...
constant degreesToRadian (line 109) | degreesToRadian = math.Pi / 180
constant radiansToDegrees (line 110) | radiansToDegrees = 180 / math.Pi
function DegreesToRadians (line 113) | func DegreesToRadians(d float64) float64 {
function RadiansToDegrees (line 118) | func RadiansToDegrees(r float64) float64 {
function RectFromPointDistance (line 124) | func RectFromPointDistance(lon, lat, dist float64) (float64, float64, fl...
function checkLatitude (line 166) | func checkLatitude(latitude float64) error {
function checkLongitude (line 173) | func checkLongitude(longitude float64) error {
function BoundingRectangleForPolygon (line 180) | func BoundingRectangleForPolygon(polygon []Point) (
FILE: geo/geo_dist.go
type distanceUnit (line 24) | type distanceUnit struct
function ParseDistance (line 51) | func ParseDistance(d string) (float64, error) {
function ParseDistanceUnit (line 74) | func ParseDistanceUnit(u string) (float64, error) {
function Haversin (line 88) | func Haversin(lon1, lat1, lon2, lat2 float64) float64 {
FILE: geo/geo_dist_test.go
function TestParseDistance (line 25) | func TestParseDistance(t *testing.T) {
function TestParseDistanceUnit (line 50) | func TestParseDistanceUnit(t *testing.T) {
function TestHaversinDistance (line 74) | func TestHaversinDistance(t *testing.T) {
FILE: geo/geo_s2plugin_impl.go
constant PointType (line 28) | PointType = "point"
constant MultiPointType (line 29) | MultiPointType = "multipoint"
constant LineStringType (line 30) | LineStringType = "linestring"
constant MultiLineStringType (line 31) | MultiLineStringType = "multilinestring"
constant PolygonType (line 32) | PolygonType = "polygon"
constant MultiPolygonType (line 33) | MultiPolygonType = "multipolygon"
constant GeometryCollectionType (line 34) | GeometryCollectionType = "geometrycollection"
constant CircleType (line 35) | CircleType = "circle"
constant EnvelopeType (line 36) | EnvelopeType = "envelope"
function init (line 45) | func init() {
function registerS2RegionTermIndexer (line 49) | func registerS2RegionTermIndexer() {
function RegisterSpatialAnalyzerPlugin (line 60) | func RegisterSpatialAnalyzerPlugin(plugin index.SpatialAnalyzerPlugin) {
function GetSpatialAnalyzerPlugin (line 67) | func GetSpatialAnalyzerPlugin(typ string) index.SpatialAnalyzerPlugin {
function initS2IndexerOptions (line 76) | func initS2IndexerOptions() s2.Options {
function initS2SearcherOptions (line 99) | func initS2SearcherOptions() s2.Options {
function initS2OptionsForGeoPoints (line 122) | func initS2OptionsForGeoPoints() s2.Options {
type S2SpatialAnalyzerPlugin (line 148) | type S2SpatialAnalyzerPlugin struct
method Type (line 154) | func (s *S2SpatialAnalyzerPlugin) Type() string {
method GetIndexTokens (line 158) | func (s *S2SpatialAnalyzerPlugin) GetIndexTokens(queryShape index.GeoJ...
method GetQueryTokens (line 176) | func (s *S2SpatialAnalyzerPlugin) GetQueryTokens(queryShape index.GeoJ...
type s2Tokenizable (line 199) | type s2Tokenizable interface
type s2TokenizableEx (line 212) | type s2TokenizableEx interface
method Type (line 222) | func (p *Point) Type() string {
method Value (line 226) | func (p *Point) Value() ([]byte, error) {
method Intersects (line 230) | func (p *Point) Intersects(s index.GeoJSON) (bool, error) {
method Contains (line 235) | func (p *Point) Contains(s index.GeoJSON) (bool, error) {
method IndexTokens (line 240) | func (p *Point) IndexTokens(s *S2SpatialAnalyzerPlugin) []string {
method QueryTokens (line 245) | func (p *Point) QueryTokens(s *S2SpatialAnalyzerPlugin) []string {
type boundedRectangle (line 251) | type boundedRectangle struct
method Type (line 264) | func (br *boundedRectangle) Type() string {
method Value (line 269) | func (br *boundedRectangle) Value() ([]byte, error) {
method Intersects (line 273) | func (p *boundedRectangle) Intersects(s index.GeoJSON) (bool, error) {
method Contains (line 278) | func (p *boundedRectangle) Contains(s index.GeoJSON) (bool, error) {
method IndexTokens (line 283) | func (br *boundedRectangle) IndexTokens(s *S2SpatialAnalyzerPlugin) []...
method QueryTokens (line 287) | func (br *boundedRectangle) QueryTokens(s *S2SpatialAnalyzerPlugin) []...
function NewBoundedRectangle (line 258) | func NewBoundedRectangle(minLat, minLon, maxLat,
type boundedPolygon (line 298) | type boundedPolygon struct
method Type (line 306) | func (bp *boundedPolygon) Type() string {
method Value (line 311) | func (bp *boundedPolygon) Value() ([]byte, error) {
method Intersects (line 315) | func (p *boundedPolygon) Intersects(s index.GeoJSON) (bool, error) {
method Contains (line 320) | func (p *boundedPolygon) Contains(s index.GeoJSON) (bool, error) {
method IndexTokens (line 325) | func (bp *boundedPolygon) IndexTokens(s *S2SpatialAnalyzerPlugin) []st...
method QueryTokens (line 329) | func (bp *boundedPolygon) QueryTokens(s *S2SpatialAnalyzerPlugin) []st...
function NewBoundedPolygon (line 302) | func NewBoundedPolygon(coordinates []Point) *boundedPolygon {
type pointDistance (line 346) | type pointDistance struct
method Type (line 352) | func (p *pointDistance) Type() string {
method Value (line 357) | func (p *pointDistance) Value() ([]byte, error) {
method Intersects (line 367) | func (p *pointDistance) Intersects(s index.GeoJSON) (bool, error) {
method Contains (line 372) | func (p *pointDistance) Contains(s index.GeoJSON) (bool, error) {
method IndexTokens (line 377) | func (pd *pointDistance) IndexTokens(s *S2SpatialAnalyzerPlugin) []str...
method QueryTokens (line 381) | func (pd *pointDistance) QueryTokens(s *S2SpatialAnalyzerPlugin) []str...
function NewPointDistance (line 361) | func NewPointDistance(centerLat, centerLon,
function NewGeometryCollection (line 397) | func NewGeometryCollection(coordinates [][][][][]float64,
function NewGeometryCollectionFromShapes (line 410) | func NewGeometryCollectionFromShapes(shapes []*geojson.GeoShape) (
function NewGeoCircleShape (line 419) | func NewGeoCircleShape(cp []float64,
function NewGeoJsonShape (line 424) | func NewGeoJsonShape(coordinates [][][][]float64, typ string) (
function NewGeoJsonPoint (line 429) | func NewGeoJsonPoint(points []float64) index.GeoJSON {
function NewGeoJsonMultiPoint (line 433) | func NewGeoJsonMultiPoint(points [][]float64) index.GeoJSON {
function NewGeoJsonLinestring (line 437) | func NewGeoJsonLinestring(points [][]float64) index.GeoJSON {
function NewGeoJsonMultilinestring (line 441) | func NewGeoJsonMultilinestring(points [][][]float64) index.GeoJSON {
function NewGeoJsonPolygon (line 445) | func NewGeoJsonPolygon(points [][][]float64) index.GeoJSON {
function NewGeoJsonMultiPolygon (line 449) | func NewGeoJsonMultiPolygon(points [][][][]float64) index.GeoJSON {
function NewGeoCircle (line 453) | func NewGeoCircle(points []float64, radius string) index.GeoJSON {
function NewGeoEnvelope (line 457) | func NewGeoEnvelope(points [][]float64) index.GeoJSON {
function ParseGeoJSONShape (line 461) | func ParseGeoJSONShape(input json.RawMessage) (index.GeoJSON, error) {
FILE: geo/geo_test.go
function TestMortonHashMortonUnhash (line 22) | func TestMortonHashMortonUnhash(t *testing.T) {
function TestScaleLonUnscaleLon (line 48) | func TestScaleLonUnscaleLon(t *testing.T) {
function TestScaleLatUnscaleLat (line 67) | func TestScaleLatUnscaleLat(t *testing.T) {
function TestRectFromPointDistance (line 86) | func TestRectFromPointDistance(t *testing.T) {
function TestRectIntersects (line 100) | func TestRectIntersects(t *testing.T) {
function TestRectWithin (line 128) | func TestRectWithin(t *testing.T) {
function TestBoundingBoxContains (line 160) | func TestBoundingBoxContains(t *testing.T) {
FILE: geo/geohash.go
type encoding (line 20) | type encoding struct
function newEncoding (line 27) | func newEncoding(encoder string) *encoding {
function DecodeGeoHash (line 46) | func DecodeGeoHash(geoHash string) (float64, float64) {
function EncodeGeoHash (line 74) | func EncodeGeoHash(lat, lon float64) string {
FILE: geo/geohash_test.go
function TestDecodeGeoHash (line 22) | func TestDecodeGeoHash(t *testing.T) {
function TestEncodeGeoHash (line 47) | func TestEncodeGeoHash(t *testing.T) {
FILE: geo/parse.go
function ExtractGeoPoint (line 50) | func ExtractGeoPoint(thing interface{}) (lon, lat float64, success bool) {
type loner (line 164) | type loner interface
type later (line 168) | type later interface
type lnger (line 172) | type lnger interface
function extractCoordinates (line 182) | func extractCoordinates(thing interface{}) []float64 {
function extract2DCoordinates (line 214) | func extract2DCoordinates(thing interface{}) [][]float64 {
function extract3DCoordinates (line 238) | func extract3DCoordinates(thing interface{}) (c [][][]float64) {
function extract4DCoordinates (line 260) | func extract4DCoordinates(thing interface{}) (rv [][][][]float64) {
function ParseGeoShapeField (line 276) | func ParseGeoShapeField(thing interface{}) (interface{}, string, error) {
function extractGeoShape (line 302) | func extractGeoShape(thing interface{}) (*geojson.GeoShape, bool) {
function ExtractGeometryCollection (line 318) | func ExtractGeometryCollection(thing interface{}) ([]*geojson.GeoShape, ...
function ExtractCircle (line 355) | func ExtractCircle(thing interface{}) (*geojson.GeoShape, bool) {
function ExtractGeoShapeCoordinates (line 391) | func ExtractGeoShapeCoordinates(coordValue interface{},
FILE: geo/parse_test.go
function TestExtractGeoPoint (line 23) | func TestExtractGeoPoint(t *testing.T) {
type s11 (line 180) | type s11 struct
method Lon (line 185) | func (s *s11) Lon() float64 {
method Lat (line 189) | func (s *s11) Lat() float64 {
type s12 (line 193) | type s12 struct
method Lng (line 198) | func (s *s12) Lng() float64 {
method Lat (line 202) | func (s *s12) Lat() float64 {
function TestExtractGeoShape (line 206) | func TestExtractGeoShape(t *testing.T) {
function TestExtractGeoShapeCoordinates (line 380) | func TestExtractGeoShapeCoordinates(t *testing.T) {
FILE: geo/sloppy.go
constant radiusTabsSize (line 24) | radiusTabsSize = (1 << 10) + 1
constant radiusDelta (line 25) | radiusDelta = (math.Pi / 2) / (radiusTabsSize - 1)
constant radiusIndexer (line 26) | radiusIndexer = 1 / radiusDelta
function init (line 29) | func init() {
function earthDiameter (line 53) | func earthDiameter(lat float64) float64 {
FILE: geo/versus_test.go
function TestDecodeGeoHashVersus (line 31) | func TestDecodeGeoHashVersus(t *testing.T) {
function compareLatitude (line 4146) | func compareLatitude(box []float64, v float64) bool {
function compareLogitude (line 4152) | func compareLogitude(box []float64, v float64) bool {
FILE: index.go
type Batch (line 35) | type Batch struct
method Index (line 46) | func (b *Batch) Index(id string, data interface{}) error {
method IndexSynonym (line 67) | func (b *Batch) IndexSynonym(id string, collection string, definition ...
method LastDocSize (line 97) | func (b *Batch) LastDocSize() uint64 {
method TotalDocsSize (line 101) | func (b *Batch) TotalDocsSize() uint64 {
method IndexAdvanced (line 108) | func (b *Batch) IndexAdvanced(doc *document.Document) (err error) {
method Delete (line 119) | func (b *Batch) Delete(id string) {
method SetInternal (line 128) | func (b *Batch) SetInternal(key, val []byte) {
method DeleteInternal (line 135) | func (b *Batch) DeleteInternal(key []byte) {
method Size (line 141) | func (b *Batch) Size() int {
method String (line 147) | func (b *Batch) String() string {
method Reset (line 153) | func (b *Batch) Reset() {
method Merge (line 159) | func (b *Batch) Merge(o *Batch) {
method SetPersistedCallback (line 169) | func (b *Batch) SetPersistedCallback(f index.BatchCallback) {
method PersistedCallback (line 173) | func (b *Batch) PersistedCallback() index.BatchCallback {
type Index (line 242) | type Index interface
function New (line 291) | func New(path string, mapping mapping.IndexMapping) (Index, error) {
function NewMemOnly (line 300) | func NewMemOnly(mapping mapping.IndexMapping) (Index, error) {
function NewUsing (line 314) | func NewUsing(path string, mapping mapping.IndexMapping, indexType strin...
function Open (line 320) | func Open(path string) (Index, error) {
function OpenUsing (line 330) | func OpenUsing(path string, runtimeConfig map[string]interface{}) (Index...
type Builder (line 337) | type Builder interface
function NewBuilder (line 344) | func NewBuilder(path string, mapping mapping.IndexMapping, config map[st...
type IndexCopyable (line 350) | type IndexCopyable interface
type FileSystemDirectory (line 358) | type FileSystemDirectory
type SynonymDefinition (line 363) | type SynonymDefinition struct
method Validate (line 377) | func (sd *SynonymDefinition) Validate() error {
type SynonymIndex (line 386) | type SynonymIndex interface
type InsightsIndex (line 392) | type InsightsIndex interface
FILE: index/scorch/builder.go
constant DefaultBuilderBatchSize (line 28) | DefaultBuilderBatchSize = 1000
constant DefaultBuilderMergeMax (line 29) | DefaultBuilderMergeMax = 10
type Builder (line 31) | type Builder struct
method parseConfig (line 73) | func (o *Builder) parseConfig(config map[string]interface{}) (err erro...
method Index (line 118) | func (o *Builder) Index(doc index.Document) error {
method maybeFlushBatchLOCKED (line 127) | func (o *Builder) maybeFlushBatchLOCKED(moreThan int) error {
method executeBatchLOCKED (line 135) | func (o *Builder) executeBatchLOCKED(batch *index.Batch) (err error) {
method doMerge (line 169) | func (o *Builder) doMerge() error {
method Close (line 238) | func (o *Builder) Close() error {
function NewBuilder (line 44) | func NewBuilder(config map[string]interface{}) (*Builder, error) {
FILE: index/scorch/builder_test.go
function TestBuilder (line 27) | func TestBuilder(t *testing.T) {
function checkIndex (line 65) | func checkIndex(t *testing.T, path string, term []byte, field string, ex...
function TestBuilderFlushFinalBatch (line 123) | func TestBuilderFlushFinalBatch(t *testing.T) {
FILE: index/scorch/empty.go
type emptyPostingsIterator (line 19) | type emptyPostingsIterator struct
method Next (line 21) | func (e *emptyPostingsIterator) Next() (segment.Posting, error) {
method Advance (line 25) | func (e *emptyPostingsIterator) Advance(uint64) (segment.Posting, erro...
method Size (line 29) | func (e *emptyPostingsIterator) Size() int {
method BytesRead (line 33) | func (e *emptyPostingsIterator) BytesRead() uint64 {
method ResetBytesRead (line 37) | func (e *emptyPostingsIterator) ResetBytesRead(uint64) {}
method BytesWritten (line 39) | func (e *emptyPostingsIterator) BytesWritten() uint64 { return 0 }
FILE: index/scorch/event.go
type Event (line 29) | type Event struct
type EventKind (line 36) | type EventKind
constant EventKindCloseStart (line 40) | EventKindCloseStart EventKind = iota
constant EventKindClose (line 43) | EventKindClose
constant EventKindMergerProgress (line 47) | EventKindMergerProgress
constant EventKindPersisterProgress (line 51) | EventKindPersisterProgress
constant EventKindBatchIntroductionStart (line 55) | EventKindBatchIntroductionStart
constant EventKindBatchIntroduction (line 58) | EventKindBatchIntroduction
constant EventKindMergeTaskIntroductionStart (line 62) | EventKindMergeTaskIntroductionStart
constant EventKindMergeTaskIntroduction (line 66) | EventKindMergeTaskIntroduction
constant EventKindPreMergeCheck (line 70) | EventKindPreMergeCheck
constant EventKindIndexStart (line 74) | EventKindIndexStart
constant EventKindPurgerCheck (line 78) | EventKindPurgerCheck
FILE: index/scorch/event_test.go
function TestEventBatchIntroductionStart (line 24) | func TestEventBatchIntroductionStart(t *testing.T) {
FILE: index/scorch/field_dict_test.go
function TestIndexFieldDict (line 25) | func TestIndexFieldDict(t *testing.T) {
FILE: index/scorch/int.go
constant intMin (line 27) | intMin = 0x80
constant intMaxWidth (line 28) | intMaxWidth = 8
constant intZero (line 29) | intZero = intMin + intMaxWidth
constant intSmall (line 30) | intSmall = intMax - intZero - intMaxWidth
constant intMax (line 32) | intMax = 0xfd
function encodeUvarintAscending (line 40) | func encodeUvarintAscending(b []byte, v uint64) []byte {
function decodeUvarintAscending (line 70) | func decodeUvarintAscending(b []byte) ([]byte, uint64, error) {
FILE: index/scorch/int_test.go
type testCaseUint64 (line 28) | type testCaseUint64 struct
function TestEncodeDecodeUvarint (line 33) | func TestEncodeDecodeUvarint(t *testing.T) {
function testBasicEncodeDecodeUint64 (line 46) | func testBasicEncodeDecodeUint64(
function testCustomEncodeUint64 (line 87) | func testCustomEncodeUint64(
FILE: index/scorch/introducer.go
constant introducer (line 27) | introducer = "introducer"
type segmentIntroduction (line 29) | type segmentIntroduction struct
type persistIntroduction (line 42) | type persistIntroduction struct
type epochWatcher (line 47) | type epochWatcher struct
method introducerLoop (line 52) | func (s *Scorch) introducerLoop() {
method introduceSegment (line 109) | func (s *Scorch) introduceSegment(next *segmentIntroduction) error {
method introducePersist (line 264) | func (s *Scorch) introducePersist(persist *persistIntroduction) {
method introduceMerge (line 345) | func (s *Scorch) introduceMerge(nextMerge *segmentMerge) {
function isMemorySegment (line 516) | func isMemorySegment(s *SegmentSnapshot) bool {
FILE: index/scorch/merge.go
constant merger (line 32) | merger = "merger"
method mergerLoop (line 34) | func (s *Scorch) mergerLoop() {
type mergerCtrl (line 173) | type mergerCtrl struct
method ForceMerge (line 181) | func (s *Scorch) ForceMerge(ctx context.Context,
method parseMergePlannerOptions (line 225) | func (s *Scorch) parseMergePlannerOptions() (*mergeplan.MergePlanOptions,
type closeChWrapper (line 258) | type closeChWrapper struct
method close (line 275) | func (w *closeChWrapper) close() {
method listen (line 279) | func (w *closeChWrapper) listen() {
function newCloseChWrapper (line 265) | func newCloseChWrapper(ch1 chan struct{},
method planMergeAtSnapshot (line 289) | func (s *Scorch) planMergeAtSnapshot(ctx context.Context,
type mergeTaskIntroStatus (line 467) | type mergeTaskIntroStatus struct
type mergedSegmentHistory (line 475) | type mergedSegmentHistory struct
type segmentMerge (line 481) | type segmentMerge struct
function cumulateBytesRead (line 490) | func cumulateBytesRead(sbs []segment.Segment) uint64 {
function closeNewMergedSegments (line 498) | func closeNewMergedSegments(segs []segment.Segment) error {
method mergeAndPersistInMemorySegments (line 510) | func (s *Scorch) mergeAndPersistInMemorySegments(snapshot *IndexSnapshot,
method ReportBytesWritten (line 647) | func (s *Scorch) ReportBytesWritten(bytesWritten uint64) {
FILE: index/scorch/merge_test.go
function TestObsoleteSegmentMergeIntroduction (line 26) | func TestObsoleteSegmentMergeIntroduction(t *testing.T) {
FILE: index/scorch/mergeplan/merge_plan.go
type Segment (line 30) | type Segment interface
function Plan (line 51) | func Plan(segments []Segment, o *MergePlanOptions) (*MergePlan, error) {
type MergePlan (line 61) | type MergePlan struct
type MergeTask (line 67) | type MergeTask struct
type MergePlanOptions (line 72) | type MergePlanOptions struct
method RaiseToFloorSegmentSize (line 126) | func (o *MergePlanOptions) RaiseToFloorSegmentSize(s int64) int64 {
method RaiseToFloorSegmentFileSize (line 133) | func (o *MergePlanOptions) RaiseToFloorSegmentFileSize(s int64) int64 {
constant MaxSegmentSizeLimit (line 142) | MaxSegmentSizeLimit = 1<<31 - 1
function plan (line 174) | func plan(segmentsIn []Segment, o *MergePlanOptions) (*MergePlan, error) {
function CalcBudget (line 312) | func CalcBudget(totalSize int64, firstTierSize int64, o *MergePlanOption...
function removeSegments (line 345) | func removeSegments(segments []Segment, toRemove []Segment) []Segment {
function ScoreSegments (line 360) | func ScoreSegments(segments []Segment, o *MergePlanOptions) float64 {
function ToBarChart (line 398) | func ToBarChart(prefix string, barMax int, segments []Segment, plan *Mer...
function ValidateMergePlannerOptions (line 451) | func ValidateMergePlannerOptions(options *MergePlanOptions) error {
FILE: index/scorch/mergeplan/merge_plan_test.go
type segment (line 29) | type segment struct
method Id (line 38) | func (s *segment) Id() uint64 { return s.MyId }
method FullSize (line 39) | func (s *segment) FullSize() int64 { return s.MyFullSize }
method LiveSize (line 40) | func (s *segment) LiveSize() int64 { return s.MyLiveSize }
method HasVector (line 41) | func (s *segment) HasVector() bool { return s.MyHasVector }
method FileSize (line 42) | func (s *segment) FileSize() int64 { return s.MyFileSize }
function makeLinearSegments (line 44) | func makeLinearSegments(n int) (rv []Segment) {
function TestSimplePlan (line 57) | func TestSimplePlan(t *testing.T) {
function TestSort (line 176) | func TestSort(t *testing.T) {
function TestCalcBudget (line 190) | func TestCalcBudget(t *testing.T) {
function TestCalcBudgetForSingleSegmentMergePolicy (line 268) | func TestCalcBudgetForSingleSegmentMergePolicy(t *testing.T) {
function TestInsert1SameSizedSegmentBetweenMerges (line 309) | func TestInsert1SameSizedSegmentBetweenMerges(t *testing.T) {
function TestInsertManySameSizedSegmentsBetweenMerges (line 335) | func TestInsertManySameSizedSegmentsBetweenMerges(t *testing.T) {
function TestInsertManySameSizedSegmentsWithDeletionsBetweenMerges (line 363) | func TestInsertManySameSizedSegmentsWithDeletionsBetweenMerges(t *testin...
function TestInsertManyDifferentSizedSegmentsBetweenMerges (line 401) | func TestInsertManyDifferentSizedSegmentsBetweenMerges(t *testing.T) {
function TestManySameSizedSegmentsWithDeletesBetweenMerges (line 429) | func TestManySameSizedSegmentsWithDeletesBetweenMerges(t *testing.T) {
function TestValidateMergePlannerOptions (line 478) | func TestValidateMergePlannerOptions(t *testing.T) {
function TestPlanMaxSegmentSizeLimit (line 491) | func TestPlanMaxSegmentSizeLimit(t *testing.T) {
type testCyclesSpec (line 534) | type testCyclesSpec struct
method runCycles (line 549) | func (spec *testCyclesSpec) runCycles(t *testing.T) {
function emit (line 610) | func emit(descrip string, cycle int, step int, segments []Segment, plan ...
function TestPlanMaxSegmentFileSize (line 627) | func TestPlanMaxSegmentFileSize(t *testing.T) {
function TestSingleTaskMergePlan (line 723) | func TestSingleTaskMergePlan(t *testing.T) {
FILE: index/scorch/mergeplan/sort.go
type byLiveSizeDescending (line 17) | type byLiveSizeDescending
method Len (line 19) | func (a byLiveSizeDescending) Len() int { return len(a) }
method Swap (line 21) | func (a byLiveSizeDescending) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
method Less (line 23) | func (a byLiveSizeDescending) Less(i, j int) bool {
FILE: index/scorch/optimize.go
method Optimize (line 30) | func (s *IndexSnapshotTermFieldReader) Optimize(kind string,
method optimizeConjunction (line 51) | func (s *IndexSnapshotTermFieldReader) optimizeConjunction(
type OptimizeTFRConjunction (line 71) | type OptimizeTFRConjunction struct
method Finish (line 77) | func (o *OptimizeTFRConjunction) Finish() (index.Optimized, error) {
method optimizeConjunctionUnadorned (line 125) | func (s *IndexSnapshotTermFieldReader) optimizeConjunctionUnadorned(
type OptimizeTFRConjunctionUnadorned (line 145) | type OptimizeTFRConjunctionUnadorned struct
method Finish (line 158) | func (o *OptimizeTFRConjunctionUnadorned) Finish() (rv index.Optimized...
method optimizeDisjunctionUnadorned (line 271) | func (s *IndexSnapshotTermFieldReader) optimizeDisjunctionUnadorned(
type OptimizeTFRDisjunctionUnadorned (line 293) | type OptimizeTFRDisjunctionUnadorned struct
method Finish (line 306) | func (o *OptimizeTFRDisjunctionUnadorned) Finish() (rv index.Optimized...
method unadornedTermFieldReader (line 382) | func (i *IndexSnapshot) unadornedTermFieldReader(
FILE: index/scorch/optimize_knn.go
type OptimizeVR (line 31) | type OptimizeVR struct
method invokeSearcherEndCallback (line 42) | func (o *OptimizeVR) invokeSearcherEndCallback() {
method Finish (line 57) | func (o *OptimizeVR) Finish() error {
method VectorOptimize (line 142) | func (s *IndexSnapshotVectorReader) VectorOptimize(ctx context.Context,
FILE: index/scorch/persister.go
constant persister (line 41) | persister = "persister"
type persisterOptions (line 67) | type persisterOptions struct
type notificationChan (line 95) | type notificationChan
method persisterLoop (line 97) | func (s *Scorch) persisterLoop() {
function notifyMergeWatchers (line 264) | func notifyMergeWatchers(lastPersistedEpoch uint64,
method pausePersisterForMergerCatchUp (line 278) | func (s *Scorch) pausePersisterForMergerCatchUp(lastPersistedEpoch uint64,
method parsePersisterOptions (line 346) | func (s *Scorch) parsePersisterOptions() (*persisterOptions, error) {
method persistSnapshot (line 368) | func (s *Scorch) persistSnapshot(snapshot *IndexSnapshot,
type flushable (line 393) | type flushable struct
function legacyFlushBehaviour (line 408) | func legacyFlushBehaviour(maxSizeInMemoryMergePerWorker, numPersisterWor...
method persistSnapshotMaybeMerge (line 416) | func (s *Scorch) persistSnapshotMaybeMerge(snapshot *IndexSnapshot, po *...
function copyToDirectory (line 568) | func copyToDirectory(srcPath string, d index.Directory) (int64, error) {
function persistToDirectory (line 596) | func persistToDirectory(seg segment.UnpersistedSegment, d index.Directory,
function prepareBoltSnapshot (line 619) | func prepareBoltSnapshot(snapshot *IndexSnapshot, tx *bolt.Tx, path string,
method persistSnapshotDirect (line 769) | func (s *Scorch) persistSnapshotDirect(snapshot *IndexSnapshot, exclude ...
function zapFileName (line 852) | func zapFileName(epoch uint64) string {
method loadFromBolt (line 858) | func (s *Scorch) loadFromBolt() error {
method LoadSnapshot (line 923) | func (s *Scorch) LoadSnapshot(epoch uint64) (rv *IndexSnapshot, err erro...
method loadSnapshot (line 943) | func (s *Scorch) loadSnapshot(snapshot *bolt.Bucket) (*IndexSnapshot, er...
method loadSegment (line 1013) | func (s *Scorch) loadSegment(segmentBucket *bolt.Bucket) (*SegmentSnapsh...
method removeOldData (line 1071) | func (s *Scorch) removeOldData() {
function getTimeSeriesSnapshots (line 1114) | func getTimeSeriesSnapshots(maxDataPoints int, interval time.Duration,
function getProtectedSnapshots (line 1161) | func getProtectedSnapshots(rollbackSamplingInterval time.Duration,
function newCheckPoints (line 1181) | func newCheckPoints(snapshots map[uint64]time.Time) []*snapshotMetaData {
method removeOldBoltSnapshots (line 1205) | func (s *Scorch) removeOldBoltSnapshots() (numRemoved int, err error) {
method maxSegmentIDOnDisk (line 1272) | func (s *Scorch) maxSegmentIDOnDisk() (uint64, error) {
method removeOldZapFiles (line 1296) | func (s *Scorch) removeOldZapFiles() error {
function getBoundaryCheckPoint (line 1333) | func getBoundaryCheckPoint(retentionFactor float64,
type snapshotMetaData (line 1349) | type snapshotMetaData struct
method rootBoltSnapshotMetaData (line 1354) | func (s *Scorch) rootBoltSnapshotMetaData() ([]*snapshotMetaData, error) {
method RootBoltSnapshotEpochs (line 1425) | func (s *Scorch) RootBoltSnapshotEpochs() ([]uint64, error) {
method loadZapFileNames (line 1446) | func (s *Scorch) loadZapFileNames() (map[string]struct{}, error) {
FILE: index/scorch/reader_test.go
function TestIndexReader (line 27) | func TestIndexReader(t *testing.T) {
function TestIndexDocIdReader (line 221) | func TestIndexDocIdReader(t *testing.T) {
function TestIndexDocIdOnlyReader (line 344) | func TestIndexDocIdOnlyReader(t *testing.T) {
function TestSegmentIndexAndLocalDocNumFromGlobal (line 590) | func TestSegmentIndexAndLocalDocNumFromGlobal(t *testing.T) {
FILE: index/scorch/regexp.go
function parseRegexp (line 23) | func parseRegexp(pattern string) (a *regexp.Regexp, prefixBeg, prefixEnd...
function literalPrefix (line 47) | func literalPrefix(s *syntax.Regexp) string {
FILE: index/scorch/regexp_test.go
function TestLiteralPrefix (line 22) | func TestLiteralPrefix(t *testing.T) {
FILE: index/scorch/rollback.go
type RollbackPoint (line 26) | type RollbackPoint struct
method GetInternal (line 31) | func (r *RollbackPoint) GetInternal(key []byte) []byte {
function RollbackPoints (line 38) | func RollbackPoints(path string) ([]*RollbackPoint, error) {
function Rollback (line 127) | func Rollback(path string, to *RollbackPoint) error {
FILE: index/scorch/rollback_test.go
function TestIndexRollback (line 29) | func TestIndexRollback(t *testing.T) {
function TestGetProtectedSnapshots (line 255) | func TestGetProtectedSnapshots(t *testing.T) {
function indexDummyData (line 358) | func indexDummyData(t *testing.T, scorchi *Scorch, i int) {
type testFSDirector (line 374) | type testFSDirector
method GetWriter (line 376) | func (f testFSDirector) GetWriter(filePath string) (io.WriteCloser,
function TestLatestSnapshotProtected (line 390) | func TestLatestSnapshotProtected(t *testing.T) {
function TestBackupRacingWithPurge (line 470) | func TestBackupRacingWithPurge(t *testing.T) {
function TestSparseMutationCheckpointing (line 554) | func TestSparseMutationCheckpointing(t *testing.T) {
FILE: index/scorch/scorch.go
constant Name (line 34) | Name = "scorch"
constant Version (line 36) | Version uint8 = 2
type Scorch (line 40) | type Scorch struct
method NumEventsBlocking (line 230) | func (s *Scorch) NumEventsBlocking() uint64 {
method fireEvent (line 236) | func (s *Scorch) fireEvent(kind EventKind, dur time.Duration) bool {
method fireAsyncError (line 246) | func (s *Scorch) fireAsyncError(err error) {
method Open (line 253) | func (s *Scorch) Open() error {
method openBolt (line 274) | func (s *Scorch) openBolt() error {
method Close (line 387) | func (s *Scorch) Close() (err error) {
method Update (line 417) | func (s *Scorch) Update(doc index.Document) error {
method Delete (line 423) | func (s *Scorch) Delete(id string) error {
method Batch (line 430) | func (s *Scorch) Batch(batch *index.Batch) (err error) {
method prepareSegment (line 537) | func (s *Scorch) prepareSegment(newSegment segment.Segment, ids []string,
method SetInternal (line 596) | func (s *Scorch) SetInternal(key, val []byte) error {
method DeleteInternal (line 602) | func (s *Scorch) DeleteInternal(key []byte) error {
method Reader (line 610) | func (s *Scorch) Reader() (index.IndexReader, error) {
method currentSnapshot (line 614) | func (s *Scorch) currentSnapshot() *IndexSnapshot {
method Stats (line 624) | func (s *Scorch) Stats() json.Marshaler {
method BytesReadQueryTime (line 628) | func (s *Scorch) BytesReadQueryTime() uint64 {
method diskFileStats (line 632) | func (s *Scorch) diskFileStats(rootSegmentPaths map[string]struct{}) (...
method StatsMap (line 663) | func (s *Scorch) StatsMap() map[string]interface{} {
method Analyze (line 749) | func (s *Scorch) Analyze(d index.Document) {
method setSpatialAnalyzerPlugin (line 755) | func (s *Scorch) setSpatialAnalyzerPlugin(f index.Field) {
method AddEligibleForRemoval (line 812) | func (s *Scorch) AddEligibleForRemoval(epoch uint64) {
method MemoryUsed (line 820) | func (s *Scorch) MemoryUsed() (memUsed uint64) {
method markIneligibleForRemoval (line 860) | func (s *Scorch) markIneligibleForRemoval(filename string) {
method unmarkIneligibleForRemoval (line 866) | func (s *Scorch) unmarkIneligibleForRemoval(filename string) {
method CopyReader (line 954) | func (s *Scorch) CopyReader() index.CopyReader {
method FireIndexEvent (line 983) | func (s *Scorch) FireIndexEvent() {
method UpdateFields (line 990) | func (s *Scorch) UpdateFields(fieldInfo map[string]*index.UpdateFieldI...
method OpenMeta (line 1000) | func (s *Scorch) OpenMeta() error {
method updateBolt (line 1012) | func (s *Scorch) updateBolt(fieldInfo map[string]*index.UpdateFieldInf...
type ScorchErrorType (line 92) | type ScorchErrorType
method Error (line 94) | func (t ScorchErrorType) Error() string {
constant ErrAsyncPanic (line 100) | ErrAsyncPanic = ScorchErrorType("async panic error")
constant ErrPersist (line 101) | ErrPersist = ScorchErrorType("persist error")
constant ErrCleanup (line 102) | ErrCleanup = ScorchErrorType("cleanup error")
constant ErrOptionsParse (line 103) | ErrOptionsParse = ScorchErrorType("options parse error")
type ScorchError (line 108) | type ScorchError struct
method Error (line 114) | func (e *ScorchError) Error() string {
method Unwrap (line 121) | func (e *ScorchError) Unwrap() error {
function NewScorchError (line 125) | func NewScorchError(source, errMsg string, errType ScorchErrorType) error {
type internalStats (line 133) | type internalStats struct
function NewScorch (line 144) | func NewScorch(storeName string,
function configForceSegmentTypeVersion (line 215) | func configForceSegmentTypeVersion(config map[string]interface{}) (strin...
type customAnalyzerPluginInitFunc (line 753) | type customAnalyzerPluginInitFunc
function analyze (line 766) | func analyze(d index.Document, fn customAnalyzerPluginInitFunc) {
function init (line 872) | func init() {
function parseToTimeDuration (line 879) | func parseToTimeDuration(i interface{}) (time.Duration, error) {
function parseToInteger (line 889) | func parseToInteger(i interface{}) (int, error) {
type fieldStats (line 902) | type fieldStats struct
method Store (line 908) | func (fs *fieldStats) Store(statName, fieldName string, value uint64) {
method Aggregate (line 916) | func (fs *fieldStats) Aggregate(stats segment.FieldStats) {
method Fetch (line 935) | func (fs *fieldStats) Fetch() map[string]map[string]uint64 {
function newFieldStats (line 944) | func newFieldStats() *fieldStats {
FILE: index/scorch/scorch_test.go
function init (line 43) | func init() {
function InitTest (line 48) | func InitTest(cfg map[string]interface{}) error {
function DestroyTest (line 52) | func DestroyTest(cfg map[string]interface{}) error {
function CreateConfig (line 56) | func CreateConfig(name string) map[string]interface{} {
function TestIndexOpenReopen (line 67) | func TestIndexOpenReopen(t *testing.T) {
function TestIndexOpenReopenWithInsert (line 171) | func TestIndexOpenReopenWithInsert(t *testing.T) {
function TestIndexInsert (line 281) | func TestIndexInsert(t *testing.T) {
function TestIndexInsertThenDelete (line 352) | func TestIndexInsertThenDelete(t *testing.T) {
function TestIndexInsertThenUpdate (line 568) | func TestIndexInsertThenUpdate(t *testing.T) {
function TestIndexInsertMultiple (line 640) | func TestIndexInsertMultiple(t *testing.T) {
function TestIndexInsertWithStore (line 712) | func TestIndexInsertWithStore(t *testing.T) {
function TestIndexInternalCRUD (line 818) | func TestIndexInternalCRUD(t *testing.T) {
function TestIndexBatch (line 929) | func TestIndexBatch(t *testing.T) {
function TestIndexBatchWithCallbacks (line 1052) | func TestIndexBatchWithCallbacks(t *testing.T) {
function TestIndexInsertUpdateDeleteWithMultipleTypesStored (line 1098) | func TestIndexInsertUpdateDeleteWithMultipleTypesStored(t *testing.T) {
function TestIndexInsertFields (line 1326) | func TestIndexInsertFields(t *testing.T) {
function TestIndexUpdateComposites (line 1399) | func TestIndexUpdateComposites(t *testing.T) {
function TestIndexTermReaderCompositeFields (line 1482) | func TestIndexTermReaderCompositeFields(t *testing.T) {
function TestIndexDocValueReader (line 1557) | func TestIndexDocValueReader(t *testing.T) {
function TestDocValueReaderConcurrent (line 1632) | func TestDocValueReaderConcurrent(t *testing.T) {
function TestConcurrentUpdate (line 1726) | func TestConcurrentUpdate(t *testing.T) {
function TestLargeField (line 1795) | func TestLargeField(t *testing.T) {
function TestIndexDocValueReaderWithMultipleDocs (line 1862) | func TestIndexDocValueReaderWithMultipleDocs(t *testing.T) {
function TestIndexDocValueReaderWithMultipleFieldOptions (line 2042) | func TestIndexDocValueReaderWithMultipleFieldOptions(t *testing.T) {
function TestAllFieldWithDifferentTermVectorsEnabled (line 2121) | func TestAllFieldWithDifferentTermVectorsEnabled(t *testing.T) {
function TestForceVersion (line 2187) | func TestForceVersion(t *testing.T) {
function TestIndexForceMerge (line 2216) | func TestIndexForceMerge(t *testing.T) {
function TestCancelIndexForceMerge (line 2335) | func TestCancelIndexForceMerge(t *testing.T) {
function TestIndexSeekBackwardsStats (line 2453) | func TestIndexSeekBackwardsStats(t *testing.T) {
type fieldTerms (line 2538) | type fieldTerms
method FieldsNotYetCached (line 2541) | func (f fieldTerms) FieldsNotYetCached(fields []string) []string {
method Merge (line 2554) | func (f fieldTerms) Merge(other fieldTerms) {
function TestOpenBoltTimeout (line 2560) | func TestOpenBoltTimeout(t *testing.T) {
function TestReadOnlyIndex (line 2600) | func TestReadOnlyIndex(t *testing.T) {
function BenchmarkAggregateFieldStats (line 2691) | func BenchmarkAggregateFieldStats(b *testing.B) {
function TestPersistorMergerOptions (line 2711) | func TestPersistorMergerOptions(t *testing.T) {
FILE: index/scorch/segment_plugin.go
type SegmentPlugin (line 36) | type SegmentPlugin interface
function init (line 83) | func init() {
function ResetSegmentPlugins (line 94) | func ResetSegmentPlugins() {
function RegisterSegmentPlugin (line 98) | func RegisterSegmentPlugin(plugin SegmentPlugin, makeDefault bool) {
function SupportedSegmentTypes (line 108) | func SupportedSegmentTypes() (rv []string) {
function SupportedSegmentTypeVersions (line 115) | func SupportedSegmentTypeVersions(typ string) (rv []uint32) {
function chooseSegmentPlugin (line 122) | func chooseSegmentPlugin(forcedSegmentType string,
method loadSegmentPlugin (line 137) | func (s *Scorch) loadSegmentPlugin(forcedSegmentType string,
method loadSpatialAnalyzerPlugin (line 148) | func (s *Scorch) loadSpatialAnalyzerPlugin(typ string) error {
FILE: index/scorch/snapshot_index.go
type asynchSegmentResult (line 40) | type asynchSegmentResult struct
function init (line 54) | func init() {
type IndexSnapshot (line 68) | type IndexSnapshot struct
method Segments (line 94) | func (i *IndexSnapshot) Segments() []*SegmentSnapshot {
method Internal (line 98) | func (i *IndexSnapshot) Internal() map[string][]byte {
method AddRef (line 102) | func (i *IndexSnapshot) AddRef() {
method DecRef (line 108) | func (i *IndexSnapshot) DecRef() (err error) {
method Close (line 128) | func (i *IndexSnapshot) Close() error {
method Size (line 132) | func (i *IndexSnapshot) Size() int {
method updateSize (line 136) | func (i *IndexSnapshot) updateSize() {
method newIndexSnapshotFieldDict (line 143) | func (is *IndexSnapshot) newIndexSnapshotFieldDict(field string,
method FieldCardinality (line 213) | func (is *IndexSnapshot) FieldCardinality(field string) (rv int, err e...
method FieldDict (line 240) | func (is *IndexSnapshot) FieldDict(field string) (index.FieldDict, err...
method FieldDictRange (line 267) | func (is *IndexSnapshot) FieldDictRange(field string, startTerm []byte,
method FieldDictPrefix (line 297) | func (is *IndexSnapshot) FieldDictPrefix(field string,
method FieldDictRegexp (line 306) | func (is *IndexSnapshot) FieldDictRegexp(field string,
method FieldDictRegexpAutomaton (line 313) | func (is *IndexSnapshot) FieldDictRegexpAutomaton(field string,
method fieldDictRegexp (line 319) | func (is *IndexSnapshot) fieldDictRegexp(field string,
method getLevAutomaton (line 339) | func (is *IndexSnapshot) getLevAutomaton(term string,
method FieldDictFuzzy (line 351) | func (is *IndexSnapshot) FieldDictFuzzy(field string,
method FieldDictFuzzyAutomaton (line 358) | func (is *IndexSnapshot) FieldDictFuzzyAutomaton(field string,
method fieldDictFuzzy (line 364) | func (is *IndexSnapshot) fieldDictFuzzy(field string,
method FieldDictContains (line 389) | func (is *IndexSnapshot) FieldDictContains(field string) (index.FieldD...
method DocIDReaderAll (line 393) | func (is *IndexSnapshot) DocIDReaderAll() (index.DocIDReader, error) {
method DocIDReaderOnly (line 407) | func (is *IndexSnapshot) DocIDReaderOnly(ids []string) (index.DocIDRea...
method newDocIDReader (line 426) | func (is *IndexSnapshot) newDocIDReader(results chan *asynchSegmentRes...
method Fields (line 451) | func (is *IndexSnapshot) Fields() ([]string, error) {
method GetInternal (line 468) | func (is *IndexSnapshot) GetInternal(key []byte) ([]byte, error) {
method DocCount (line 472) | func (is *IndexSnapshot) DocCount() (uint64, error) {
method Document (line 480) | func (is *IndexSnapshot) Document(id string) (rv index.Document, err e...
method segmentIndexAndLocalDocNumFromGlobal (line 562) | func (is *IndexSnapshot) segmentIndexAndLocalDocNumFromGlobal(docNum u...
method ExternalID (line 571) | func (is *IndexSnapshot) ExternalID(id index.IndexInternalID) (string,...
method segmentIndexAndLocalDocNum (line 589) | func (is *IndexSnapshot) segmentIndexAndLocalDocNum(id index.IndexInte...
method InternalID (line 598) | func (is *IndexSnapshot) InternalID(id string) (rv index.IndexInternal...
method TermFieldReader (line 618) | func (is *IndexSnapshot) TermFieldReader(ctx context.Context, term []b...
method allocTermFieldReaderDicts (line 707) | func (is *IndexSnapshot) allocTermFieldReaderDicts(field string) (tfr ...
method getFieldTFRCacheThreshold (line 735) | func (is *IndexSnapshot) getFieldTFRCacheThreshold() int {
method recycleTermFieldReader (line 751) | func (is *IndexSnapshot) recycleTermFieldReader(tfr *IndexSnapshotTerm...
method documentVisitFieldTermsOnSegment (line 779) | func (is *IndexSnapshot) documentVisitFieldTermsOnSegment(
method DocValueReader (line 858) | func (is *IndexSnapshot) DocValueReader(fields []string) (
method DumpAll (line 909) | func (is *IndexSnapshot) DumpAll() chan interface{} {
method DumpDoc (line 917) | func (is *IndexSnapshot) DumpDoc(id string) chan interface{} {
method DumpFields (line 925) | func (is *IndexSnapshot) DumpFields() chan interface{} {
method diskSegmentsPaths (line 933) | func (is *IndexSnapshot) diskSegmentsPaths() map[string]struct{} {
method reClaimableDocsRatio (line 945) | func (is *IndexSnapshot) reClaimableDocsRatio() float64 {
method CopyTo (line 979) | func (is *IndexSnapshot) CopyTo(d index.Directory) error {
method UpdateIOStats (line 1022) | func (is *IndexSnapshot) UpdateIOStats(val uint64) {
method GetSpatialAnalyzerPlugin (line 1026) | func (is *IndexSnapshot) GetSpatialAnalyzerPlugin(typ string) (
method CloseCopyReader (line 1040) | func (is *IndexSnapshot) CloseCopyReader() error {
method ThesaurusTermReader (line 1063) | func (is *IndexSnapshot) ThesaurusTermReader(ctx context.Context, thes...
method newIndexSnapshotThesaurusKeys (line 1092) | func (is *IndexSnapshot) newIndexSnapshotThesaurusKeys(name string,
method ThesaurusKeys (line 1146) | func (is *IndexSnapshot) ThesaurusKeys(name string) (index.ThesaurusKe...
method ThesaurusKeysFuzzy (line 1152) | func (is *IndexSnapshot) ThesaurusKeysFuzzy(name string,
method ThesaurusKeysPrefix (line 1169) | func (is *IndexSnapshot) ThesaurusKeysPrefix(name string,
method ThesaurusKeysRegexp (line 1178) | func (is *IndexSnapshot) ThesaurusKeysRegexp(name string,
method UpdateSynonymSearchCount (line 1190) | func (is *IndexSnapshot) UpdateSynonymSearchCount(delta uint64) {
method UpdateFieldsInfo (line 1195) | func (is *IndexSnapshot) UpdateFieldsInfo(updatedFields map[string]*in...
method MergeUpdateFieldsInfo (line 1207) | func (is *IndexSnapshot) MergeUpdateFieldsInfo(updatedFields map[strin...
method TermFrequencies (line 1226) | func (is *IndexSnapshot) TermFrequencies(field string, limit int, desc...
method Ancestors (line 1284) | func (i *IndexSnapshot) Ancestors(ID index.IndexInternalID, prealloc [...
function calculateExclusiveEndFromInclusiveEnd (line 250) | func calculateExclusiveEndFromInclusiveEnd(inclusiveEnd []byte) []byte {
function calculateExclusiveEndFromPrefix (line 280) | func calculateExclusiveEndFromPrefix(in []byte) []byte {
type DocValueReader (line 864) | type DocValueReader struct
method BytesRead (line 876) | func (dvr *DocValueReader) BytesRead() uint64 {
method VisitDocValues (line 880) | func (dvr *DocValueReader) VisitDocValues(id index.IndexInternalID,
function subtractStrings (line 961) | func subtractStrings(a, b []string) []string {
FILE: index/scorch/snapshot_index_dict.go
type segmentDictCursor (line 24) | type segmentDictCursor struct
type IndexSnapshotFieldDict (line 30) | type IndexSnapshotFieldDict struct
method BytesRead (line 39) | func (i *IndexSnapshotFieldDict) BytesRead() uint64 {
method Len (line 43) | func (i *IndexSnapshotFieldDict) Len() int { return len(i.cursors) }
method Less (line 44) | func (i *IndexSnapshotFieldDict) Less(a, b int) bool {
method Swap (line 47) | func (i *IndexSnapshotFieldDict) Swap(a, b int) {
method Push (line 51) | func (i *IndexSnapshotFieldDict) Push(x interface{}) {
method Pop (line 55) | func (i *IndexSnapshotFieldDict) Pop() interface{} {
method Next (line 62) | func (i *IndexSnapshotFieldDict) Next() (*index.DictEntry, error) {
method Cardinality (line 99) | func (i *IndexSnapshotFieldDict) Cardinality() int {
method Close (line 103) | func (i *IndexSnapshotFieldDict) Close() error {
method Contains (line 107) | func (i *IndexSnapshotFieldDict) Contains(key []byte) (bool, error) {
FILE: index/scorch/snapshot_index_doc.go
function init (line 27) | func init() {
type IndexSnapshotDocIDReader (line 32) | type IndexSnapshotDocIDReader struct
method Size (line 38) | func (i *IndexSnapshotDocIDReader) Size() int {
method Next (line 42) | func (i *IndexSnapshotDocIDReader) Next() (index.IndexInternalID, erro...
method Advance (line 56) | func (i *IndexSnapshotDocIDReader) Advance(ID index.IndexInternalID) (...
method Close (line 77) | func (i *IndexSnapshotDocIDReader) Close() error {
FILE: index/scorch/snapshot_index_str.go
function init (line 26) | func init() {
type IndexSnapshotThesaurusTermReader (line 31) | type IndexSnapshotThesaurusTermReader struct
method Size (line 40) | func (i *IndexSnapshotThesaurusTermReader) Size() int {
method Next (line 59) | func (i *IndexSnapshotThesaurusTermReader) Next() (string, error) {
method Close (line 77) | func (i *IndexSnapshotThesaurusTermReader) Close() error {
FILE: index/scorch/snapshot_index_test.go
function TestIndexSnapshot_getLevAutomaton (line 9) | func TestIndexSnapshot_getLevAutomaton(t *testing.T) {
FILE: index/scorch/snapshot_index_tfr.go
function init (line 31) | func init() {
type IndexSnapshotTermFieldReader (line 36) | type IndexSnapshotTermFieldReader struct
method incrementBytesRead (line 59) | func (i *IndexSnapshotTermFieldReader) incrementBytesRead(val uint64) {
method Size (line 63) | func (i *IndexSnapshotTermFieldReader) Size() int {
method Next (line 84) | func (i *IndexSnapshotTermFieldReader) Next(preAlloced *index.TermFiel...
method postingToTermFieldDoc (line 127) | func (i *IndexSnapshotTermFieldReader) postingToTermFieldDoc(next segm...
method Advance (line 156) | func (i *IndexSnapshotTermFieldReader) Advance(ID index.IndexInternalI...
method Count (line 217) | func (i *IndexSnapshotTermFieldReader) Count() uint64 {
method Close (line 225) | func (i *IndexSnapshotTermFieldReader) Close() error {
FILE: index/scorch/snapshot_index_thes.go
type segmentThesCursor (line 24) | type segmentThesCursor struct
type IndexSnapshotThesaurusKeys (line 30) | type IndexSnapshotThesaurusKeys struct
method Len (line 36) | func (i *IndexSnapshotThesaurusKeys) Len() int { return len(i.cursors) }
method Less (line 37) | func (i *IndexSnapshotThesaurusKeys) Less(a, b int) bool {
method Swap (line 40) | func (i *IndexSnapshotThesaurusKeys) Swap(a, b int) {
method Push (line 44) | func (i *IndexSnapshotThesaurusKeys) Push(x interface{}) {
method Pop (line 48) | func (i *IndexSnapshotThesaurusKeys) Pop() interface{} {
method Next (line 55) | func (i *IndexSnapshotThesaurusKeys) Next() (*index.ThesaurusEntry, er...
method Close (line 91) | func (i *IndexSnapshotThesaurusKeys) Close() error {
method Contains (line 95) | func (i *IndexSnapshotThesaurusKeys) Contains(key []byte) (bool, error) {
FILE: index/scorch/snapshot_index_vr.go
constant VectorSearchSupportedSegmentVersion (line 32) | VectorSearchSupportedSegmentVersion = 16
function init (line 36) | func init() {
type IndexSnapshotVectorReader (line 41) | type IndexSnapshotVectorReader struct
method Size (line 57) | func (i *IndexSnapshotVectorReader) Size() int {
method Next (line 78) | func (i *IndexSnapshotVectorReader) Next(preAlloced *index.VectorDoc) (
method Advance (line 112) | func (i *IndexSnapshotVectorReader) Advance(ID index.IndexInternalID,
method Count (line 158) | func (i *IndexSnapshotVectorReader) Count() uint64 {
method Close (line 166) | func (i *IndexSnapshotVectorReader) Close() error {
method CentroidCardinalities (line 171) | func (i *IndexSnapshot) CentroidCardinalities(field string, limit int, d...
FILE: index/scorch/snapshot_segment.go
type SegmentSnapshot (line 29) | type SegmentSnapshot struct
method Segment (line 47) | func (s *SegmentSnapshot) Segment() segment.Segment {
method Deleted (line 51) | func (s *SegmentSnapshot) Deleted() *roaring.Bitmap {
method Id (line 55) | func (s *SegmentSnapshot) Id() uint64 {
method FullSize (line 59) | func (s *SegmentSnapshot) FullSize() int64 {
method LiveSize (line 63) | func (s *SegmentSnapshot) LiveSize() int64 {
method HasVector (line 67) | func (s *SegmentSnapshot) HasVector() bool {
method FileSize (line 73) | func (s *SegmentSnapshot) FileSize() int64 {
method Close (line 92) | func (s *SegmentSnapshot) Close() error {
method VisitDocument (line 96) | func (s *SegmentSnapshot) VisitDocument(num uint64, visitor segment.St...
method DocID (line 100) | func (s *SegmentSnapshot) DocID(num uint64) ([]byte, error) {
method Count (line 104) | func (s *SegmentSnapshot) Count() uint64 {
method CountRoot (line 115) | func (s *SegmentSnapshot) CountRoot() uint64 {
method DocNumbers (line 125) | func (s *SegmentSnapshot) DocNumbers(docIDs []string) (*roaring.Bitmap...
method DocNumbersLive (line 137) | func (s *SegmentSnapshot) DocNumbersLive() *roaring.Bitmap {
method Fields (line 146) | func (s *SegmentSnapshot) Fields() []string {
method Size (line 150) | func (s *SegmentSnapshot) Size() (rv int) {
method UpdateFieldsInfo (line 160) | func (s *SegmentSnapshot) UpdateFieldsInfo(updatedFields map[string]*i...
method Ancestors (line 374) | func (s *SegmentSnapshot) Ancestors(docNum uint64, prealloc []index.An...
type cachedFieldDocs (line 181) | type cachedFieldDocs struct
method Size (line 189) | func (cfd *cachedFieldDocs) Size() int {
method prepareField (line 199) | func (cfd *cachedFieldDocs) prepareField(field string, ss *SegmentSnap...
type cachedDocs (line 251) | type cachedDocs struct
method prepareFields (line 257) | func (c *cachedDocs) prepareFields(wantedFields []string, ss *SegmentS...
method hasFields (line 294) | func (c *cachedDocs) hasFields(fields []string) bool {
method Size (line 306) | func (c *cachedDocs) Size() int {
method updateSizeLOCKED (line 310) | func (c *cachedDocs) updateSizeLOCKED() {
method visitDoc (line 321) | func (c *cachedDocs) visitDoc(localDocNum uint64,
type cachedMeta (line 353) | type cachedMeta struct
method updateMeta (line 358) | func (c *cachedMeta) updateMeta(field string, val interface{}) {
method fetchMeta (line 367) | func (c *cachedMeta) fetchMeta(field string) (rv interface{}) {
FILE: index/scorch/snapshot_vector_index.go
method VectorReader (line 30) | func (is *IndexSnapshot) VectorReader(ctx context.Context, vector []floa...
type eligibleDocumentList (line 50) | type eligibleDocumentList struct
method Iterator (line 55) | func (edl *eligibleDocumentList) Iterator() index.EligibleDocumentIter...
method Count (line 67) | func (edl *eligibleDocumentList) Count() uint64 {
type eligibleDocumentIterator (line 78) | type eligibleDocumentIterator struct
method Next (line 84) | func (it *eligibleDocumentIterator) Next() (id uint64, ok bool) {
type emptyEligibleDocumentIterator (line 97) | type emptyEligibleDocumentIterator struct
method Next (line 100) | func (it *emptyEligibleDocumentIterator) Next() (id uint64, ok bool) {
type eligibleDocumentSelector (line 106) | type eligibleDocumentSelector struct
method SegmentEligibleDocuments (line 113) | func (eds *eligibleDocumentSelector) SegmentEligibleDocuments(segmentI...
method AddEligibleDocumentMatch (line 128) | func (eds *eligibleDocumentSelector) AddEligibleDocumentMatch(id index...
method NewEligibleDocumentSelector (line 147) | func (is *IndexSnapshot) NewEligibleDocumentSelector() index.EligibleDoc...
FILE: index/scorch/stats.go
type Stats (line 28) | type Stats struct
method ToMap (line 142) | func (s *Stats) ToMap() map[string]interface{} {
method MarshalJSON (line 158) | func (s *Stats) MarshalJSON() ([]byte, error) {
FILE: index/scorch/unadorned.go
function init (line 29) | func init() {
type unadornedPostingsIteratorBitmap (line 38) | type unadornedPostingsIteratorBitmap struct
method Next (line 44) | func (i *unadornedPostingsIteratorBitmap) Next() (segment.Posting, err...
method Advance (line 48) | func (i *unadornedPostingsIteratorBitmap) Advance(docNum uint64) (segm...
method nextAtOrAfter (line 52) | func (i *unadornedPostingsIteratorBitmap) nextAtOrAfter(atOrAfter uint...
method nextDocNumAtOrAfter (line 63) | func (i *unadornedPostingsIteratorBitmap) nextDocNumAtOrAfter(atOrAfte...
method Size (line 76) | func (i *unadornedPostingsIteratorBitmap) Size() int {
method BytesRead (line 80) | func (i *unadornedPostingsIteratorBitmap) BytesRead() uint64 {
method BytesWritten (line 84) | func (i *unadornedPostingsIteratorBitmap) BytesWritten() uint64 {
method ResetBytesRead (line 88) | func (i *unadornedPostingsIteratorBitmap) ResetBytesRead(uint64) {}
method ActualBitmap (line 90) | func (i *unadornedPostingsIteratorBitmap) ActualBitmap() *roaring.Bitm...
method DocNum1Hit (line 94) | func (i *unadornedPostingsIteratorBitmap) DocNum1Hit() (uint64, bool) {
method ReplaceActual (line 98) | func (i *unadornedPostingsIteratorBitmap) ReplaceActual(actual *roarin...
method ResetIterator (line 105) | func (i *unadornedPostingsIteratorBitmap) ResetIterator() {
function newUnadornedPostingsIteratorFromBitmap (line 109) | func newUnadornedPostingsIteratorFromBitmap(bm *roaring.Bitmap) segment....
constant docNum1HitFinished (line 116) | docNum1HitFinished = math.MaxUint64
type unadornedPostingsIterator1Hit (line 118) | type unadornedPostingsIterator1Hit struct
method Next (line 124) | func (i *unadornedPostingsIterator1Hit) Next() (segment.Posting, error) {
method Advance (line 128) | func (i *unadornedPostingsIterator1Hit) Advance(docNum uint64) (segmen...
method nextAtOrAfter (line 132) | func (i *unadornedPostingsIterator1Hit) nextAtOrAfter(atOrAfter uint64...
method nextDocNumAtOrAfter (line 143) | func (i *unadornedPostingsIterator1Hit) nextDocNumAtOrAfter(atOrAfter ...
method Size (line 157) | func (i *unadornedPostingsIterator1Hit) Size() int {
method BytesRead (line 161) | func (i *unadornedPostingsIterator1Hit) BytesRead() uint64 {
method BytesWritten (line 165) | func (i *unadornedPostingsIterator1Hit) BytesWritten() uint64 {
method ResetBytesRead (line 169) | func (i *unadornedPostingsIterator1Hit) ResetBytesRead(uint64) {}
method ResetIterator (line 172) | func (i *unadornedPostingsIterator1Hit) ResetIterator() {
function newUnadornedPostingsIteratorFrom1Hit (line 176) | func newUnadornedPostingsIteratorFrom1Hit(docNum1Hit uint64) segment.Pos...
type ResetablePostingsIterator (line 183) | type ResetablePostingsIterator interface
type UnadornedPosting (line 187) | type UnadornedPosting struct
method Number (line 191) | func (p *UnadornedPosting) Number() uint64 {
method Frequency (line 195) | func (p *UnadornedPosting) Frequency() uint64 {
method Norm (line 199) | func (p *UnadornedPosting) Norm() float64 {
method Locations (line 203) | func (p *UnadornedPosting) Locations() []segment.Location {
method Size (line 207) | func (p *UnadornedPosting) Size() int {
FILE: index/upsidedown/analysis.go
type IndexRow (line 21) | type IndexRow interface
type AnalysisResult (line 31) | type AnalysisResult struct
method Analyze (line 36) | func (udc *UpsideDownCouch) Analyze(d index.Document) *AnalysisResult {
method analyze (line 40) | func (udc *UpsideDownCouch) analyze(d index.Document) *AnalysisResult {
FILE: index/upsidedown/analysis_test.go
function TestAnalysisBug328 (line 27) | func TestAnalysisBug328(t *testing.T) {
function BenchmarkAnalyze (line 66) | func BenchmarkAnalyze(b *testing.B) {
FILE: index/upsidedown/benchmark_boltdb_test.go
function BenchmarkBoltDBIndexing1Workers (line 27) | func BenchmarkBoltDBIndexing1Workers(b *testing.B) {
function BenchmarkBoltDBIndexing2Workers (line 31) | func BenchmarkBoltDBIndexing2Workers(b *testing.B) {
function BenchmarkBoltDBIndexing4Workers (line 35) | func BenchmarkBoltDBIndexing4Workers(b *testing.B) {
function BenchmarkBoltDBIndexing1Workers10Batch (line 41) | func BenchmarkBoltDBIndexing1Workers10Batch(b *testing.B) {
function BenchmarkBoltDBIndexing2Workers10Batch (line 45) | func BenchmarkBoltDBIndexing2Workers10Batch(b *testing.B) {
function BenchmarkBoltDBIndexing4Workers10Batch (line 49) | func BenchmarkBoltDBIndexing4Workers10Batch(b *testing.B) {
function BenchmarkBoltDBIndexing1Workers100Batch (line 53) | func BenchmarkBoltDBIndexing1Workers100Batch(b *testing.B) {
function BenchmarkBoltDBIndexing2Workers100Batch (line 57) | func BenchmarkBoltDBIndexing2Workers100Batch(b *testing.B) {
function BenchmarkBoltDBIndexing4Workers100Batch (line 61) | func BenchmarkBoltDBIndexing4Workers100Batch(b *testing.B) {
function BenchmarkBoltBIndexing1Workers1000Batch (line 65) | func BenchmarkBoltBIndexing1Workers1000Batch(b *testing.B) {
function BenchmarkBoltBIndexing2Workers1000Batch (line 69) | func BenchmarkBoltBIndexing2Workers1000Batch(b *testing.B) {
function BenchmarkBoltBIndexing4Workers1000Batch (line 73) | func BenchmarkBoltBIndexing4Workers1000Batch(b *testing.B) {
FILE: index/upsidedown/benchmark_common_test.go
type KVStoreDestroy (line 41) | type KVStoreDestroy
function DestroyTest (line 43) | func DestroyTest() error {
function CommonBenchmarkIndex (line 47) | func CommonBenchmarkIndex(b *testing.B, storeName string, storeConfig ma...
function CommonBenchmarkIndexBatch (line 91) | func CommonBenchmarkIndexBatch(b *testing.B, storeName string, storeConf...
FILE: index/upsidedown/benchmark_gtreap_test.go
function BenchmarkGTreapIndexing1Workers (line 23) | func BenchmarkGTreapIndexing1Workers(b *testing.B) {
function BenchmarkGTreapIndexing2Workers (line 27) | func BenchmarkGTreapIndexing2Workers(b *testing.B) {
function BenchmarkGTreapIndexing4Workers (line 31) | func BenchmarkGTreapIndexing4Workers(b *testing.B) {
function BenchmarkGTreapIndexing1Workers10Batch (line 37) | func BenchmarkGTreapIndexing1Workers10Batch(b *testing.B) {
function BenchmarkGTreapIndexing2Workers10Batch (line 41) | func BenchmarkGTreapIndexing2Workers10Batch(b *testing.B) {
function BenchmarkGTreapIndexing4Workers10Batch (line 45) | func BenchmarkGTreapIndexing4Workers10Batch(b *testing.B) {
function BenchmarkGTreapIndexing1Workers100Batch (line 49) | func BenchmarkGTreapIndexing1Workers100Batch(b *testing.B) {
function BenchmarkGTreapIndexing2Workers100Batch (line 53) | func BenchmarkGTreapIndexing2Workers100Batch(b *testing.B) {
function BenchmarkGTreapIndexing4Workers100Batch (line 57) | func BenchmarkGTreapIndexing4Workers100Batch(b *testing.B) {
function BenchmarkGTreapIndexing1Workers1000Batch (line 61) | func BenchmarkGTreapIndexing1Workers1000Batch(b *testing.B) {
function BenchmarkGTreapIndexing2Workers1000Batch (line 65) | func BenchmarkGTreapIndexing2Workers1000Batch(b *testing.B) {
function BenchmarkGTreapIndexing4Workers1000Batch (line 69) | func BenchmarkGTreapIndexing4Workers1000Batch(b *testing.B) {
FILE: index/upsidedown/benchmark_null_test.go
function BenchmarkNullIndexing1Workers (line 23) | func BenchmarkNullIndexing1Workers(b *testing.B) {
function BenchmarkNullIndexing2Workers (line 27) | func BenchmarkNullIndexing2Workers(b *testing.B) {
function BenchmarkNullIndexing4Workers (line 31) | func BenchmarkNullIndexing4Workers(b *testing.B) {
function BenchmarkNullIndexing1Workers10Batch (line 37) | func BenchmarkNullIndexing1Workers10Batch(b *testing.B) {
function BenchmarkNullIndexing2Workers10Batch (line 41) | func BenchmarkNullIndexing2Workers10Batch(b *testing.B) {
function BenchmarkNullIndexing4Workers10Batch (line 45) | func BenchmarkNullIndexing4Workers10Batch(b *testing.B) {
function BenchmarkNullIndexing1Workers100Batch (line 49) | func BenchmarkNullIndexing1Workers100Batch(b *testing.B) {
function BenchmarkNullIndexing2Workers100Batch (line 53) | func BenchmarkNullIndexing2Workers100Batch(b *testing.B) {
function BenchmarkNullIndexing4Workers100Batch (line 57) | func BenchmarkNullIndexing4Workers100Batch(b *testing.B) {
function BenchmarkNullIndexing1Workers1000Batch (line 61) | func BenchmarkNullIndexing1Workers1000Batch(b *testing.B) {
function BenchmarkNullIndexing2Workers1000Batch (line 65) | func BenchmarkNullIndexing2Workers1000Batch(b *testing.B) {
function BenchmarkNullIndexing4Workers1000Batch (line 69) | func BenchmarkNullIndexing4Workers1000Batch(b *testing.B) {
FILE: index/upsidedown/dump.go
function dumpPrefix (line 29) | func dumpPrefix(kvreader store.KVReader, rv chan interface{}, prefix []b...
function dumpRange (line 59) | func dumpRange(kvreader store.KVReader, rv chan interface{}, start, end ...
method DumpAll (line 85) | func (i *IndexReader) DumpAll() chan interface{} {
method DumpFields (line 94) | func (i *IndexReader) DumpFields() chan interface{} {
type keyset (line 103) | type keyset
method Len (line 105) | func (k keyset) Len() int { return len(k) }
method Swap (line 106) | func (k keyset) Swap(i, j int) { k[i], k[j] = k[j], k[i] }
method Less (line 107) | func (k keyset) Less(i, j int) bool { return bytes.Compare(k[i], k[j])...
method DumpDoc (line 110) | func (i *IndexReader) DumpDoc(id string) chan interface{} {
FILE: index/upsidedown/dump_test.go
function TestDump (line 27) | func TestDump(t *testing.T) {
FILE: index/upsidedown/field_cache.go
type FieldCache (line 21) | type FieldCache struct
method AddExisting (line 35) | func (f *FieldCache) AddExisting(field string, index uint16) {
method addLOCKED (line 41) | func (f *FieldCache) addLOCKED(field string, index uint16) uint16 {
method FieldNamed (line 58) | func (f *FieldCache) FieldNamed(field string, createIfMissing bool) (u...
method FieldIndexed (line 81) | func (f *FieldCache) FieldIndexed(index uint16) (field string) {
function NewFieldCache (line 28) | func NewFieldCache() *FieldCache {
FILE: index/upsidedown/field_dict.go
type UpsideDownCouchFieldDict (line 24) | type UpsideDownCouchFieldDict struct
method BytesRead (line 54) | func (r *UpsideDownCouchFieldDict) BytesRead() uint64 {
method Next (line 58) | func (r *UpsideDownCouchFieldDict) Next() (*index.DictEntry, error) {
method Cardinality (line 80) | func (r *UpsideDownCouchFieldDict) Cardinality() int {
method Close (line 84) | func (r *UpsideDownCouchFieldDict) Close() error {
function newUpsideDownCouchFieldDict (line 32) | func newUpsideDownCouchFieldDict(indexReader *IndexReader, field uint16,...
FILE: index/upsidedown/field_dict_test.go
function TestIndexFieldDict (line 26) | func TestIndexFieldDict(t *testing.T) {
FILE: index/upsidedown/index_reader.go
function init (line 28) | func init() {
type IndexReader (line 33) | type IndexReader struct
method TermFieldReader (line 39) | func (i *IndexReader) TermFieldReader(ctx context.Context, term []byte...
method FieldDict (line 47) | func (i *IndexReader) FieldDict(fieldName string) (index.FieldDict, er...
method FieldDictRange (line 51) | func (i *IndexReader) FieldDictRange(fieldName string, startTerm []byt...
method FieldDictPrefix (line 59) | func (i *IndexReader) FieldDictPrefix(fieldName string, termPrefix []b...
method DocIDReaderAll (line 63) | func (i *IndexReader) DocIDReaderAll() (index.DocIDReader, error) {
method DocIDReaderOnly (line 67) | func (i *IndexReader) DocIDReaderOnly(ids []string) (index.DocIDReader...
method Document (line 71) | func (i *IndexReader) Document(id string) (doc index.Document, err err...
method documentVisitFieldTerms (line 113) | func (i *IndexReader) documentVisitFieldTerms(id index.IndexInternalID...
method Fields (line 151) | func (i *IndexReader) Fields() (fields []string, err error) {
method GetInternal (line 180) | func (i *IndexReader) GetInternal(key []byte) ([]byte, error) {
method DocCount (line 185) | func (i *IndexReader) DocCount() (uint64, error) {
method Close (line 189) | func (i *IndexReader) Close() error {
method ExternalID (line 193) | func (i *IndexReader) ExternalID(id index.IndexInternalID) (string, er...
method InternalID (line 197) | func (i *IndexReader) InternalID(id string) (index.IndexInternalID, er...
method DocValueReader (line 214) | func (i *IndexReader) DocValueReader(fields []string) (index.DocValueR...
function incrementBytes (line 201) | func incrementBytes(in []byte) []byte {
type DocValueReader (line 218) | type DocValueReader struct
method VisitDocValues (line 223) | func (dvr *DocValueReader) VisitDocValues(id index.IndexInternalID,
method BytesRead (line 228) | func (dvr *DocValueReader) BytesRead() uint64 { return 0 }
FILE: index/upsidedown/reader.go
function init (line 31) | func init() {
type UpsideDownCouchTermFieldReader (line 40) | type UpsideDownCouchTermFieldReader struct
method Size (line 52) | func (r *UpsideDownCouchTermFieldReader) Size() int {
method Count (line 108) | func (r *UpsideDownCouchTermFieldReader) Count() uint64 {
method Next (line 112) | func (r *UpsideDownCouchTermFieldReader) Next(preAlloced *index.TermFi...
method Advance (line 149) | func (r *UpsideDownCouchTermFieldReader) Advance(docID index.IndexInte...
method Close (line 186) | func (r *UpsideDownCouchTermFieldReader) Close() error {
function newUpsideDownCouchTermFieldReader (line 65) | func newUpsideDownCouchTermFieldReader(indexReader *IndexReader, term []...
type UpsideDownCouchDocIDReader (line 196) | type UpsideDownCouchDocIDReader struct
method Size (line 204) | func (r *UpsideDownCouchDocIDReader) Size() int {
method Next (line 255) | func (r *UpsideDownCouchDocIDReader) Next() (index.IndexInternalID, er...
method Advance (line 300) | func (r *UpsideDownCouchDocIDReader) Advance(docID index.IndexInternal...
method Close (line 358) | func (r *UpsideDownCouchDocIDReader) Close() error {
method nextOnly (line 364) | func (r *UpsideDownCouchDocIDReader) nextOnly() bool {
function newUpsideDownCouchDocIDReader (line 215) | func newUpsideDownCouchDocIDReader(indexReader *IndexReader) (*UpsideDow...
function newUpsideDownCouchDocIDReaderOnly (line 229) | func newUpsideDownCouchDocIDReaderOnly(indexReader *IndexReader, ids []s...
FILE: index/upsidedown/reader_test.go
function TestIndexReader (line 27) | func TestIndexReader(t *testing.T) {
function TestIndexDocIdReader (line 200) | func TestIndexDocIdReader(t *testing.T) {
function TestCrashBadBackIndexRow (line 311) | func TestCrashBadBackIndexRow(t *testing.T) {
function TestIndexDocIdOnlyReader (line 321) | func TestIndexDocIdOnlyReader(t *testing.T) {
FILE: index/upsidedown/row.go
function init (line 34) | func init() {
constant ByteSeparator (line 41) | ByteSeparator byte = 0xff
type UpsideDownCouchRowStream (line 43) | type UpsideDownCouchRowStream
type UpsideDownCouchRow (line 45) | type UpsideDownCouchRow interface
function ParseFromKeyValue (line 54) | func ParseFromKeyValue(key, value []byte) (UpsideDownCouchRow, error) {
type VersionRow (line 79) | type VersionRow struct
method Key (line 83) | func (v *VersionRow) Key() []byte {
method KeySize (line 87) | func (v *VersionRow) KeySize() int {
method KeyTo (line 91) | func (v *VersionRow) KeyTo(buf []byte) (int, error) {
method Value (line 96) | func (v *VersionRow) Value() []byte {
method ValueSize (line 100) | func (v *VersionRow) ValueSize() int {
method ValueTo (line 104) | func (v *VersionRow) ValueTo(buf []byte) (int, error) {
method String (line 109) | func (v *VersionRow) String() string {
function NewVersionRow (line 113) | func NewVersionRow(version uint8) *VersionRow {
function NewVersionRowKV (line 119) | func NewVersionRowKV(key, value []byte) (*VersionRow, error) {
type InternalRow (line 131) | type InternalRow struct
method Key (line 136) | func (i *InternalRow) Key() []byte {
method KeySize (line 142) | func (i *InternalRow) KeySize() int {
method KeyTo (line 146) | func (i *InternalRow) KeyTo(buf []byte) (int, error) {
method Value (line 152) | func (i *InternalRow) Value() []byte {
method ValueSize (line 156) | func (i *InternalRow) ValueSize() int {
method ValueTo (line 160) | func (i *InternalRow) ValueTo(buf []byte) (int, error) {
method String (line 165) | func (i *InternalRow) String() string {
function NewInternalRow (line 169) | func NewInternalRow(key, val []byte) *InternalRow {
function NewInternalRowKV (line 176) | func NewInternalRowKV(key, value []byte) (*InternalRow, error) {
type FieldRow (line 185) | type FieldRow struct
method Key (line 190) | func (f *FieldRow) Key() []byte {
method KeySize (line 196) | func (f *FieldRow) KeySize() int {
method KeyTo (line 200) | func (f *FieldRow) KeyTo(buf []byte) (int, error) {
method Value (line 206) | func (f *FieldRow) Value() []byte {
method ValueSize (line 210) | func (f *FieldRow) ValueSize() int {
method ValueTo (line 214) | func (f *FieldRow) ValueTo(buf []byte) (int, error) {
method String (line 220) | func (f *FieldRow) String() string {
function NewFieldRow (line 224) | func NewFieldRow(index uint16, name string) *FieldRow {
function NewFieldRowKV (line 231) | func NewFieldRowKV(key, value []byte) (*FieldRow, error) {
constant DictionaryRowMaxValueSize (line 256) | DictionaryRowMaxValueSize = binary.MaxVarintLen64
type DictionaryRow (line 258) | type DictionaryRow struct
method Key (line 264) | func (dr *DictionaryRow) Key() []byte {
method KeySize (line 270) | func (dr *DictionaryRow) KeySize() int {
method KeyTo (line 278) | func (dr *DictionaryRow) KeyTo(buf []byte) (int, error) {
method Value (line 289) | func (dr *DictionaryRow) Value() []byte {
method ValueSize (line 295) | func (dr *DictionaryRow) ValueSize() int {
method ValueTo (line 299) | func (dr *DictionaryRow) ValueTo(buf []byte) (int, error) {
method String (line 304) | func (dr *DictionaryRow) String() string {
method parseDictionaryK (line 338) | func (dr *DictionaryRow) parseDictionaryK(key []byte) error {
method parseDictionaryV (line 347) | func (dr *DictionaryRow) parseDictionaryV(value []byte) error {
function dictionaryRowKeySize (line 274) | func dictionaryRowKeySize(term []byte) int {
function dictionaryRowKeyTo (line 282) | func dictionaryRowKeyTo(buf []byte, field uint16, term []byte) int {
function NewDictionaryRow (line 308) | func NewDictionaryRow(term []byte, field uint16, count uint64) *Dictiona...
function NewDictionaryRowKV (line 316) | func NewDictionaryRowKV(key, value []byte) (*DictionaryRow, error) {
function NewDictionaryRowK (line 329) | func NewDictionaryRowK(key []byte) (*DictionaryRow, error) {
function dictionaryRowParseV (line 356) | func dictionaryRowParseV(value []byte) (uint64, error) {
type TermVector (line 366) | type TermVector struct
method Size (line 374) | func (tv *TermVector) Size() int {
method String (line 379) | func (tv *TermVector) String() string {
type TermFrequencyRow (line 383) | type TermFrequencyRow struct
method Size (line 392) | func (tfr *TermFrequencyRow) Size() int {
method Term (line 404) | func (tfr *TermFrequencyRow) Term() []byte {
method Freq (line 408) | func (tfr *TermFrequencyRow) Freq() uint64 {
method ScanPrefixForField (line 412) | func (tfr *TermFrequencyRow) ScanPrefixForField() []byte {
method ScanPrefixForFieldTermPrefix (line 419) | func (tfr *TermFrequencyRow) ScanPrefixForFieldTermPrefix() []byte {
method ScanPrefixForFieldTerm (line 427) | func (tfr *TermFrequencyRow) ScanPrefixForFieldTerm() []byte {
method Key (line 436) | func (tfr *TermFrequencyRow) Key() []byte {
method KeySize (line 442) | func (tfr *TermFrequencyRow) KeySize() int {
method KeyTo (line 450) | func (tfr *TermFrequencyRow) KeyTo(buf []byte) (int, error) {
method KeyAppendTo (line 463) | func (tfr *TermFrequencyRow) KeyAppendTo(buf []byte) ([]byte, error) {
method DictionaryRowKey (line 472) | func (tfr *TermFrequencyRow) DictionaryRowKey() []byte {
method DictionaryRowKeySize (line 477) | func (tfr *TermFrequencyRow) DictionaryRowKeySize() int {
method DictionaryRowKeyTo (line 482) | func (tfr *TermFrequencyRow) DictionaryRowKeyTo(buf []byte) (int, erro...
method Value (line 487) | func (tfr *TermFrequencyRow) Value() []byte {
method ValueSize (line 493) | func (tfr *TermFrequencyRow) ValueSize() int {
method ValueTo (line 501) | func (tfr *TermFrequencyRow) ValueTo(buf []byte) (int, error) {
method String (line 521) | func (tfr *TermFrequencyRow) String() string {
method parseK (line 564) | func (tfr *TermFrequencyRow) parseK(key []byte) error {
method parseKDoc (line 586) | func (tfr *TermFrequencyRow) parseKDoc(key []byte, term []byte) error {
method parseV (line 595) | func (tfr *TermFrequencyRow) parseV(value []byte, includeTermVectors b...
function termFrequencyRowKeySize (line 446) | func termFrequencyRowKeySize(term, doc []byte) int {
function termFrequencyRowKeyTo (line 454) | func termFrequencyRowKeyTo(buf []byte, field uint16, term, doc []byte) i...
function InitTermFrequencyRow (line 525) | func InitTermFrequencyRow(tfr *TermFrequencyRow, term []byte, field uint...
function NewTermFrequencyRow (line 534) | func NewTermFrequencyRow(term []byte, field uint16, docID []byte, freq u...
function NewTermFrequencyRowWithTermVectors (line 544) | func NewTermFrequencyRowWithTermVectors(term []byte, field uint16, docID...
function NewTermFrequencyRowK (line 555) | func NewTermFrequencyRowK(key []byte) (*TermFrequencyRow, error) {
function NewTermFrequencyRowKV (line 675) | func NewTermFrequencyRowKV(key, value []byte) (*TermFrequencyRow, error) {
type BackIndexRow (line 688) | type BackIndexRow struct
method AllTermKeys (line 694) | func (br *BackIndexRow) AllTermKeys() [][]byte {
method AllStoredKeys (line 708) | func (br *BackIndexRow) AllStoredKeys() [][]byte {
method Key (line 720) | func (br *BackIndexRow) Key() []byte {
method KeySize (line 726) | func (br *BackIndexRow) KeySize() int {
method KeyTo (line 730) | func (br *BackIndexRow) KeyTo(buf []byte) (int, error) {
method Value (line 736) | func (br *BackIndexRow) Value() []byte {
method ValueSize (line 742) | func (br *BackIndexRow) ValueSize() int {
method ValueTo (line 750) | func (br *BackIndexRow) ValueTo(buf []byte) (int, error) {
method String (line 758) | func (br *BackIndexRow) String() string {
function NewBackIndexRow (line 762) | func NewBackIndexRow(docID []byte, entries []*BackIndexTermsEntry, store...
function NewBackIndexRowKV (line 770) | func NewBackIndexRowKV(key, value []byte) (*BackIndexRow, error) {
type StoredRow (line 802) | type StoredRow struct
method Key (line 810) | func (s *StoredRow) Key() []byte {
method KeySize (line 816) | func (s *StoredRow) KeySize() int {
method KeyTo (line 820) | func (s *StoredRow) KeyTo(buf []byte) (int, error) {
method Value (line 834) | func (s *StoredRow) Value() []byte {
method ValueSize (line 840) | func (s *StoredRow) ValueSize() int {
method ValueTo (line 844) | func (s *StoredRow) ValueTo(buf []byte) (int, error) {
method String (line 850) | func (s *StoredRow) String() string {
method ScanPrefixForDoc (line 854) | func (s *StoredRow) ScanPrefixForDoc() []byte {
function NewStoredRow (line 863) | func NewStoredRow(docID []byte, field uint16, arrayPositions []uint64, t...
function NewStoredRowK (line 873) | func NewStoredRowK(key []byte) (*StoredRow, error) {
function NewStoredRowKV (line 907) | func NewStoredRowKV(key, value []byte) (*StoredRow, error) {
type backIndexFieldTermVisitor (line 917) | type backIndexFieldTermVisitor
function visitBackIndexRow (line 930) | func visitBackIndexRow(data []byte, callback backIndexFieldTermVisitor) ...
function visitBackIndexRowFieldTerms (line 1051) | func visitBackIndexRowFieldTerms(data []byte, callback backIndexFieldTer...
FILE: index/upsidedown/row_merge.go
function init (line 26) | func init() {
type upsideDownMerge (line 34) | type upsideDownMerge struct
method FullMerge (line 36) | func (m *upsideDownMerge) FullMerge(key, existingValue []byte, operand...
method PartialMerge (line 66) | func (m *upsideDownMerge) PartialMerge(key, leftOperand, rightOperand ...
method Name (line 74) | func (m *upsideDownMerge) Name() string {
FILE: index/upsidedown/row_merge_test.go
function TestPartialMerge (line 23) | func TestPartialMerge(t *testing.T) {
function decodeCount (line 53) | func decodeCount(in []byte) uint64 {
FILE: index/upsidedown/row_test.go
function TestRows (line 25) | func TestRows(t *testing.T) {
function TestInvalidRows (line 140) | func TestInvalidRows(t *testing.T) {
function TestDictionaryRowValueBug197 (line 245) | func TestDictionaryRowValueBug197(t *testing.T) {
function BenchmarkTermFrequencyRowEncode (line 263) | func BenchmarkTermFrequencyRowEncode(b *testing.B) {
function BenchmarkTermFrequencyRowDecode (line 297) | func BenchmarkTermFrequencyRowDecode(b *testing.B) {
function BenchmarkBackIndexRowEncode (line 309) | func BenchmarkBackIndexRowEncode(b *testing.B) {
function BenchmarkBackIndexRowDecode (line 332) | func BenchmarkBackIndexRowDecode(b *testing.B) {
function BenchmarkStoredRowEncode (line 344) | func BenchmarkStoredRowEncode(b *testing.B) {
function BenchmarkStoredRowDecode (line 353) | func BenchmarkStoredRowDecode(b *testing.B) {
function TestVisitBackIndexRow (line 365) | func TestVisitBackIndexRow(t *testing.T) {
FILE: index/upsidedown/stats.go
type indexStat (line 24) | type indexStat struct
method statsMap (line 33) | func (i *indexStat) statsMap() map[string]interface{} {
method MarshalJSON (line 52) | func (i *indexStat) MarshalJSON() ([]byte, error) {
FILE: index/upsidedown/store/boltdb/iterator.go
type Iterator (line 23) | type Iterator struct
method updateValid (line 35) | func (i *Iterator) updateValid() {
method Seek (line 46) | func (i *Iterator) Seek(k []byte) {
method Next (line 62) | func (i *Iterator) Next() {
method Current (line 67) | func (i *Iterator) Current() ([]byte, []byte, bool) {
method Key (line 71) | func (i *Iterator) Key() []byte {
method Value (line 75) | func (i *Iterator) Value() []byte {
method Valid (line 79) | func (i *Iterator) Valid() bool {
method Close (line 83) | func (i *Iterator) Close() error {
FILE: index/upsidedown/store/boltdb/reader.go
type Reader (line 22) | type Reader struct
method Get (line 28) | func (r *Reader) Get(key []byte) ([]byte, error) {
method MultiGet (line 38) | func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error) {
method PrefixIterator (line 42) | func (r *Reader) PrefixIterator(prefix []byte) store.KVIterator {
method RangeIterator (line 56) | func (r *Reader) RangeIterator(start, end []byte) store.KVIterator {
method Close (line 71) | func (r *Reader) Close() error {
FILE: index/upsidedown/store/boltdb/stats.go
type stats (line 21) | type stats struct
method MarshalJSON (line 25) | func (s *stats) MarshalJSON() ([]byte, error) {
FILE: index/upsidedown/store/boltdb/store.go
constant Name (line 37) | Name = "boltdb"
constant defaultCompactBatchSize (line 38) | defaultCompactBatchSize = 100
type Store (line 41) | type Store struct
method Close (line 111) | func (bs *Store) Close() error {
method Reader (line 115) | func (bs *Store) Reader() (store.KVReader, error) {
method Writer (line 127) | func (bs *Store) Writer() (store.KVWriter, error) {
method Stats (line 133) | func (bs *Store) Stats() json.Marshaler {
method CompactWithBatchSize (line 141) | func (bs *Store) CompactWithBatchSize(batchSize int) error {
method Compact (line 175) | func (bs *Store) Compact() error {
function New (line 50) | func New(mo store.MergeOperator, config map[string]interface{}) (store.K...
function init (line 179) | func init() {
FILE: index/upsidedown/store/boltdb/store_test.go
function open (line 28) | func open(t *testing.T, mo store.MergeOperator) store.KVStore {
function cleanup (line 36) | func cleanup(t *testing.T, s store.KVStore) {
function TestBoltDBKVCrud (line 47) | func TestBoltDBKVCrud(t *testing.T) {
function TestBoltDBReaderIsolation (line 53) | func TestBoltDBReaderIsolation(t *testing.T) {
function TestBoltDBReaderOwnsGetBytes (line 59) | func TestBoltDBReaderOwnsGetBytes(t *testing.T) {
function TestBoltDBWriterOwnsBytes (line 65) | func TestBoltDBWriterOwnsBytes(t *testing.T) {
function TestBoltDBPrefixIterator (line 71) | func TestBoltDBPrefixIterator(t *testing.T) {
function TestBoltDBPrefixIteratorSeek (line 77) | func TestBoltDBPrefixIteratorSeek(t *testing.T) {
function TestBoltDBRangeIterator (line 83) | func TestBoltDBRangeIterator(t *testing.T) {
function TestBoltDBRangeIteratorSeek (line 89) | func TestBoltDBRangeIteratorSeek(t *testing.T) {
function TestBoltDBMerge (line 95) | func TestBoltDBMerge(t *testing.T) {
function TestBoltDBConfig (line 101) | func TestBoltDBConfig(t *testing.T) {
FILE: index/upsidedown/store/boltdb/writer.go
type Writer (line 23) | type Writer struct
method NewBatch (line 27) | func (w *Writer) NewBatch() store.KVBatch {
method NewBatchEx (line 31) | func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, sto...
method ExecuteBatch (line 35) | func (w *Writer) ExecuteBatch(batch store.KVBatch) (err error) {
method Close (line 93) | func (w *Writer) Close() error {
FILE: index/upsidedown/store/goleveldb/batch.go
type Batch (line 22) | type Batch struct
method Set (line 28) | func (b *Batch) Set(key, val []byte) {
method Delete (line 32) | func (b *Batch) Delete(key []byte) {
method Merge (line 36) | func (b *Batch) Merge(key, val []byte) {
method Reset (line 40) | func (b *Batch) Reset() {
method Close (line 45) | func (b *Batch) Close() error {
FILE: index/upsidedown/store/goleveldb/config.go
function applyConfig (line 22) | func applyConfig(o *opt.Options, config map[string]interface{}) (*opt.Op...
FILE: index/upsidedown/store/goleveldb/iterator.go
type Iterator (line 19) | type Iterator struct
method Seek (line 24) | func (ldi *Iterator) Seek(key []byte) {
method Next (line 28) | func (ldi *Iterator) Next() {
method Current (line 32) | func (ldi *Iterator) Current() ([]byte, []byte, bool) {
method Key (line 39) | func (ldi *Iterator) Key() []byte {
method Value (line 43) | func (ldi *Iterator) Value() []byte {
method Valid (line 47) | func (ldi *Iterator) Valid() bool {
method Close (line 51) | func (ldi *Iterator) Close() error {
FILE: index/upsidedown/store/goleveldb/reader.go
type Reader (line 23) | type Reader struct
method Get (line 28) | func (r *Reader) Get(key []byte) ([]byte, error) {
method MultiGet (line 36) | func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error) {
method PrefixIterator (line 40) | func (r *Reader) PrefixIterator(prefix []byte) store.KVIterator {
method RangeIterator (line 51) | func (r *Reader) RangeIterator(start, end []byte) store.KVIterator {
method Close (line 65) | func (r *Reader) Close() error {
FILE: index/upsidedown/store/goleveldb/store.go
constant Name (line 30) | Name = "goleveldb"
constant defaultCompactBatchSize (line 31) | defaultCompactBatchSize = 250
type Store (line 34) | type Store struct
method Close (line 76) | func (ldbs *Store) Close() error {
method Reader (line 80) | func (ldbs *Store) Reader() (store.KVReader, error) {
method Writer (line 88) | func (ldbs *Store) Writer() (store.KVWriter, error) {
method CompactWithBatchSize (line 96) | func (ldbs *Store) CompactWithBatchSize(batchSize int) error {
method Compact (line 143) | func (ldbs *Store) Compact() error {
function New (line 44) | func New(mo store.MergeOperator, config map[string]interface{}) (store.K...
function init (line 147) | func init() {
FILE: index/upsidedown/store/goleveldb/store_test.go
function open (line 25) | func open(t *testing.T, mo store.MergeOperator) store.KVStore {
function cleanup (line 36) | func cleanup(t *testing.T, s store.KVStore) {
function TestGoLevelDBKVCrud (line 47) | func TestGoLevelDBKVCrud(t *testing.T) {
function TestGoLevelDBReaderIsolation (line 53) | func TestGoLevelDBReaderIsolation(t *testing.T) {
function TestGoLevelDBReaderOwnsGetBytes (line 59) | func TestGoLevelDBReaderOwnsGetBytes(t *testing.T) {
function TestGoLevelDBWriterOwnsBytes (line 65) | func TestGoLevelDBWriterOwnsBytes(t *testing.T) {
function TestGoLevelDBPrefixIterator (line 71) | func TestGoLevelDBPrefixIterator(t *testing.T) {
function TestGoLevelDBPrefixIteratorSeek (line 77) | func TestGoLevelDBPrefixIteratorSeek(t *testing.T) {
function TestGoLevelDBRangeIterator (line 83) | func TestGoLevelDBRangeIterator(t *testing.T) {
function TestGoLevelDBRangeIteratorSeek (line 89) | func TestGoLevelDBRangeIteratorSeek(t *testing.T) {
function TestGoLevelDBMerge (line 95) | func TestGoLevelDBMerge(t *testing.T) {
FILE: index/upsidedown/store/goleveldb/writer.go
type Writer (line 24) | type Writer struct
method NewBatch (line 28) | func (w *Writer) NewBatch() store.KVBatch {
method NewBatchEx (line 37) | func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, sto...
method ExecuteBatch (line 41) | func (w *Writer) ExecuteBatch(b store.KVBatch) error {
method Close (line 66) | func (w *Writer) Close() error {
FILE: index/upsidedown/store/gtreap/iterator.go
type Iterator (line 27) | type Iterator struct
method Seek (line 41) | func (w *Iterator) Seek(k []byte) {
method restart (line 65) | func (w *Iterator) restart(start *Item) *Iterator {
method Next (line 98) | func (w *Iterator) Next() {
method Current (line 105) | func (w *Iterator) Current() ([]byte, []byte, bool) {
method Key (line 119) | func (w *Iterator) Key() []byte {
method Value (line 127) | func (w *Iterator) Value() []byte {
method Valid (line 135) | func (w *Iterator) Valid() bool {
method Close (line 140) | func (w *Iterator) Close() error {
FILE: index/upsidedown/store/gtreap/reader.go
type Reader (line 26) | type Reader struct
method Get (line 30) | func (w *Reader) Get(k []byte) (v []byte, err error) {
method MultiGet (line 41) | func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error) {
method PrefixIterator (line 45) | func (w *Reader) PrefixIterator(k []byte) store.KVIterator {
method RangeIterator (line 54) | func (w *Reader) RangeIterator(start, end []byte) store.KVIterator {
method Close (line 64) | func (w *Reader) Close() error {
FILE: index/upsidedown/store/gtreap/store.go
constant Name (line 32) | Name = "gtreap"
type Store (line 34) | type Store struct
method Close (line 65) | func (s *Store) Close() error {
method Reader (line 69) | func (s *Store) Reader() (store.KVReader, error) {
method Writer (line 76) | func (s *Store) Writer() (store.KVWriter, error) {
type Item (line 40) | type Item struct
function itemCompare (line 45) | func itemCompare(a, b interface{}) int {
function New (line 49) | func New(mo store.MergeOperator, config map[string]interface{}) (store.K...
function init (line 80) | func init() {
FILE: index/upsidedown/store/gtreap/store_test.go
function open (line 24) | func open(t *testing.T, mo store.MergeOperator) store.KVStore {
function cleanup (line 34) | func cleanup(t *testing.T, s store.KVStore) {
function TestGTreapKVCrud (line 41) | func TestGTreapKVCrud(t *testing.T) {
function TestGTreapReaderIsolation (line 47) | func TestGTreapReaderIsolation(t *testing.T) {
function TestGTreapReaderOwnsGetBytes (line 53) | func TestGTreapReaderOwnsGetBytes(t *testing.T) {
function TestGTreapWriterOwnsBytes (line 59) | func TestGTreapWriterOwnsBytes(t *testing.T) {
function TestGTreapPrefixIterator (line 65) | func TestGTreapPrefixIterator(t *testing.T) {
function TestGTreapPrefixIteratorSeek (line 71) | func TestGTreapPrefixIteratorSeek(t *testing.T) {
function TestGTreapRangeIterator (line 77) | func TestGTreapRangeIterator(t *testing.T) {
function TestGTreapRangeIteratorSeek (line 83) | func TestGTreapRangeIteratorSeek(t *testing.T) {
function TestGTreapMerge (line 89) | func TestGTreapMerge(t *testing.T) {
FILE: index/upsidedown/store/gtreap/writer.go
type Writer (line 27) | type Writer struct
method NewBatch (line 31) | func (w *Writer) NewBatch() store.KVBatch {
method NewBatchEx (line 35) | func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, sto...
method ExecuteBatch (line 39) | func (w *Writer) ExecuteBatch(batch store.KVBatch) error {
method Close (line 73) | func (w *Writer) Close() error {
FILE: index/upsidedown/store/metrics/batch.go
type Batch (line 19) | type Batch struct
method Set (line 24) | func (b *Batch) Set(key, val []byte) {
method Delete (line 28) | func (b *Batch) Delete(key []byte) {
method Merge (line 32) | func (b *Batch) Merge(key, val []byte) {
method Reset (line 38) | func (b *Batch) Reset() {
method Close (line 42) | func (b *Batch) Close() error {
FILE: index/upsidedown/store/metrics/iterator.go
type Iterator (line 19) | type Iterator struct
method Seek (line 24) | func (i *Iterator) Seek(x []byte) {
method Next (line 30) | func (i *Iterator) Next() {
method Current (line 36) | func (i *Iterator) Current() ([]byte, []byte, bool) {
method Key (line 40) | func (i *Iterator) Key() []byte {
method Value (line 44) | func (i *Iterator) Value() []byte {
method Valid (line 48) | func (i *Iterator) Valid() bool {
method Close (line 52) | func (i *Iterator) Close() error {
FILE: index/upsidedown/store/metrics/metrics_test.go
function TestMetricsStore (line 26) | func TestMetricsStore(t *testing.T) {
function TestErrors (line 77) | func TestErrors(t *testing.T) {
FILE: index/upsidedown/store/metrics/reader.go
type Reader (line 19) | type Reader struct
method Get (line 24) | func (r *Reader) Get(key []byte) (v []byte, err error) {
method MultiGet (line 34) | func (r *Reader) MultiGet(keys [][]byte) (vals [][]byte, err error) {
method PrefixIterator (line 44) | func (r *Reader) PrefixIterator(prefix []byte) (i store.KVIterator) {
method RangeIterator (line 51) | func (r *Reader) RangeIterator(start, end []byte) (i store.KVIterator) {
method Close (line 58) | func (r *Reader) Close() error {
FILE: index/upsidedown/store/metrics/stats.go
type stats (line 22) | type stats struct
method statsMap (line 26) | func (s *stats) statsMap() map[string]interface{} {
method MarshalJSON (line 47) | func (s *stats) MarshalJSON() ([]byte, error) {
FILE: index/upsidedown/store/metrics/store.go
constant Name (line 34) | Name = "metrics"
type Store (line 36) | type Store struct
method Close (line 104) | func (s *Store) Close() error {
method Reader (line 108) | func (s *Store) Reader() (store.KVReader, error) {
method Writer (line 117) | func (s *Store) Writer() (store.KVWriter, error) {
method AddError (line 137) | func (s *Store) AddError(op string, err error, key []byte) {
method WriteJSON (line 153) | func (s *Store) WriteJSON(w io.Writer) (err error) {
method WriteCSVHeader (line 251) | func (s *Store) WriteCSVHeader(w io.Writer) {
method WriteCSV (line 261) | func (s *Store) WriteCSV(w io.Writer) {
method Stats (line 271) | func (s *Store) Stats() json.Marshaler {
method StatsMap (line 275) | func (s *Store) StatsMap() map[string]interface{} {
function New (line 54) | func New(mo store.MergeOperator, config map[string]interface{}) (store.K...
function init (line 97) | func init() {
constant MaxErrors (line 128) | MaxErrors = 100
type StoreError (line 130) | type StoreError struct
FILE: index/upsidedown/store/metrics/store_test.go
function open (line 25) | func open(t *testing.T, mo store.MergeOperator) store.KVStore {
function cleanup (line 36) | func cleanup(t *testing.T, s store.KVStore) {
function TestMetricsKVCrud (line 43) | func TestMetricsKVCrud(t *testing.T) {
function TestMetricsReaderIsolation (line 49) | func TestMetricsReaderIsolation(t *testing.T) {
function TestMetricsReaderOwnsGetBytes (line 55) | func TestMetricsReaderOwnsGetBytes(t *testing.T) {
function TestMetricsWriterOwnsBytes (line 61) | func TestMetricsWriterOwnsBytes(t *testing.T) {
function TestMetricsPrefixIterator (line 67) | func TestMetricsPrefixIterator(t *testing.T) {
function TestMetricsPrefixIteratorSeek (line 73) | func TestMetricsPrefixIteratorSeek(t *testing.T) {
function TestMetricsRangeIterator (line 79) | func TestMetricsRangeIterator(t *testing.T) {
function TestMetricsRangeIteratorSeek (line 85) | func TestMetricsRangeIteratorSeek(t *testing.T) {
function TestMetricsMerge (line 91) | func TestMetricsMerge(t *testing.T) {
FILE: index/upsidedown/store/metrics/util.go
function TimerMap (line 30) | func TimerMap(timer metrics.Timer) map[string]interface{} {
function isNanOrInf (line 71) | func isNanOrInf(v float64) bool {
function WriteTimerJSON (line 78) | func WriteTimerJSON(w io.Writer, timer metrics.Timer) {
function WriteTimerCSVHeader (line 100) | func WriteTimerCSVHeader(w io.Writer, prefix string) {
function WriteTimerCSV (line 117) | func WriteTimerCSV(w io.Writer, timer metrics.Timer) {
FILE: index/upsidedown/store/metrics/writer.go
type Writer (line 23) | type Writer struct
method Close (line 28) | func (w *Writer) Close() error {
method NewBatch (line 36) | func (w *Writer) NewBatch() store.KVBatch {
method NewBatchEx (line 40) | func (w *Writer) NewBatchEx(options store.KVBatchOptions) ([]byte, sto...
method ExecuteBatch (line 48) | func (w *Writer) ExecuteBatch(b store.KVBatch) (err error) {
FILE: index/upsidedown/store/moss/batch.go
type Batch (line 23) | type Batch struct
method Set (line 31) | func (b *Batch) Set(key, val []byte) {
method Delete (line 45) | func (b *Batch) Delete(key []byte) {
method Merge (line 59) | func (b *Batch) Merge(key, val []byte) {
method Reset (line 66) | func (b *Batch) Reset() {
method Close (line 82) | func (b *Batch) Close() error {
FILE: index/upsidedown/store/moss/iterator.go
type Iterator (line 21) | type Iterator struct
method Seek (line 32) | func (x *Iterator) Seek(seekToKey []byte) {
method Next (line 38) | func (x *Iterator) Next() {
method Current (line 44) | func (x *Iterator) Current() ([]byte, []byte, bool) {
method Key (line 48) | func (x *Iterator) Key() []byte {
method Value (line 56) | func (x *Iterator) Value() []byte {
method Valid (line 64) | func (x *Iterator) Valid() bool {
method Close (line 68) | func (x *Iterator) Close() error {
method current (line 85) | func (x *Iterator) current() {
FILE: index/upsidedown/store/moss/lower.go
function initLowerLevelStore (line 32) | func initLowerLevelStore(
type llStore (line 90) | type llStore struct
method addRef (line 131) | func (s *llStore) addRef() *llStore {
method decRef (line 139) | func (s *llStore) decRef() {
method update (line 155) | func (s *llStore) update(ssHigher moss.Snapshot, maxBatchSize uint64) (
type llSnapshot (line 104) | type llSnapshot struct
method addRef (line 292) | func (llss *llSnapshot) addRef() *llSnapshot {
method decRef (line 300) | func (llss *llSnapshot) decRef() {
method ChildCollectionNames (line 322) | func (llss *llSnapshot) ChildCollectionNames() ([]string, error) {
method ChildCollectionSnapshot (line 334) | func (llss *llSnapshot) ChildCollectionSnapshot(childCollectionName st...
method Close (line 345) | func (llss *llSnapshot) Close() error {
method Get (line 351) | func (llss *llSnapshot) Get(key []byte,
method StartIterator (line 371) | func (llss *llSnapshot) StartIterator(
type llIterator (line 115) | type llIterator struct
method Close (line 394) | func (lli *llIterator) Close() error {
method Next (line 421) | func (lli *llIterator) Next() error {
method SeekTo (line 427) | func (lli *llIterator) SeekTo(k []byte) error {
method Current (line 433) | func (lli *llIterator) Current() (key, val []byte, err error) {
method CurrentEx (line 442) | func (lli *llIterator) CurrentEx() (
type readerSource (line 125) | type readerSource interface
function InitMossStore (line 450) | func InitMossStore(config map[string]interface{}, options moss.Collectio...
type mossStoreWrapper (line 525) | type mossStoreWrapper struct
method AddRef (line 531) | func (w *mossStoreWrapper) AddRef() {
method Close (line 537) | func (w *mossStoreWrapper) Close() (err error) {
method Reader (line 548) | func (w *mossStoreWrapper) Reader() (store.KVReader, error) {
method Writer (line 552) | func (w *mossStoreWrapper) Writer() (store.KVWriter, error) {
method Actual (line 556) | func (w *mossStoreWrapper) Actual() *moss.Store {
method histograms (line 563) | func (w *mossStoreWrapper) histograms() string {
FILE: index/upsidedown/store/moss/lower_test.go
function openWithLower (line 25) | func openWithLower(t *testing.T, mo store.MergeOperator) (string, store....
function cleanupWithLower (line 40) | func cleanupWithLower(t *testing.T, s store.KVStore, tmpDir string) {
function TestMossWithLowerKVCrud (line 51) | func TestMossWithLowerKVCrud(t *testing.T) {
function TestMossWithLowerReaderIsolation (line 57) | func TestMossWithLowerReaderIsolation(t *testing.T) {
function TestMossWithLowerReaderOwnsGetBytes (line 63) | func TestMossWithLowerReaderOwnsGetBytes(t *testing.T) {
function TestMossWithLowerWriterOwnsBytes (line 69) | func TestMossWithLowerWriterOwnsBytes(t *testing.T) {
function TestMossWithLowerPrefixIterator (line 75) | func TestMossWithLowerPrefixIterator(t *testing.T) {
function TestMossWithLowerPrefixIteratorSeek (line 81) | func TestMossWithLowerPrefixIteratorSeek(t *testing.T) {
function TestMossWithLowerRangeIterator (line 87) | func TestMossWithLowerRangeIterator(t *testing.T) {
function TestMossWithLowerRangeIteratorSeek (line 93) | func TestMossWithLowerRangeIteratorSeek(t *testing.T) {
function TestMossWithLowerMerge (line 99) | func TestMossWithLowerMerge(t *testing.T) {
FILE: index/upsidedown/store/moss/reader.go
type Reader (line 23) | type Reader struct
method Get (line 28) | func (r *Reader) Get(k []byte) (v []byte, err error) {
method MultiGet (line 39) | func (r *Reader) MultiGet(keys [][]byte) ([][]byte, error) {
method PrefixIterator (line 43) | func (r *Reader) PrefixIterator(k []byte) store.KVIterator {
method RangeIterator (line 64) | func (r *Reader) RangeIterator(start, end []byte) store.KVIterator {
method Close (line 83) | func (r *Reader) Close() error {
function incrementBytes (line 87) | func incrementBytes(in []byte) []byte {
FILE: index/upsidedown/store/moss/stats.go
type stats (line 22) | type stats struct
method statsMap (line 26) | func (s *stats) statsMap() map[string]interface{} {
method MarshalJSON (line 55) | func (s *stats) MarshalJSON() ([]byte, error) {
FILE: index/upsidedown/store/moss/store.go
constant Name (line 36) | Name = "moss"
type Store (line 38) | type Store struct
method Close (line 178) | func (s *Store) Close() error {
method Reader (line 191) | func (s *Store) Reader() (store.KVReader, error) {
method Writer (line 199) | func (s *Store) Writer() (store.KVWriter, error) {
method Logf (line 203) | func (s *Store) Logf(fmt string, args ...interface{}) {
method Stats (line 210) | func (s *Store) Stats() json.Marshaler {
method StatsMap (line 214) | func (s *Store) StatsMap() map[string]interface{} {
method LowerLevelStore (line 218) | func (s *Store) LowerLevelStore() store.KVStore {
method Collection (line 222) | func (s *Store) Collection() moss.Collection {
type statsFunc (line 49) | type statsFunc
function New (line 57) | func New(mo store.MergeOperator, config map[string]interface{}) (
function init (line 226) | func init() {
FILE: index/upsidedown/store/moss/store_test.go
function open (line 24) | func open(t *testing.T, mo store.MergeOperator) store.KVStore {
function cleanup (line 32) | func cleanup(t *testing.T, s store.KVStore) {
function TestMossKVCrud (line 39) | func TestMossKVCrud(t *testing.T) {
function TestMossReaderIsolation (line 45) | func TestMossReaderIsolation(t *testing.T) {
function TestMossReaderOwnsGetBytes (line 51) | func TestMossReaderOwnsGetBytes(t *testing.T) {
function TestMossWriterOwnsBytes (line 57) | func TestMossWriterOwnsBytes(t *testing.T) {
function TestMossPrefixIterator (line 63) | func TestMossPrefixIterator(t *testing.T) {
function TestMossPrefixIteratorSeek (line 69) | func TestMossPrefixIteratorSeek(t *testing.T) {
function TestMossRangeIterator (line 75) | func TestMossRangeIterator(t *testing.T) {
function TestMossRangeIteratorSeek (line 81) | func TestMossRangeIteratorSeek(t *testing.T) {
function TestMossMerge (line 87) | func TestMossMerge(t *testing.T) {
FILE: index/upsidedown/store/moss/writer.go
type Writer (line 25) | type Writer struct
method NewBatch (line 29) | func (w *Writer) NewBatch() store.KVBatch {
method NewBatchEx (line 42) | func (w *Writer) NewBatchEx(options store.KVBatchOptions) (
method ExecuteBatch (line 65) | func (w *Writer) ExecuteBatch(b store.KVBatch) (err error) {
method Close (line 94) | func (w *Writer) Close() error {
FILE: index/upsidedown/store/null/null.go
constant Name (line 22) | Name = "null"
type Store (line 24) | type Store struct
method Close (line 30) | func (i *Store) Close() error {
method Reader (line 34) | func (i *Store) Reader() (store.KVReader, error) {
method Writer (line 38) | func (i *Store) Writer() (store.KVWriter, error) {
function New (line 26) | func New(mo store.MergeOperator, config map[string]interface{}) (store.K...
type reader (line 42) | type reader struct
method Get (line 44) | func (r *reader) Get(key []byte) ([]byte, error) {
method MultiGet (line 48) | func (r *reader) MultiGet(keys [][]byte) ([][]byte, error) {
method PrefixIterator (line 52) | func (r *reader) PrefixIterator(prefix []byte) store.KVIterator {
method RangeIterator (line 56) | func (r *reader) RangeIterator(start, end []byte) store.KVIterator {
method Close (line 60) | func (r *reader) Close() error {
type iterator (line 64) | type iterator struct
method SeekFirst (line 66) | func (i *iterator) SeekFirst() {}
method Seek (line 67) | func (i *iterator) Seek(k []byte) {}
method Next (line 68) | func (i *iterator) Next() {}
method Current (line 70) | func (i *iterator) Current() ([]byte, []byte, bool) {
method Key (line 74) | func (i *iterator) Key() []byte {
method Value (line 78) | func (i *iterator) Value() []byte {
method Valid (line 82) | func (i *iterator) Valid() bool {
method Close (line 86) | func (i *iterator) Close() error {
type batch (line 90) | type batch struct
method Set (line 92) | func (i *batch) Set(key, val []byte) {}
method Delete (line 93) | func (i *batch) Delete(key []byte) {}
method Merge (line 94) | func (i *batch) Merge(key, val []byte) {}
method Reset (line 95) | func (i *batch) Reset() {}
method Close (line 96) | func (i *batch) Close() error { return nil }
type writer (line 98) | type writer struct
method NewBatch (line 100) | func (w *writer) NewBatch() store.KVBatch {
method NewBatchEx (line 104) | func (w *writer) NewBatchEx(options store.KVBatchOptions) ([]byte, sto...
method ExecuteBatch (line 108) | func (w *writer) ExecuteBatch(store.KVBatch) error {
method Close (line 112) | func (w *writer) Close() error {
function init (line 116) | func init() {
FILE: index/upsidedown/store/null/null_test.go
function TestStore (line 23) | func TestStore(t *testing.T) {
function NullTestKVStore (line 34) | func NullTestKVStore(t *testing.T, s store.KVStore) {
FILE: index/upsidedown/upsidedown.go
constant Name (line 36) | Name = "upside_down"
constant RowBufferSize (line 43) | RowBufferSize = 4 * 1024
constant Version (line 47) | Version uint8 = 7
type UpsideDownCouch (line 53) | type UpsideDownCouch struct
method init (line 88) | func (udc *UpsideDownCouch) init(kvwriter store.KVWriter) (err error) {
method loadSchema (line 98) | func (udc *UpsideDownCouch) loadSchema(kvreader store.KVReader) (err e...
method batchRows (line 156) | func (udc *UpsideDownCouch) batchRows(writer store.KVWriter, addRowsAl...
method Open (line 301) | func (udc *UpsideDownCouch) Open() (err error) {
method countDocs (line 371) | func (udc *UpsideDownCouch) countDocs(kvreader store.KVReader) (count ...
method rowCount (line 389) | func (udc *UpsideDownCouch) rowCount() (count uint64, err error) {
method Close (line 417) | func (udc *UpsideDownCouch) Close() error {
method Update (line 421) | func (udc *UpsideDownCouch) Update(doc index.Document) (err error) {
method UpdateWithAnalysis (line 465) | func (udc *UpsideDownCouch) UpdateWithAnalysis(doc index.Document,
method mergeOldAndNew (line 512) | func (udc *UpsideDownCouch) mergeOldAndNew(backIndexRow *BackIndexRow,...
method storeField (line 598) | func (udc *UpsideDownCouch) storeField(docID []byte, field index.Field...
method indexField (line 608) | func (udc *UpsideDownCouch) indexField(docID []byte, includeTermVector...
method Delete (line 637) | func (udc *UpsideDownCouch) Delete(id string) (err error) {
method deleteSingle (line 704) | func (udc *UpsideDownCouch) deleteSingle(id string, backIndexRow *Back...
method termVectorsFromTokenFreq (line 745) | func (udc *UpsideDownCouch) termVectorsFromTokenFreq(field uint16, tf ...
method termFieldVectorsFromTermVectors (line 772) | func (udc *UpsideDownCouch) termFieldVectorsFromTermVectors(in []*Term...
method Batch (line 794) | func (udc *UpsideDownCouch) Batch(batch *index.Batch) (err error) {
method SetInternal (line 969) | func (udc *UpsideDownCouch) SetInternal(key, val []byte) (err error) {
method DeleteInternal (line 990) | func (udc *UpsideDownCouch) DeleteInternal(key []byte) (err error) {
method Reader (line 1010) | func (udc *UpsideDownCouch) Reader() (index.IndexReader, error) {
method Stats (line 1024) | func (udc *UpsideDownCouch) Stats() json.Marshaler {
method StatsMap (line 1028) | func (udc *UpsideDownCouch) StatsMap() map[string]interface{} {
method Advanced (line 1032) | func (udc *UpsideDownCouch) Advanced() (store.KVStore, error) {
method fieldIndexOrNewRow (line 1036) | func (udc *UpsideDownCouch) fieldIndexOrNewRow(name string) (uint16, *...
type docBackIndexRow (line 70) | type docBackIndexRow struct
function NewUpsideDownCouch (line 76) | func NewUpsideDownCouch(storeName string, storeConfig map[string]interfa...
type rowBuffer (line 137) | type rowBuffer struct
function GetRowBuffer (line 143) | func GetRowBuffer() *rowBuffer {
function PutRowBuffer (line 152) | func PutRowBuffer(rb *rowBuffer) {
function decodeFieldType (line 723) | func decodeFieldType(typ byte, name string, pos []uint64, value []byte) ...
function frequencyFromTokenFreq (line 741) | func frequencyFromTokenFreq(tf *index.TokenFreq) int {
function init (line 1044) | func init() {
function backIndexRowForDoc (line 1051) | func backIndexRowForDoc(kvreader store.KVReader, docID index.IndexIntern...
FILE: index/upsidedown/upsidedown.pb.go
constant _ (line 21) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
constant _ (line 23) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
type BackIndexTermsEntry (line 30) | type BackIndexTermsEntry struct
method Reset (line 38) | func (x *BackIndexTermsEntry) Reset() {
method String (line 45) | func (x *BackIndexTermsEntry) String() string {
method ProtoMessage (line 49) | func (*BackIndexTermsEntry) ProtoMessage() {}
method ProtoReflect (line 51) | func (x *BackIndexTermsEntry) ProtoReflect() protoreflect.Message {
method Descriptor (line 64) | func (*BackIndexTermsEntry) Descriptor() ([]byte, []int) {
method GetField (line 68) | func (x *BackIndexTermsEntry) GetField() uint32 {
method GetTerms (line 75) | func (x *BackIndexTermsEntry) GetTerms() []string {
method MarshalTo (line 82) | func (x *BackIndexTermsEntry) MarshalTo(data []byte) (n int, err error) {
method Size (line 112) | func (x *BackIndexTermsEntry) Size() (n int) {
type BackIndexStoreEntry (line 127) | type BackIndexStoreEntry struct
method Reset (line 135) | func (x *BackIndexStoreEntry) Reset() {
method String (line 142) | func (x *BackIndexStoreEntry) String() string {
method ProtoMessage (line 146) | func (*BackIndexStoreEntry) ProtoMessage() {}
method ProtoReflect (line 148) | func (x *BackIndexStoreEntry) ProtoReflect() protoreflect.Message {
method Descriptor (line 161) | func (*BackIndexStoreEntry) Descriptor() ([]byte, []int) {
method GetField (line 165) | func (x *BackIndexStoreEntry) GetField() uint32 {
method GetArrayPositions (line 172) | func (x *BackIndexStoreEntry) GetArrayPositions() []uint64 {
method MarshalTo (line 179) | func (x *BackIndexStoreEntry) MarshalTo(data []byte) (n int, err error) {
method Size (line 201) | func (x *BackIndexStoreEntry) Size() (n int) {
type BackIndexRowValue (line 215) | type BackIndexRowValue struct
method Reset (line 223) | func (x *BackIndexRowValue) Reset() {
method String (line 230) | func (x *BackIndexRowValue) String() string {
method ProtoMessage (line 234) | func (*BackIndexRowValue) ProtoMessage() {}
method ProtoReflect (line 236) | func (x *BackIndexRowValue) ProtoReflect() protoreflect.Message {
method Descriptor (line 249) | func (*BackIndexRowValue) Descriptor() ([]byte, []int) {
method GetTermsEntries (line 253) | func (x *BackIndexRowValue) GetTermsEntries() []*BackIndexTermsEntry {
method GetStoredEntries (line 260) | func (x *BackIndexRowValue) GetStoredEntries() []*BackIndexStoreEntry {
method MarshalTo (line 267) | func (x *BackIndexRowValue) MarshalTo(data []byte) (n int, err error) {
method Size (line 299) | func (x *BackIndexRowValue) Size() (n int) {
function skipUpsidedown (line 317) | func skipUpsidedown(data []byte) (n int, err error) {
function sovUpsidedown (line 405) | func sovUpsidedown(x uint64) (n int) {
function encodeVarintUpsidedown (line 416) | func encodeVarintUpsidedown(data []byte, offset int, v uint64) int {
constant file_index_upsidedown_upsidedown_proto_rawDesc (line 428) | file_index_upsidedown_upsidedown_proto_rawDesc = "" +
function file_index_upsidedown_upsidedown_proto_rawDescGZIP (line 446) | func file_index_upsidedown_upsidedown_proto_rawDescGZIP() []byte {
function init (line 469) | func init() { file_index_upsidedown_upsidedown_proto_init() }
function file_index_upsidedown_upsidedown_proto_init (line 470) | func file_index_upsidedown_upsidedown_proto_init() {
FILE: index/upsidedown/upsidedown_test.go
function TestIndexOpenReopen (line 42) | func TestIndexOpenReopen(t *testing.T) {
function TestIndexInsert (line 109) | func TestIndexInsert(t *testing.T) {
function TestIndexInsertThenDelete (line 185) | func TestIndexInsertThenDelete(t *testing.T) {
function TestIndexInsertThenUpdate (line 313) | func TestIndexInsertThenUpdate(t *testing.T) {
function TestIndexInsertMultiple (line 381) | func TestIndexInsertMultiple(t *testing.T) {
function TestIndexInsertWithStore (line 473) | func TestIndexInsertWithStore(t *testing.T) {
function TestIndexInternalCRUD (line 577) | func TestIndexInternalCRUD(t *testing.T) {
function TestIndexBatch (line 671) | func TestIndexBatch(t *testing.T) {
function TestIndexInsertUpdateDeleteWithMultipleTypesStored (line 772) | func TestIndexInsertUpdateDeleteWithMultipleTypesStored(t *testing.T) {
function TestIndexInsertFields (line 998) | func TestIndexInsertFields(t *testing.T) {
function TestIndexUpdateComposites (line 1057) | func TestIndexUpdateComposites(t *testing.T) {
function TestIndexFieldsMisc (line 1155) | func TestIndexFieldsMisc(t *testing.T) {
function TestIndexTermReaderCompositeFields (line 1201) | func TestIndexTermReaderCompositeFields(t *testing.T) {
function TestIndexDocValueReader (line 1262) | func TestIndexDocValueReader(t *testing.T) {
function BenchmarkBatch (line 1327) | func BenchmarkBatch(b *testing.B) {
function TestConcurrentUpdate (line 1362) | func TestConcurrentUpdate(t *testing.T) {
function TestLargeField (line 1424) | func TestLargeField(t *testing.T) {
function TestIndexBatchPersistedCallbackWithErrorUpsideDown (line 1464) | func TestIndexBatchPersistedCallbackWithErrorUpsideDown(t *testing.T) {
type fieldTerms (line 1509) | type fieldTerms
method FieldsNotYetCached (line 1512) | func (f fieldTerms) FieldsNotYetCached(fields []string) []string {
method Merge (line 1525) | func (f fieldTerms) Merge(other fieldTerms) {
FILE: index_alias.go
type IndexAlias (line 31) | type IndexAlias interface
FILE: index_alias_impl.go
type indexAliasImpl (line 31) | type indexAliasImpl struct
method VisitIndexes (line 54) | func (i *indexAliasImpl) VisitIndexes(visit func(Index)) {
method isAliasToSingleIndex (line 62) | func (i *indexAliasImpl) isAliasToSingleIndex() error {
method Index (line 71) | func (i *indexAliasImpl) Index(id string, data interface{}) error {
method IndexSynonym (line 87) | func (i *indexAliasImpl) IndexSynonym(id string, collection string, de...
method Delete (line 106) | func (i *indexAliasImpl) Delete(id string) error {
method Batch (line 122) | func (i *indexAliasImpl) Batch(b *Batch) error {
method Document (line 138) | func (i *indexAliasImpl) Document(id string) (index.Document, error) {
method DocCount (line 154) | func (i *indexAliasImpl) DocCount() (uint64, error) {
method Search (line 175) | func (i *indexAliasImpl) Search(req *SearchRequest) (*SearchResult, er...
method SearchInContext (line 179) | func (i *indexAliasImpl) SearchInContext(ctx context.Context, req *Sea...
method Fields (line 312) | func (i *indexAliasImpl) Fields() ([]string, error) {
method FieldDict (line 328) | func (i *indexAliasImpl) FieldDict(field string) (index.FieldDict, err...
method FieldDictRange (line 354) | func (i *indexAliasImpl) FieldDictRange(field string, startTerm []byte...
method FieldDictPrefix (line 380) | func (i *indexAliasImpl) FieldDictPrefix(field string, termPrefix []by...
method Close (line 406) | func (i *indexAliasImpl) Close() error {
method SetIndexMapping (line 418) | func (i *indexAliasImpl) SetIndexMapping(m mapping.IndexMapping) error {
method Mapping (line 428) | func (i *indexAliasImpl) Mapping() mapping.IndexMapping {
method Stats (line 449) | func (i *indexAliasImpl) Stats() *IndexStat {
method StatsMap (line 465) | func (i *indexAliasImpl) StatsMap() map[string]interface{} {
method GetInternal (line 481) | func (i *indexAliasImpl) GetInternal(key []byte) ([]byte, error) {
method SetInternal (line 497) | func (i *indexAliasImpl) SetInternal(key, val []byte) error {
method DeleteInternal (line 513) | func (i *indexAliasImpl) DeleteInternal(key []byte) error {
method Advanced (line 529) | func (i *indexAliasImpl) Advanced() (index.Index, error) {
method Add (line 545) | func (i *indexAliasImpl) Add(indexes ...Index) {
method removeSingle (line 552) | func (i *indexAliasImpl) removeSingle(index Index) {
method Remove (line 561) | func (i *indexAliasImpl) Remove(indexes ...Index) {
method Swap (line 570) | func (i *indexAliasImpl) Swap(in, out []Index) {
method NewBatch (line 1104) | func (i *indexAliasImpl) NewBatch() *Batch {
method Name (line 1120) | func (i *indexAliasImpl) Name() string {
method SetName (line 1124) | func (i *indexAliasImpl) SetName(name string) {
method TermFrequencies (line 1152) | func (i *indexAliasImpl) TermFrequencies(field string, limit int, desc...
method CentroidCardinalities (line 1231) | func (i *indexAliasImpl) CentroidCardinalities(field string, limit int...
function NewIndexAlias (line 44) | func NewIndexAlias(indexes ...Index) *indexAliasImpl {
function createChildSearchRequest (line 591) | func createChildSearchRequest(req *SearchRequest, preSearchData map[stri...
type asyncSearchResult (line 595) | type asyncSearchResult struct
type preSearchFlags (line 602) | type preSearchFlags struct
function isBM25Enabled (line 608) | func isBM25Enabled(m mapping.IndexMapping) bool {
function preSearchRequired (line 618) | func preSearchRequired(ctx context.Context, req *SearchRequest, m mappin...
function preSearch (line 660) | func preSearch(ctx context.Context, req *SearchRequest, flags *preSearch...
function finalizeSearchResult (line 682) | func finalizeSearchResult(ctx context.Context, req *SearchRequest, preSe...
function requestSatisfiedByPreSearch (line 736) | func requestSatisfiedByPreSearch(req *SearchRequest, flags *preSearchFla...
function constructSynonymPreSearchData (line 751) | func constructSynonymPreSearchData(rv map[string]map[string]interface{},...
function constructBM25PreSearchData (line 758) | func constructBM25PreSearchData(rv map[string]map[string]interface{}, sr...
function constructPreSearchData (line 771) | func constructPreSearchData(req *SearchRequest, flags *preSearchFlags,
function constructPreSearchDataAndFusionKnnHits (line 801) | func constructPreSearchDataAndFusionKnnHits(req *SearchRequest, flags *p...
function preSearchDataSearch (line 822) | func preSearchDataSearch(ctx context.Context, req *SearchRequest, flags ...
function redistributePreSearchData (line 906) | func redistributePreSearchData(req *SearchRequest, indexes []Index) (map...
function finalizePreSearchResult (line 943) | func finalizePreSearchResult(req *SearchRequest, flags *preSearchFlags, ...
function hitsInCurrentPage (line 955) | func hitsInCurrentPage(req *SearchRequest, hits []*search.DocumentMatch)...
type multiSearchParams (line 976) | type multiSearchParams struct
function MultiSearch (line 984) | func MultiSearch(ctx context.Context, req *SearchRequest, params *multiS...
type indexAliasImplFieldDict (line 1128) | type indexAliasImplFieldDict struct
method BytesRead (line 1133) | func (f *indexAliasImplFieldDict) BytesRead() uint64 {
method Next (line 1137) | func (f *indexAliasImplFieldDict) Next() (*index.DictEntry, error) {
method Close (line 1141) | func (f *indexAliasImplFieldDict) Close() error {
method Cardinality (line 1146) | func (f *indexAliasImplFieldDict) Cardinality() int {
FILE: index_alias_impl_test.go
function TestIndexAliasSingle (line 31) | func TestIndexAliasSingle(t *testing.T) {
function TestIndexAliasClosed (line 251) | func TestIndexAliasClosed(t *testing.T) {
function TestIndexAliasEmpty (line 322) | func TestIndexAliasEmpty(t *testing.T) {
function TestIndexAliasMulti (line 392) | func TestIndexAliasMulti(t *testing.T) {
function TestMultiSearchNoError (line 534) | func TestMultiSearchNoError(t *testing.T) {
function TestMultiSearchSomeError (line 609) | func TestMultiSearchSomeError(t *testing.T) {
function TestMultiSearchAllError (line 651) | func TestMultiSearchAllError(t *testing.T) {
function TestMultiSearchSecondPage (line 679) | func TestMultiSearchSecondPage(t *testing.T) {
function TestMultiSearchTimeout (line 721) | func TestMultiSearchTimeout(t *testing.T) {
function TestMultiSearchTimeoutPartial (line 864) | func TestMultiSearchTimeoutPartial(t *testing.T) {
function TestIndexAliasMultipleLayer (line 982) | func TestIndexAliasMultipleLayer(t *testing.T) {
function TestMultiSearchCustomSort (line 1142) | func TestMultiSearchCustomSort(t *testing.T) {
type stubIndex (line 1245) | type stubIndex struct
method Index (line 1254) | func (i *stubIndex) Index(id string, data interface{}) error {
method Delete (line 1258) | func (i *stubIndex) Delete(id string) error {
method Batch (line 1262) | func (i *stubIndex) Batch(b *Batch) error {
method Document (line 1266) | func (i *stubIndex) Document(id string) (index.Document, error) {
method DocCount (line 1273) | func (i *stubIndex) DocCount() (uint64, error) {
method Search (line 1280) | func (i *stubIndex) Search(req *SearchRequest) (*SearchResult, error) {
method SearchInContext (line 1284) | func (i *stubIndex) SearchInContext(ctx context.Context, req *SearchRe...
method Fields (line 1297) | func (i *stubIndex) Fields() ([]string, error) {
method FieldDict (line 1301) | func (i *stubIndex) FieldDict(field string) (index.FieldDict, error) {
method FieldDictRange (line 1305) | func (i *stubIndex) FieldDictRange(field string, startTerm []byte, end...
method FieldDictPrefix (line 1309) | func (i *stubIndex) FieldDictPrefix(field string, termPrefix []byte) (...
method Close (line 1313) | func (i *stubIndex) Close() error {
method Mapping (line 1317) | func (i *stubIndex) Mapping() mapping.IndexMapping {
method Stats (line 1321) | func (i *stubIndex) Stats() *IndexStat {
method StatsMap (line 1325) | func (i *stubIndex) StatsMap() map[string]interface{} {
method GetInternal (line 1329) | func (i *stubIndex) GetInternal(key []byte) ([]byte, error) {
method SetInternal (line 1333) | func (i *stubIndex) SetInternal(key, val []byte) error {
method DeleteInternal (line 1337) | func (i *stubIndex) DeleteInternal(key []byte) error {
method Advanced (line 1341) | func (i *stubIndex) Advanced() (index.Index, error) {
method NewBatch (line 1345) | func (i *stubIndex) NewBatch() *Batch {
method Name (line 1349) | func (i *stubIndex) Name() string {
method SetName (line 1353) | func (i *stubIndex) SetName(name string) {
FILE: index_impl.go
type indexImpl (line 48) | type indexImpl struct
method Advanced (line 302) | func (i *indexImpl) Advanced() (index.Index, error) {
method Mapping (line 308) | func (i *indexImpl) Mapping() mapping.IndexMapping {
method Index (line 315) | func (i *indexImpl) Index(id string, data interface{}) (err error) {
method IndexSynonym (line 340) | func (i *indexImpl) IndexSynonym(id string, collection string, definit...
method IndexAdvanced (line 374) | func (i *indexImpl) IndexAdvanced(doc *document.Document) (err error) {
method Delete (line 392) | func (i *indexImpl) Delete(id string) (err error) {
method Batch (line 412) | func (i *indexImpl) Batch(b *Batch) error {
method Document (line 427) | func (i *indexImpl) Document(id string) (doc index.Document, err error) {
method DocCount (line 453) | func (i *indexImpl) DocCount() (count uint64, err error) {
method Search (line 478) | func (i *indexImpl) Search(req *SearchRequest) (sr *SearchResult, err ...
method preSearch (line 546) | func (i *indexImpl) preSearch(ctx context.Context, req *SearchRequest,...
method SearchInContext (line 606) | func (i *indexImpl) SearchInContext(ctx context.Context, req *SearchRe...
method Fields (line 1164) | func (i *indexImpl) Fields() (fields []string, err error) {
method FieldDict (line 1189) | func (i *indexImpl) FieldDict(field string) (index.FieldDict, error) {
method FieldDictRange (line 1216) | func (i *indexImpl) FieldDictRange(field string, startTerm []byte, end...
method FieldDictPrefix (line 1243) | func (i *indexImpl) FieldDictPrefix(field string, termPrefix []byte) (...
method Close (line 1270) | func (i *indexImpl) Close() error {
method Stats (line 1280) | func (i *indexImpl) Stats() *IndexStat {
method StatsMap (line 1284) | func (i *indexImpl) StatsMap() map[string]interface{} {
method GetInternal (line 1288) | func (i *indexImpl) GetInternal(key []byte) (val []byte, err error) {
method SetInternal (line 1313) | func (i *indexImpl) SetInternal(key, val []byte) error {
method DeleteInternal (line 1324) | func (i *indexImpl) DeleteInternal(key []byte) error {
method NewBatch (line 1336) | func (i *indexImpl) NewBatch() *Batch {
method Name (line 1343) | func (i *indexImpl) Name() string {
method SetName (line 1347) | func (i *indexImpl) SetName(name string) {
method CopyTo (line 1419) | func (i *indexImpl) CopyTo(d index.Directory) (err error) {
method FireIndexEvent (line 1467) | func (i *indexImpl) FireIndexEvent() {
method TermFrequencies (line 1482) | func (i *indexImpl) TermFrequencies(field string, limit int, descendin...
method CentroidCardinalities (line 1509) | func (i *indexImpl) CentroidCardinalities(field string, limit int, des...
method buildTopNCollector (line 1545) | func (i *indexImpl) buildTopNCollector(ctx context.Context, req *Searc...
constant storePath (line 59) | storePath = "store"
constant SearchQueryStartCallbackKey (line 62) | SearchQueryStartCallbackKey search.ContextKey = "_search_query_start_cal...
constant SearchQueryEndCallbackKey (line 63) | SearchQueryEndCallbackKey search.ContextKey = "_search_query_end_callb...
type SearchQueryStartCallbackFn (line 67) | type SearchQueryStartCallbackFn
type SearchQueryEndCallbackFn (line 68) | type SearchQueryEndCallbackFn
function indexStorePath (line 71) | func indexStorePath(path string) string {
function newIndexUsing (line 75) | func newIndexUsing(path string, mapping mapping.IndexMapping, indexType ...
function openIndexUsing (line 148) | func openIndexUsing(path string, runtimeConfig map[string]interface{}) (...
function init (line 489) | func init() {
function memNeededForSearch (line 505) | func memNeededForSearch(req *SearchRequest,
function LoadAndHighlightFields (line 1006) | func LoadAndHighlightFields(hit *search.DocumentMatch, req *SearchRequest,
constant NestedDocumentKey (line 1112) | NestedDocumentKey = "_$nested"
function LoadAndHighlightAllFields (line 1116) | func LoadAndHighlightAllFields(
type indexImplFieldDict (line 1353) | type indexImplFieldDict struct
method BytesRead (line 1359) | func (f *indexImplFieldDict) BytesRead() uint64 {
method Next (line 1363) | func (f *indexImplFieldDict) Next() (*index.DictEntry, error) {
method Close (line 1367) | func (f *indexImplFieldDict) Close() error {
method Cardinality (line 1376) | func (f *indexImplFieldDict) Cardinality() int {
function deDuplicate (line 1381) | func deDuplicate(fields []string) []string {
type searchHitSorter (line 1396) | type searchHitSorter struct
method Len (line 1412) | func (m *searchHitSorter) Len() int { return len(m.hits) }
method Swap (line 1413) | func (m *searchHitSorter) Swap(i, j int) { m.hits[i], m.hits[j] = m.hi...
method Less (line 1414) | func (m *searchHitSorter) Less(i, j int) bool {
function newSearchHitSorter (line 1403) | func newSearchHitSorter(sort search.SortOrder, hits search.DocumentMatch...
method GetWriter (line 1452) | func (f FileSystemDirectory) GetWriter(filePath string) (io.WriteCloser,
FILE: index_meta.go
constant metaFilename (line 27) | metaFilename = "index_meta.json"
type indexMeta (line 29) | type indexMeta struct
method Save (line 63) | func (i *indexMeta) Save(path string) (err error) {
method CopyTo (line 96) | func (i *indexMeta) CopyTo(d index.Directory) (err error) {
function newIndexMeta (line 35) | func newIndexMeta(indexType string, storage string, config map[string]in...
function openIndexMeta (line 43) | func openIndexMeta(path string) (*indexMeta, error) {
function indexMetaPath (line 113) | func indexMetaPath(path string) string {
FILE: index_meta_test.go
function TestIndexMeta (line 22) | func TestIndexMeta(t *testing.T) {
FILE: index_stats.go
type IndexStat (line 23) | type IndexStat struct
method statsMap (line 29) | func (is *IndexStat) statsMap() map[string]interface{} {
method MarshalJSON (line 37) | func (is *IndexStat) MarshalJSON() ([]byte, error) {
type IndexStats (line 42) | type IndexStats struct
method Register (line 53) | func (i *IndexStats) Register(index Index) {
method UnRegister (line 59) | func (i *IndexStats) UnRegister(index Index) {
method String (line 65) | func (i *IndexStats) String() string {
function NewIndexStats (line 47) | func NewIndexStats() *IndexStats {
FILE: index_test.go
type Fatalfable (line 47) | type Fatalfable interface
function createTmpIndexPath (line 51) | func createTmpIndexPath(f Fatalfable) string {
function cleanupTmpIndexPath (line 59) | func cleanupTmpIndexPath(f Fatalfable, path string) {
function TestCrud (line 66) | func TestCrud(t *testing.T) {
function approxSame (line 232) | func approxSame(actual, expected uint64) bool {
function checkStatsOnIndexedBatch (line 243) | func checkStatsOnIndexedBatch(indexPath string, indexMapping mapping.Ind...
function TestBytesWritten (line 278) | func TestBytesWritten(t *testing.T) {
function createIndexMappingOnSampleData (line 354) | func createIndexMappingOnSampleData() *mapping.IndexMappingImpl {
function TestBM25TFIDFScoring (line 377) | func TestBM25TFIDFScoring(t *testing.T) {
function TestBM25GlobalScoring (line 447) | func TestBM25GlobalScoring(t *testing.T) {
function TestBytesRead (line 563) | func TestBytesRead(t *testing.T) {
function TestBytesReadStored (line 723) | func TestBytesReadStored(t *testing.T) {
function readDataFromFile (line 884) | func readDataFromFile(fileName string) ([]map[string]interface{}, error) {
function getBatchFromData (line 905) | func getBatchFromData(idx Index, fileName string) (*Batch, error) {
function TestIndexCreateNewOverExisting (line 918) | func TestIndexCreateNewOverExisting(t *testing.T) {
function TestIndexOpenNonExisting (line 936) | func TestIndexOpenNonExisting(t *testing.T) {
function TestIndexOpenMetaMissingOrCorrupt (line 943) | func TestIndexOpenMetaMissingOrCorrupt(t *testing.T) {
function TestInMemIndex (line 992) | func TestInMemIndex(t *testing.T) {
function TestClosedIndex (line 1003) | func TestClosedIndex(t *testing.T) {
type slowQuery (line 1050) | type slowQuery struct
method Searcher (line 1055) | func (s *slowQuery) Searcher(ctx context.Context, i index.IndexReader,...
function TestSlowSearch (line 1060) | func TestSlowSearch(t *testing.T) {
type sawDataWriter (line 1112) | type sawDataWriter struct
method Write (line 1116) | func (s *sawDataWriter) Write(p []byte) (n int, err error) {
function TestStoredFieldPreserved (line 1121) | func TestStoredFieldPreserved(t *testing.T) {
function TestDict (line 1172) | func TestDict(t *testing.T) {
function TestBatchString (line 1295) | func TestBatchString(t *testing.T) {
function TestIndexMetadataRaceBug198 (line 1337) | func TestIndexMetadataRaceBug198(t *testing.T) {
function TestSortMatchSearch (line 1388) | func TestSortMatchSearch(t *testing.T) {
function TestIndexCountMatchSearch (line 1437) | func TestIndexCountMatchSearch(t *testing.T) {
function TestBatchReset (line 1508) | func TestBatchReset(t *testing.T) {
function TestDocumentFieldArrayPositions (line 1547) | func TestDocumentFieldArrayPositions(t *testing.T) {
function TestKeywordSearchBug207 (line 1652) | func TestKeywordSearchBug207(t *testing.T) {
function TestTermVectorArrayPositions (line 1746) | func TestTermVectorArrayPositions(t *testing.T) {
function TestDocumentStaticMapping (line 1819) | func TestDocumentStaticMapping(t *testing.T) {
function TestIndexEmptyDocId (line 1876) | func TestIndexEmptyDocId(t *testing.T) {
function TestDateTimeFieldMappingIssue287 (line 1917) | func TestDateTimeFieldMappingIssue287(t *testing.T) {
function TestDocumentFieldArrayPositionsBug295 (line 1996) | func TestDocumentFieldArrayPositionsBug295(t *testing.T) {
function TestBooleanFieldMappingIssue109 (line 2076) | func TestBooleanFieldMappingIssue109(t *testing.T) {
function TestSearchTimeout (line 2138) | func TestSearchTimeout(t *testing.T) {
function TestConfigCache (line 2191) | func TestConfigCache(t *testing.T) {
function TestBatchRaceBug260 (line 2202) | func TestBatchRaceBug260(t *testing.T) {
function BenchmarkBatchOverhead (line 2236) | func BenchmarkBatchOverhead(b *testing.B) {
function TestOpenReadonlyMultiple (line 2261) | func TestOpenReadonlyMultiple(t *testing.T) {
function TestBug408 (line 2313) | func TestBug408(t *testing.T) {
function TestIndexAdvancedCountMatchSearch (line 2376) | func TestIndexAdvancedCountMatchSearch(t *testing.T) {
function benchmarkSearchOverhead (line 2449) | func benchmarkSearchOverhead(indexType string, b *testing.B) {
function BenchmarkUpsidedownSearchOverhead (line 2489) | func BenchmarkUpsidedownSearchOverhead(b *testing.B) {
function BenchmarkScorchSearchOverhead (line 2493) | func BenchmarkScorchSearchOverhead(b *testing.B) {
function TestSearchQueryCallback (line 2497) | func TestSearchQueryCallback(t *testing.T) {
function TestBatchMerge (line 2530) | func TestBatchMerge(t *testing.T) {
function TestBug1096 (line 2678) | func TestBug1096(t *testing.T) {
function TestDataRaceBug1092 (line 2750) | func TestDataRaceBug1092(t *testing.T) {
function TestBatchRaceBug1149 (line 2780) | func TestBatchRaceBug1149(t *testing.T) {
function TestBatchRaceBug1149Scorch (line 2796) | func TestBatchRaceBug1149Scorch(t *testing.T) {
function testBatchRaceBug1149 (line 2812) | func testBatchRaceBug1149(t *testing.T, i Index) {
function TestOptimisedConjunctionSearchHits (line 2827) | func TestOptimisedConjunctionSearchHits(t *testing.T) {
function TestIndexMappingDocValuesDynamic (line 2930) | func TestIndexMappingDocValuesDynamic(t *testing.T) {
function TestCopyIndex (line 2966) | func TestCopyIndex(t *testing.T) {
function TestFuzzyScoring (line 3190) | func TestFuzzyScoring(t *testing.T) {
FILE: index_update.go
type pathInfo (line 27) | type pathInfo struct
type fieldMapInfo (line 37) | type fieldMapInfo struct
function DeletedFields (line 46) | func DeletedFields(ori, upd *mapping.IndexMappingImpl) (map[string]*inde...
function compareMappings (line 126) | func compareMappings(ori, upd *mapping.IndexMappingImpl) error {
function checkUpdatedMapping (line 169) | func checkUpdatedMapping(ori, upd *mapping.DocumentMapping) error {
function addPathInfo (line 216) | func addPathInfo(paths map[string]*pathInfo, name string, mp *mapping.Do...
function compareCustomComponents (line 266) | func compareCustomComponents(oriPaths, updPaths map[string]*pathInfo, or...
function compareAnalysers (line 297) | func compareAnalysers(oriPaths, updPaths map[string]*pathInfo, ori, upd ...
function compareDateTimeParsers (line 334) | func compareDateTimeParsers(oriPaths, updPaths map[string]*pathInfo, ori...
function compareSynonymSources (line 374) | func compareSynonymSources(ori, upd *mapping.IndexMappingImpl) error {
function compareAnalyserSubcomponents (line 384) | func compareAnalyserSubcomponents(ori, upd *mapping.IndexMappingImpl) er...
function addFieldInfo (line 405) | func addFieldInfo(fInfo map[string]*index.UpdateFieldInfo, ori, upd *pat...
function compareFieldMapping (line 476) | func compareFieldMapping(original, updated *mapping.FieldMapping) (*inde...
function validateFieldInfo (line 567) | func validateFieldInfo(newInfo *index.UpdateFieldInfo, fInfo map[string]...
FILE: index_update_test.go
function TestCompareFieldMapping (line 40) | func TestCompareFieldMapping(t *testing.T) {
function TestCompareMappings (line 258) | func TestCompareMappings(t *testing.T) {
function TestCompareAnalysers (line 364) | func TestCompareAnalysers(t *testing.T) {
function TestCompareDatetimeParsers (line 517) | func TestCompareDatetimeParsers(t *testing.T) {
function TestCompareSynonymSources (line 684) | func TestCompareSynonymSources(t *testing.T) {
function TestDeletedFields (line 783) | func TestDeletedFields(t *testing.T) {
function TestIndexUpdateText (line 2315) | func TestIndexUpdateText(t *testing.T) {
function TestIndexUpdateSynonym (line 2540) | func TestIndexUpdateSynonym(t *testing.T) {
function TestIndexUpdateMerge (line 2702) | func TestIndexUpdateMerge(t *testing.T) {
function BenchmarkIndexUpdateText (line 2954) | func BenchmarkIndexUpdateText(b *testing.B) {
function TestIndexUpdateNestedMapping (line 3086) | func TestIndexUpdateNestedMapping(t *testing.T) {
function TestTemp (line 3216) | func TestTemp(t *testing.T) {
FILE: mapping.go
function NewIndexMapping (line 20) | func NewIndexMapping() *mapping.IndexMappingImpl {
function NewDocumentMapping (line 26) | func NewDocumentMapping() *mapping.DocumentMapping {
function NewDocumentStaticMapping (line 33) | func NewDocumentStaticMapping() *mapping.DocumentMapping {
function NewNestedDocumentMapping (line 39) | func NewNestedDocumentMapping() *mapping.DocumentMapping {
function NewNestedDocumentStaticMapping (line 47) | func NewNestedDocumentStaticMapping() *mapping.DocumentMapping {
function NewDocumentDisabledMapping (line 53) | func NewDocumentDisabledMapping() *mapping.DocumentMapping {
function NewTextFieldMapping (line 58) | func NewTextFieldMapping() *mapping.FieldMapping {
function NewKeywordFieldMapping (line 64) | func NewKeywordFieldMapping() *mapping.FieldMapping {
function NewNumericFieldMapping (line 69) | func NewNumericFieldMapping() *mapping.FieldMapping {
function NewDateTimeFieldMapping (line 74) | func NewDateTimeFieldMapping() *mapping.FieldMapping {
function NewBooleanFieldMapping (line 79) | func NewBooleanFieldMapping() *mapping.FieldMapping {
function NewGeoPointFieldMapping (line 83) | func NewGeoPointFieldMapping() *mapping.FieldMapping {
function NewGeoShapeFieldMapping (line 87) | func NewGeoShapeFieldMapping() *mapping.FieldMapping {
function NewIPFieldMapping (line 91) | func NewIPFieldMapping() *mapping.FieldMapping {
FILE: mapping/analysis.go
type customAnalysis (line 17) | type customAnalysis struct
method registerAll (line 27) | func (c *customAnalysis) registerAll(i *IndexMappingImpl) error {
function newCustomAnalysis (line 96) | func newCustomAnalysis() *customAnalysis {
FILE: mapping/document.go
type DocumentMapping (line 43) | type DocumentMapping struct
method Validate (line 56) | func (dm *DocumentMapping) Validate(cache *registry.Cache,
method analyzerNameForPath (line 118) | func (dm *DocumentMapping) analyzerNameForPath(path string) string {
method synonymSourceForPath (line 129) | func (dm *DocumentMapping) synonymSourceForPath(path string) string {
method fieldDescribedByPath (line 137) | func (dm *DocumentMapping) fieldDescribedByPath(path string) *FieldMap...
method documentMappingForPathElements (line 184) | func (dm *DocumentMapping) documentMappingForPathElements(pathElements...
method documentMappingForPath (line 219) | func (dm *DocumentMapping) documentMappingForPath(path string) (
method AddSubDocumentMapping (line 274) | func (dm *DocumentMapping) AddSubDocumentMapping(property string, sdm ...
method AddFieldMappingsAt (line 291) | func (dm *DocumentMapping) AddFieldMappingsAt(property string, fms ......
method AddFieldMapping (line 307) | func (dm *DocumentMapping) AddFieldMapping(fm *FieldMapping) {
method UnmarshalJSON (line 315) | func (dm *DocumentMapping) UnmarshalJSON(data []byte) error {
method defaultAnalyzerName (line 381) | func (dm *DocumentMapping) defaultAnalyzerName(path []string) string {
method defaultSynonymSource (line 397) | func (dm *DocumentMapping) defaultSynonymSource(path []string) string {
method walkDocument (line 425) | func (dm *DocumentMapping) walkDocument(data interface{}, path []strin...
method processProperty (line 530) | func (dm *DocumentMapping) processProperty(property interface{}, path ...
function validateFieldType (line 105) | func validateFieldType(field *FieldMapping) error {
function NewDocumentMapping (line 228) | func NewDocumentMapping() *DocumentMapping {
function NewNestedDocumentMapping (line 238) | func NewNestedDocumentMapping() *DocumentMapping {
function NewDocumentStaticMapping (line 249) | func NewDocumentStaticMapping() *DocumentMapping {
function NewNestedDocumentStaticMapping (line 259) | func NewNestedDocumentStaticMapping() *DocumentMapping {
function NewDocumentDisabledMapping (line 268) | func NewDocumentDisabledMapping() *DocumentMapping {
function baseType (line 414) | func baseType(v interface{}) reflect.Type {
FILE: mapping/examples_test.go
function ExampleDocumentMapping_AddSubDocumentMapping (line 21) | func ExampleDocumentMapping_AddSubDocumentMapping() {
function ExampleDocumentMapping_AddFieldMapping (line 33) | func ExampleDocumentMapping_AddFieldMapping() {
function ExampleDocumentMapping_AddFieldMappingsAt (line 48) | func ExampleDocumentMapping_AddFieldMappingsAt() {
FILE: mapping/field.go
type FieldMapping (line 41) | type FieldMapping struct
method Options (line 212) | func (fm *FieldMapping) Options() index.FieldIndexingOptions {
method processString (line 232) | func (fm *FieldMapping) processString(propertyValueString string, path...
method processFloat64 (line 265) | func (fm *FieldMapping) processFloat64(propertyValFloat float64, pathS...
method processTime (line 278) | func (fm *FieldMapping) processTime(propertyValueTime time.Time, layou...
method processBoolean (line 295) | func (fm *FieldMapping) processBoolean(propertyValueBool bool, pathStr...
method processGeoPoint (line 308) | func (fm *FieldMapping) processGeoPoint(propertyMightBeGeoPoint interf...
method processIP (line 322) | func (fm *FieldMapping) processIP(ip net.IP, pathString string, path [...
method processGeoShape (line 333) | func (fm *FieldMapping) processGeoShape(propertyMightBeGeoShape interf...
method analyzerForField (line 378) | func (fm *FieldMapping) analyzerForField(path []string, context *walkC...
method UnmarshalJSON (line 402) | func (fm *FieldMapping) UnmarshalJSON(data []byte) error {
function NewTextFieldMapping (line 89) | func NewTextFieldMapping() *FieldMapping {
function newTextFieldMappingDynamic (line 100) | func newTextFieldMappingDynamic(im *IndexMappingImpl) *FieldMapping {
function NewKeywordFieldMapping (line 109) | func NewKeywordFieldMapping() *FieldMapping {
function NewNumericFieldMapping (line 122) | func NewNumericFieldMapping() *FieldMapping {
function newNumericFieldMappingDynamic (line 132) | func newNumericFieldMappingDynamic(im *IndexMappingImpl) *FieldMapping {
function NewDateTimeFieldMapping (line 141) | func NewDateTimeFieldMapping() *FieldMapping {
function newDateTimeFieldMappingDynamic (line 151) | func newDateTimeFieldMappingDynamic(im *IndexMappingImpl) *FieldMapping {
function NewBooleanFieldMapping (line 160) | func NewBooleanFieldMapping() *FieldMapping {
function newBooleanFieldMappingDynamic (line 170) | func newBooleanFieldMappingDynamic(im *IndexMappingImpl) *FieldMapping {
function NewGeoPointFieldMapping (line 179) | func NewGeoPointFieldMapping() *FieldMapping {
function NewGeoShapeFieldMapping (line 191) | func NewGeoShapeFieldMapping() *FieldMapping {
function NewIPFieldMapping (line 202) | func NewIPFieldMapping() *FieldMapping {
function getFieldName (line 389) | func getFieldName(pathString string, path []string, fieldMapping *FieldM...
FILE: mapping/index.go
constant defaultTypeField (line 34) | defaultTypeField = "_type"
constant defaultType (line 35) | defaultType = "_default"
constant defaultField (line 36) | defaultField = "_all"
constant defaultAnalyzer (line 37) | defaultAnalyzer = standard.Name
constant defaultDateTimeParser (line 38) | defaultDateTimeParser = optional.Name
type IndexMappingImpl (line 47) | type IndexMappingImpl struct
method AddCustomCharFilter (line 65) | func (im *IndexMappingImpl) AddCustomCharFilter(name string, config ma...
method AddCustomTokenizer (line 75) | func (im *IndexMappingImpl) AddCustomTokenizer(name string, config map...
method AddCustomTokenMap (line 85) | func (im *IndexMappingImpl) AddCustomTokenMap(name string, config map[...
method AddCustomTokenFilter (line 95) | func (im *IndexMappingImpl) AddCustomTokenFilter(name string, config m...
method AddCustomAnalyzer (line 133) | func (im *IndexMappingImpl) AddCustomAnalyzer(name string, config map[...
method AddCustomDateTimeParser (line 143) | func (im *IndexMappingImpl) AddCustomDateTimeParser(name string, confi...
method AddSynonymSource (line 152) | func (im *IndexMappingImpl) AddSynonymSource(name string, config map[s...
method Validate (line 181) | func (im *IndexMappingImpl) Validate() error {
method AddDocumentMapping (line 227) | func (im *IndexMappingImpl) AddDocumentMapping(doctype string, dm *Doc...
method mappingForType (line 231) | func (im *IndexMappingImpl) mappingForType(docType string) *DocumentMa...
method UnmarshalJSON (line 240) | func (im *IndexMappingImpl) UnmarshalJSON(data []byte) error {
method determineType (line 348) | func (im *IndexMappingImpl) determineType(data interface{}) string {
method MapDocument (line 369) | func (im *IndexMappingImpl) MapDocument(doc *document.Document, data i...
method MapSynonymDocument (line 388) | func (im *IndexMappingImpl) MapSynonymDocument(doc *document.Document,...
method newWalkContext (line 413) | func (im *IndexMappingImpl) newWalkContext(doc *document.Document, dm ...
method AnalyzerNameForPath (line 426) | func (im *IndexMappingImpl) AnalyzerNameForPath(path string) string {
method AnalyzerNamed (line 466) | func (im *IndexMappingImpl) AnalyzerNamed(name string) analysis.Analyz...
method DateTimeParserNamed (line 475) | func (im *IndexMappingImpl) DateTimeParserNamed(name string) analysis....
method AnalyzeText (line 487) | func (im *IndexMappingImpl) AnalyzeText(analyzerName string, text []by...
method FieldAnalyzer (line 496) | func (im *IndexMappingImpl) FieldAnalyzer(field string) string {
method FieldMappingForPath (line 501) | func (im *IndexMappingImpl) FieldMappingForPath(path string) FieldMapp...
method DefaultSearchField (line 521) | func (im *IndexMappingImpl) DefaultSearchField() string {
method SynonymSourceNamed (line 525) | func (im *IndexMappingImpl) SynonymSourceNamed(name string) analysis.S...
method SynonymSourceForPath (line 534) | func (im *IndexMappingImpl) SynonymSourceForPath(path string) string {
method SynonymCount (line 575) | func (im *IndexMappingImpl) SynonymCount() int {
method SynonymSourceVisitor (line 580) | func (im *IndexMappingImpl) SynonymSourceVisitor(visitor analysis.Syno...
method buildNestedPrefixes (line 588) | func (im *IndexMappingImpl) buildNestedPrefixes() map[string]int {
method NestedDepth (line 619) | func (im *IndexMappingImpl) NestedDepth(fs search.FieldSet) (int, int) {
method CountNested (line 631) | func (im *IndexMappingImpl) CountNested() int {
method IntersectsPrefix (line 643) | func (im *IndexMappingImpl) IntersectsPrefix(fs search.FieldSet) bool {
function NewIndexMapping (line 162) | func NewIndexMapping() *IndexMappingImpl {
type walkContext (line 406) | type walkContext struct
FILE: mapping/mapping.go
type Classifier (line 29) | type Classifier interface
type bleveClassifier (line 37) | type bleveClassifier interface
function SetLog (line 45) | func SetLog(l *log.Logger) {
type IndexMapping (line 49) | type IndexMapping interface
type SynonymMapping (line 65) | type SynonymMapping interface
type NestedMapping (line 81) | type NestedMapping interface
FILE: mapping/mapping_no_vectors.go
function NewVectorFieldMapping (line 20) | func NewVectorFieldMapping() *FieldMapping {
function NewVectorBase64FieldMapping (line 24) | func NewVectorBase64FieldMapping() *FieldMapping {
method processVector (line 28) | func (fm *FieldMapping) processVector(propertyMightBeVector interface{},
method processVectorBase64 (line 33) | func (fm *FieldMapping) processVectorBase64(propertyMightBeVector interf...
function validateFieldMapping (line 41) | func validateFieldMapping(field *FieldMapping, path []string,
FILE: mapping/mapping_test.go
function buildMapping (line 58) | func buildMapping() IndexMapping {
function TestUnmarshalMappingJSON (line 75) | func TestUnmarshalMappingJSON(t *testing.T) {
function TestMappingStructWithJSONTags (line 88) | func TestMappingStructWithJSONTags(t *testing.T) {
function TestMappingStructWithJSONTagsOneDisabled (line 127) | func TestMappingStructWithJSONTagsOneDisabled(t *testing.T) {
function TestMappingStructWithAlternateTags (line 167) | func TestMappingStructWithAlternateTags(t *testing.T) {
function TestMappingStructWithAlternateTagsTwoDisabled (line 207) | func TestMappingStructWithAlternateTagsTwoDisabled(t *testing.T) {
function TestMappingStructWithPointerToString (line 249) | func TestMappingStructWithPointerToString(t *testing.T) {
function TestMappingJSONWithNull (line 282) | func TestMappingJSONWithNull(t *testing.T) {
function TestMappingForPath (line 314) | func TestMappingForPath(t *testing.T) {
function TestMappingWithTokenizerDeps (line 354) | func TestMappingWithTokenizerDeps(t *testing.T) {
function TestEnablingDisablingStoringDynamicFields (line 431) | func TestEnablingDisablingStoringDynamicFields(t *testing.T) {
function TestMappingBool (line 482) | func TestMappingBool(t *testing.T) {
function TestDisableDefaultMapping (line 526) | func TestDisableDefaultMapping(t *testing.T) {
function TestInvalidFieldMappingStrict (line 545) | func TestInvalidFieldMappingStrict(t *testing.T) {
function TestInvalidDocumentMappingStrict (line 581) | func TestInvalidDocumentMappingStrict(t *testing.T) {
function TestInvalidIndexMappingStrict (line 616) | func TestInvalidIndexMappingStrict(t *testing.T) {
function TestMappingBug353 (line 651) | func TestMappingBug353(t *testing.T) {
function TestAnonymousStructFields (line 698) | func TestAnonymousStructFields(t *testing.T) {
function TestAnonymousStructFieldWithJSONStructTagEmptString (line 792) | func TestAnonymousStructFieldWithJSONStructTagEmptString(t *testing.T) {
function TestMappingPrimitives (line 819) | func TestMappingPrimitives(t *testing.T) {
function TestMappingForGeo (line 853) | func TestMappingForGeo(t *testing.T) {
type textMarshalable (line 1001) | type textMarshalable struct
method MarshalText (line 1006) | func (t *textMarshalable) MarshalText() ([]byte, error) {
function TestMappingForTextMarshaler (line 1010) | func TestMappingForTextMarshaler(t *testing.T) {
function TestMappingForNilTextMarshaler (line 1067) | func TestMappingForNilTextMarshaler(t *testing.T) {
function TestClosestDocDynamicMapping (line 1091) | func TestClosestDocDynamicMapping(t *testing.T) {
function TestMappingPointerToTimeBug1152 (line 1114) | func TestMappingPointerToTimeBug1152(t *testing.T) {
function TestDefaultAnalyzerInheritance (line 1145) | func TestDefaultAnalyzerInheritance(t *testing.T) {
function TestWrongAnalyzerSearchableAs (line 1156) | func TestWrongAnalyzerSearchableAs(t *testing.T) {
function TestMappingArrayOfStringGeoPoints (line 1176) | func TestMappingArrayOfStringGeoPoints(t *testing.T) {
FILE: mapping/mapping_vectors.go
function NewVectorFieldMapping (line 38) | func NewVectorFieldMapping() *FieldMapping {
function NewVectorBase64FieldMapping (line 49) | func NewVectorBase64FieldMapping() *FieldMapping {
function processFlatVector (line 61) | func processFlatVector(vecV reflect.Value, dims int) ([]float32, bool) {
function processVector (line 85) | func processVector(vecI interface{}, dims int) ([]float32, bool) {
method processVector (line 138) | func (fm *FieldMapping) processVector(propertyMightBeVector interface{},
method processVectorBase64 (line 179) | func (fm *FieldMapping) processVectorBase64(propertyMightBeVectorBase64 ...
function validateFieldMapping (line 224) | func validateFieldMapping(field *FieldMapping, path []string,
function validateVectorFieldAlias (line 234) | func validateVectorFieldAlias(field *FieldMapping, path []string,
function NormalizeVector (line 319) | func NormalizeVector(vec []float32) []float32 {
function NormalizeMultiVector (line 331) | func NormalizeMultiVector(vec []float32, dims int) []float32 {
FILE: mapping/mapping_vectors_test.go
function TestVectorFieldAliasValidation (line 27) | func TestVectorFieldAliasValidation(t *testing.T) {
type vectorTest (line 951) | type vectorTest struct
function TestProcessVector (line 963) | func TestProcessVector(t *testing.T) {
function TestNormalizeVector (line 1049) | func TestNormalizeVector(t *testing.T) {
function TestNormalizeMultiVectors (line 1074) | func TestNormalizeMultiVectors(t *testing.T) {
function magnitude (line 1174) | func magnitude(v []float32) float32 {
function floatApproxEqual (line 1183) | func floatApproxEqual(a, b, epsilon float32) bool {
FILE: mapping/reflect.go
function lookupPropertyPath (line 22) | func lookupPropertyPath(data interface{}, path string) interface{} {
function lookupPropertyPathPart (line 36) | func lookupPropertyPathPart(data interface{}, part string) interface{} {
constant pathSeparator (line 66) | pathSeparator = "."
function decodePath (line 68) | func decodePath(path string) []string {
function encodePath (line 72) | func encodePath(pathElements []string) string {
function mustString (line 76) | func mustString(data interface{}) (string, bool) {
function parseTagName (line 87) | func parseTagName(tag string) string {
FILE: mapping/reflect_test.go
function TestLookupPropertyPath (line 8) | func TestLookupPropertyPath(t *testing.T) {
FILE: mapping/synonym.go
type SynonymSource (line 24) | type SynonymSource struct
method Collection (line 36) | func (s *SynonymSource) Collection() string {
method Analyzer (line 40) | func (s *SynonymSource) Analyzer() string {
method SetCollection (line 44) | func (s *SynonymSource) SetCollection(c string) {
method SetAnalyzer (line 48) | func (s *SynonymSource) SetAnalyzer(a string) {
function NewSynonymSource (line 29) | func NewSynonymSource(collection, analyzer string) *SynonymSource {
function SynonymSourceConstructor (line 51) | func SynonymSourceConstructor(config map[string]interface{}, cache *regi...
function init (line 66) | func init() {
FILE: mapping_vector.go
function NewVectorFieldMapping (line 22) | func NewVectorFieldMapping() *mapping.FieldMapping {
function NewVectorBase64FieldMapping (line 26) | func NewVectorBase64FieldMapping() *mapping.FieldMapping {
FILE: numeric/bin.go
function Interleave (line 19) | func Interleave(v1, v2 uint64) uint64 {
function Deinterleave (line 35) | func Deinterleave(b uint64) uint64 {
FILE: numeric/bin_test.go
function TestInterleaveDeinterleave (line 5) | func TestInterleaveDeinterleave(t *testing.T) {
FILE: numeric/float.go
function Float64ToInt64 (line 21) | func Float64ToInt64(f float64) int64 {
function Int64ToFloat64 (line 29) | func Int64ToFloat64(i int64) float64 {
FILE: numeric/float_test.go
function TestSortabledFloat64ToInt64 (line 24) | func TestSortabledFloat64ToInt64(t *testing.T) {
FILE: numeric/prefix_coded.go
constant ShiftStartInt64 (line 19) | ShiftStartInt64 byte = 0x20
type PrefixCoded (line 23) | type PrefixCoded
method Shift (line 79) | func (p PrefixCoded) Shift() (uint, error) {
method Int64 (line 89) | func (p PrefixCoded) Int64() (int64, error) {
function NewPrefixCodedInt64 (line 25) | func NewPrefixCodedInt64(in int64, shift uint) (PrefixCoded, error) {
function NewPrefixCodedInt64Prealloc (line 30) | func NewPrefixCodedInt64Prealloc(in int64, shift uint, prealloc []byte) (
function MustNewPrefixCodedInt64 (line 61) | func MustNewPrefixCodedInt64(in int64, shift uint) PrefixCoded {
function MustNewPrefixCodedInt64Prealloc (line 69) | func MustNewPrefixCodedInt64Prealloc(in int64, shift uint, prealloc []by...
function ValidPrefixCodedTerm (line 102) | func ValidPrefixCodedTerm(p string) (bool, int) {
function ValidPrefixCodedTermBytes (line 106) | func ValidPrefixCodedTermBytes(p []byte) (bool, int) {
FILE: numeric/prefix_coded_test.go
function TestPrefixCoded (line 76) | func TestPrefixCoded(t *testing.T) {
function TestPrefixCodedValid (line 106) | func TestPrefixCodedValid(t *testing.T) {
function BenchmarkTestPrefixCoded (line 145) | func BenchmarkTestPrefixCoded(b *testing.B) {
FILE: pre_search.go
type preSearchResultProcessor (line 25) | type preSearchResultProcessor interface
type knnPreSearchResultProcessor (line 35) | type knnPreSearchResultProcessor struct
method add (line 40) | func (k *knnPreSearchResultProcessor) add(sr *SearchResult, indexName ...
method finalize (line 46) | func (k *knnPreSearchResultProcessor) finalize(sr *SearchResult) {
type synonymPreSearchResultProcessor (line 54) | type synonymPreSearchResultProcessor struct
method add (line 62) | func (s *synonymPreSearchResultProcessor) add(sr *SearchResult, indexN...
method finalize (line 78) | func (s *synonymPreSearchResultProcessor) finalize(sr *SearchResult) {
function newSynonymPreSearchResultProcessor (line 58) | func newSynonymPreSearchResultProcessor() *synonymPreSearchResultProcess...
type bm25PreSearchResultProcessor (line 85) | type bm25PreSearchResultProcessor struct
method add (line 97) | func (b *bm25PreSearchResultProcessor) add(sr *SearchResult, indexName...
method finalize (line 106) | func (b *bm25PreSearchResultProcessor) finalize(sr *SearchResult) {
function newBM25PreSearchResultProcessor (line 90) | func newBM25PreSearchResultProcessor() *bm25PreSearchResultProcessor {
type compositePreSearchResultProcessor (line 115) | type compositePreSearchResultProcessor struct
method add (line 120) | func (m *compositePreSearchResultProcessor) add(sr *SearchResult, inde...
method finalize (line 127) | func (m *compositePreSearchResultProcessor) finalize(sr *SearchResult) {
function createPreSearchResultProcessor (line 135) | func createPreSearchResultProcessor(req *SearchRequest, flags *preSearch...
FILE: query.go
function NewBoolFieldQuery (line 24) | func NewBoolFieldQuery(val bool) *query.BoolFieldQuery {
function NewBooleanQuery (line 38) | func NewBooleanQuery() *query.BooleanQuery {
function NewConjunctionQuery (line 44) | func NewConjunctionQuery(conjuncts ...query.Query) *query.ConjunctionQue...
function NewDateRangeQuery (line 55) | func NewDateRangeQuery(start, end time.Time) *query.DateRangeQuery {
function NewDateRangeInclusiveQuery (line 67) | func NewDateRangeInclusiveQuery(start, end time.Time, startInclusive, en...
function NewDateRangeStringQuery (line 82) | func NewDateRangeStringQuery(start, end string) *query.DateRangeStringQu...
function NewDateRangeInclusiveStringQuery (line 101) | func NewDateRangeInclusiveStringQuery(start, end string, startInclusive,...
function NewDisjunctionQuery (line 107) | func NewDisjunctionQuery(disjuncts ...query.Query) *query.DisjunctionQue...
function NewDocIDQuery (line 114) | func NewDocIDQuery(ids []string) *query.DocIDQuery {
function NewFuzzyQuery (line 125) | func NewFuzzyQuery(term string) *query.FuzzyQuery {
function NewMatchAllQuery (line 131) | func NewMatchAllQuery() *query.MatchAllQuery {
function NewMatchNoneQuery (line 137) | func NewMatchNoneQuery() *query.MatchNoneQuery {
function NewMatchPhraseQuery (line 149) | func NewMatchPhraseQuery(matchPhrase string) *query.MatchPhraseQuery {
function NewMatchQuery (line 159) | func NewMatchQuery(match string) *query.MatchQuery {
function NewNumericRangeQuery (line 168) | func NewNumericRangeQuery(min, max *float64) *query.NumericRangeQuery {
function NewNumericRangeInclusiveQuery (line 176) | func NewNumericRangeInclusiveQuery(min, max *float64, minInclusive, maxI...
function NewTermRangeQuery (line 185) | func NewTermRangeQuery(min, max string) *query.TermRangeQuery {
function NewTermRangeInclusiveQuery (line 193) | func NewTermRangeInclusiveQuery(min, max string, minInclusive, maxInclus...
function NewPhraseQuery (line 203) | func NewPhraseQuery(terms []string, field string) *query.PhraseQuery {
function NewPrefixQuery (line 210) | func NewPrefixQuery(prefix string) *query.PrefixQuery {
function NewRegexpQuery (line 217) | func NewRegexpQuery(regexp string) *query.RegexpQuery {
function NewQueryStringQuery (line 224) | func NewQueryStringQuery(q string) *query.QueryStringQuery {
function NewTermQuery (line 230) | func NewTermQuery(term string) *query.TermQuery {
function NewWildcardQuery (line 239) | func NewWildcardQuery(wildcard string) *query.WildcardQuery {
function NewGeoBoundingBoxQuery (line 246) | func NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bott...
function NewGeoDistanceQuery (line 254) | func NewGeoDistanceQuery(lon, lat float64, distance string) *query.GeoDi...
function NewIPRangeQuery (line 263) | func NewIPRangeQuery(cidr string) *query.IPRangeQuery {
function NewGeoShapeQuery (line 271) | func NewGeoShapeQuery(coordinates [][][][]float64, typ, relation string)...
function NewGeoShapeCircleQuery (line 281) | func NewGeoShapeCircleQuery(coordinates []float64, radius, relation stri...
function NewGeometryCollectionQuery (line 288) | func NewGeometryCollectionQuery(coordinates [][][][][]float64, types []s...
FILE: query_bench_test.go
function BenchmarkQueryTerm (line 26) | func BenchmarkQueryTerm(b *testing.B) {
function BenchmarkQueryTermRange (line 70) | func BenchmarkQueryTermRange(b *testing.B) {
function BenchmarkQueryWildcard (line 120) | func BenchmarkQueryWildcard(b *testing.B) {
function BenchmarkQueryNumericRange (line 166) | func BenchmarkQueryNumericRange(b *testing.B) {
function BenchmarkQueryDateRange (line 211) | func BenchmarkQueryDateRange(b *testing.B) {
function BenchmarkQueryGeoDistance (line 263) | func BenchmarkQueryGeoDistance(b *testing.B) {
function BenchmarkQueryGeoBoundingBox (line 313) | func BenchmarkQueryGeoBoundingBox(b *testing.B) {
FILE: registry/analyzer.go
function RegisterAnalyzer (line 23) | func RegisterAnalyzer(name string, constructor AnalyzerConstructor) error {
type AnalyzerConstructor (line 32) | type AnalyzerConstructor
type AnalyzerRegistry (line 33) | type AnalyzerRegistry
type AnalyzerCache (line 35) | type AnalyzerCache struct
method AnalyzerNamed (line 57) | func (c *AnalyzerCache) AnalyzerNamed(name string, cache *Cache) (anal...
method DefineAnalyzer (line 65) | func (c *AnalyzerCache) DefineAnalyzer(name string, typ string, config...
function NewAnalyzerCache (line 39) | func NewAnalyzerCache() *AnalyzerCache {
function AnalyzerBuild (line 45) | func AnalyzerBuild(name string, config map[string]interface{}, cache *Ca...
function AnalyzerTypesAndInstances (line 76) | func AnalyzerTypesAndInstances() ([]string, []string) {
FILE: registry/cache.go
type CacheBuild (line 24) | type CacheBuild
type ConcurrentCache (line 26) | type ConcurrentCache struct
method ItemNamed (line 37) | func (c *ConcurrentCache) ItemNamed(name string, cache *Cache, build C...
method DefineItem (line 63) | func (c *ConcurrentCache) DefineItem(name string, typ string, config m...
function NewConcurrentCache (line 31) | func NewConcurrentCache() *ConcurrentCache {
FILE: registry/char_filter.go
function RegisterCharFilter (line 23) | func RegisterCharFilter(name string, constructor CharFilterConstructor) ...
type CharFilterConstructor (line 32) | type CharFilterConstructor
type CharFilterRegistry (line 33) | type CharFilterRegistry
type CharFilterCache (line 35) | type CharFilterCache struct
method CharFilterNamed (line 57) | func (c *CharFilterCache) CharFilterNamed(name string, cache *Cache) (...
method DefineCharFilter (line 65) | func (c *CharFilterCache) DefineCharFilter(name string, typ string, co...
function NewCharFilterCache (line 39) | func NewCharFilterCache() *CharFilterCache {
function CharFilterBuild (line 45) | func CharFilterBuild(name string, config map[string]interface{}, cache *...
function CharFilterTypesAndInstances (line 76) | func CharFilterTypesAndInstances() ([]string, []string) {
FILE: registry/datetime_parser.go
function RegisterDateTimeParser (line 23) | func RegisterDateTimeParser(name string, constructor DateTimeParserConst...
type DateTimeParserConstructor (line 32) | type DateTimeParserConstructor
type DateTimeParserRegistry (line 33) | type DateTimeParserRegistry
type DateTimeParserCache (line 35) | type DateTimeParserCache struct
method DateTimeParserNamed (line 57) | func (c *DateTimeParserCache) DateTimeParserNamed(name string, cache *...
method DefineDateTimeParser (line 65) | func (c *DateTimeParserCache) DefineDateTimeParser(name string, typ st...
function NewDateTimeParserCache (line 39) | func NewDateTimeParserCache() *DateTimeParserCache {
function DateTimeParserBuild (line 45) | func DateTimeParserBuild(name string, config map[string]interface{}, cac...
function DateTimeParserTypesAndInstances (line 76) | func DateTimeParserTypesAndInstances() ([]string, []string) {
FILE: registry/fragment_formatter.go
function RegisterFragmentFormatter (line 23) | func RegisterFragmentFormatter(name string, constructor FragmentFormatte...
type FragmentFormatterConstructor (line 32) | type FragmentFormatterConstructor
type FragmentFormatterRegistry (line 33) | type FragmentFormatterRegistry
type FragmentFormatterCache (line 35) | type FragmentFormatterCache struct
method FragmentFormatterNamed (line 57) | func (c *FragmentFormatterCache) FragmentFormatterNamed(name string, c...
method DefineFragmentFormatter (line 65) | func (c *FragmentFormatterCache) DefineFragmentFormatter(name string, ...
function NewFragmentFormatterCache (line 39) | func NewFragmentFormatterCache() *FragmentFormatterCache {
function FragmentFormatterBuild (line 45) | func FragmentFormatterBuild(name string, config map[string]interface{}, ...
function FragmentFormatterTypesAndInstances (line 76) | func FragmentFormatterTypesAndInstances() ([]string, []string) {
FILE: registry/fragmenter.go
function RegisterFragmenter (line 23) | func RegisterFragmenter(name string, constructor FragmenterConstructor) ...
type FragmenterConstructor (line 32) | type FragmenterConstructor
type FragmenterRegistry (line 33) | type FragmenterRegistry
type FragmenterCache (line 35) | type FragmenterCache struct
method FragmenterNamed (line 57) | func (c *FragmenterCache) FragmenterNamed(name string, cache *Cache) (...
method DefineFragmenter (line 65) | func (c *FragmenterCache) DefineFragmenter(name string, typ string, co...
function NewFragmenterCache (line 39) | func NewFragmenterCache() *FragmenterCache {
function FragmenterBuild (line 45) | func FragmenterBuild(name string, config map[string]interface{}, cache *...
function FragmenterTypesAndInstances (line 76) | func FragmenterTypesAndInstances() ([]string, []string) {
FILE: registry/highlighter.go
function RegisterHighlighter (line 23) | func RegisterHighlighter(name string, constructor HighlighterConstructor...
type HighlighterConstructor (line 32) | type HighlighterConstructor
type HighlighterRegistry (line 33) | type HighlighterRegistry
type HighlighterCache (line 35) | type HighlighterCache struct
method HighlighterNamed (line 57) | func (c *HighlighterCache) HighlighterNamed(name string, cache *Cache)...
method DefineHighlighter (line 65) | func (c *HighlighterCache) DefineHighlighter(name string, typ string, ...
function NewHighlighterCache (line 39) | func NewHighlighterCache() *HighlighterCache {
function HighlighterBuild (line 45) | func HighlighterBuild(name string, config map[string]interface{}, cache ...
function HighlighterTypesAndInstances (line 76) | func HighlighterTypesAndInstances() ([]string, []string) {
FILE: registry/index_type.go
function RegisterIndexType (line 23) | func RegisterIndexType(name string, constructor IndexTypeConstructor) er...
type IndexTypeConstructor (line 32) | type IndexTypeConstructor
type IndexTypeRegistry (line 33) | type IndexTypeRegistry
function IndexTypeConstructorByName (line 35) | func IndexTypeConstructorByName(name string) IndexTypeConstructor {
function IndexTypesAndInstances (line 39) | func IndexTypesAndInstances() ([]string, []string) {
FILE: registry/nested.go
type NestedFieldCache (line 27) | type NestedFieldCache struct
method InitOnce (line 38) | func (nfc *NestedFieldCache) InitOnce(buildFunc func() map[string]int) {
method NestedDepth (line 53) | func (nfc *NestedFieldCache) NestedDepth(fieldPaths search.FieldSet) (...
method CountNested (line 88) | func (nfc *NestedFieldCache) CountNested() int {
method IntersectsPrefix (line 97) | func (nfc *NestedFieldCache) IntersectsPrefix(fieldPaths search.FieldS...
method prefixMatch (line 120) | func (nfc *NestedFieldCache) prefixMatch(prefix string, fieldPaths sea...
function NewNestedFieldCache (line 34) | func NewNestedFieldCache() *NestedFieldCache {
FILE: registry/registry.go
type Cache (line 41) | type Cache struct
method CharFilterNamed (line 83) | func (c *Cache) CharFilterNamed(name string) (analysis.CharFilter, err...
method DefineCharFilter (line 87) | func (c *Cache) DefineCharFilter(name string, config map[string]interf...
method TokenizerNamed (line 95) | func (c *Cache) TokenizerNamed(name string) (analysis.Tokenizer, error) {
method DefineTokenizer (line 99) | func (c *Cache) DefineTokenizer(name string, config map[string]interfa...
method TokenMapNamed (line 107) | func (c *Cache) TokenMapNamed(name string) (analysis.TokenMap, error) {
method DefineTokenMap (line 111) | func (c *Cache) DefineTokenMap(name string, config map[string]interfac...
method TokenFilterNamed (line 119) | func (c *Cache) TokenFilterNamed(name string) (analysis.TokenFilter, e...
method DefineTokenFilter (line 123) | func (c *Cache) DefineTokenFilter(name string, config map[string]inter...
method AnalyzerNamed (line 131) | func (c *Cache) AnalyzerNamed(name string) (analysis.Analyzer, error) {
method DefineAnalyzer (line 135) | func (c *Cache) DefineAnalyzer(name string, config map[string]interfac...
method DateTimeParserNamed (line 143) | func (c *Cache) DateTimeParserNamed(name string) (analysis.DateTimePar...
method DefineDateTimeParser (line 147) | func (c *Cache) DefineDateTimeParser(name string, config map[string]in...
method SynonymSourceNamed (line 155) | func (c *Cache) SynonymSourceNamed(name string) (analysis.SynonymSourc...
method DefineSynonymSource (line 159) | func (c *Cache) DefineSynonymSource(name string, config map[string]int...
method FragmentFormatterNamed (line 163) | func (c *Cache) FragmentFormatterNamed(name string) (highlight.Fragmen...
method DefineFragmentFormatter (line 167) | func (c *Cache) DefineFragmentFormatter(name string, config map[string...
method FragmenterNamed (line 175) | func (c *Cache) FragmenterNamed(name string) (highlight.Fragmenter, er...
method DefineFragmenter (line 179) | func (c *Cache) DefineFragmenter(name string, config map[string]interf...
method HighlighterNamed (line 187) | func (c *Cache) HighlighterNamed(name string) (highlight.Highlighter, ...
method DefineHighlighter (line 191) | func (c *Cache) DefineHighlighter(name string, config map[string]inter...
function NewCache (line 55) | func NewCache() *Cache {
function typeFromConfig (line 71) | func typeFromConfig(config map[string]interface{}) (string, error) {
FILE: registry/store.go
function RegisterKVStore (line 23) | func RegisterKVStore(name string, constructor KVStoreConstructor) error {
type KVStoreConstructor (line 38) | type KVStoreConstructor
type KVStoreRegistry (line 39) | type KVStoreRegistry
function KVStoreConstructorByName (line 41) | func KVStoreConstructorByName(name string) KVStoreConstructor {
function KVStoreTypesAndInstances (line 45) | func KVStoreTypesAndInstances() ([]string, []string) {
FILE: registry/synonym_source.go
function RegisterSynonymSource (line 23) | func RegisterSynonymSource(typ string, constructor SynonymSourceConstruc...
type SynonymSourceCache (line 32) | type SynonymSourceCache struct
method SynonymSourceNamed (line 57) | func (c *SynonymSourceCache) SynonymSourceNamed(name string, cache *Ca...
method DefineSynonymSource (line 65) | func (c *SynonymSourceCache) DefineSynonymSource(name string, typ stri...
method VisitSynonymSources (line 76) | func (c *SynonymSourceCache) VisitSynonymSources(visitor analysis.Syno...
function NewSynonymSourceCache (line 36) | func NewSynonymSourceCache() *SynonymSourceCache {
type SynonymSourceConstructor (line 42) | type SynonymSourceConstructor
type SynonymSourceRegistry (line 43) | type SynonymSourceRegistry
function SynonymSourceBuild (line 45) | func SynonymSourceBuild(name string, config map[string]interface{}, cach...
FILE: registry/token_filter.go
function RegisterTokenFilter (line 23) | func RegisterTokenFilter(name string, constructor TokenFilterConstructor...
type TokenFilterConstructor (line 32) | type TokenFilterConstructor
type TokenFilterRegistry (line 33) | type TokenFilterRegistry
type TokenFilterCache (line 35) | type TokenFilterCache struct
method TokenFilterNamed (line 57) | func (c *TokenFilterCache) TokenFilterNamed(name string, cache *Cache)...
method DefineTokenFilter (line 65) | func (c *TokenFilterCache) DefineTokenFilter(name string, typ string, ...
function NewTokenFilterCache (line 39) | func NewTokenFilterCache() *TokenFilterCache {
function TokenFilterBuild (line 45) | func TokenFilterBuild(name string, config map[string]interface{}, cache ...
function TokenFilterTypesAndInstances (line 76) | func TokenFilterTypesAndInstances() ([]string, []string) {
FILE: registry/token_maps.go
function RegisterTokenMap (line 23) | func RegisterTokenMap(name string, constructor TokenMapConstructor) error {
type TokenMapConstructor (line 32) | type TokenMapConstructor
type TokenMapRegistry (line 33) | type TokenMapRegistry
type TokenMapCache (line 35) | type TokenMapCache struct
method TokenMapNamed (line 57) | func (c *TokenMapCache) TokenMapNamed(name string, cache *Cache) (anal...
method DefineTokenMap (line 65) | func (c *TokenMapCache) DefineTokenMap(name string, typ string, config...
function NewTokenMapCache (line 39) | func NewTokenMapCache() *TokenMapCache {
function TokenMapBuild (line 45) | func TokenMapBuild(name string, config map[string]interface{}, cache *Ca...
function TokenMapTypesAndInstances (line 76) | func TokenMapTypesAndInstances() ([]string, []string) {
FILE: registry/tokenizer.go
function RegisterTokenizer (line 23) | func RegisterTokenizer(name string, constructor TokenizerConstructor) er...
type TokenizerConstructor (line 32) | type TokenizerConstructor
type TokenizerRegistry (line 33) | type TokenizerRegistry
type TokenizerCache (line 35) | type TokenizerCache struct
method TokenizerNamed (line 57) | func (c *TokenizerCache) TokenizerNamed(name string, cache *Cache) (an...
method DefineTokenizer (line 65) | func (c *TokenizerCache) DefineTokenizer(name string, typ string, conf...
function NewTokenizerCache (line 39) | func NewTokenizerCache() *TokenizerCache {
function TokenizerBuild (line 45) | func TokenizerBuild(name string, config map[string]interface{}, cache *C...
function TokenizerTypesAndInstances (line 76) | func TokenizerTypesAndInstances() ([]string, []string) {
FILE: rescorer.go
constant DefaultScoreRankConstant (line 24) | DefaultScoreRankConstant = 60
type rescorer (line 31) | type rescorer struct
method prepareSearchRequest (line 48) | func (r *rescorer) prepareSearchRequest() error {
method restoreSearchRequest (line 77) | func (r *rescorer) restoreSearchRequest() {
method rescore (line 95) | func (r *rescorer) rescore(ftsHits, knnHits search.DocumentMatchCollec...
method mergeDocs (line 124) | func (r *rescorer) mergeDocs(ftsHits, knnHits search.DocumentMatchColl...
function newRescorer (line 156) | func newRescorer(req *SearchRequest) *rescorer {
FILE: rescorer_knn_test.go
function createHybridSearchIndex (line 31) | func createHybridSearchIndex(path string) (Index, error) {
function getHybridSearchDocuments (line 67) | func getHybridSearchDocuments() []map[string]interface{} {
function createScoreFusionRequest (line 162) | func createScoreFusionRequest(scoreMethod string, knn bool) *SearchReque...
function verifyRRFResults (line 186) | func verifyRRFResults(t *testing.T, hits search.DocumentMatchCollection) {
function setupSingleIndex (line 237) | func setupSingleIndex(t *testing.T) (Index, func()) {
function setupAliasWithSingleIndex (line 273) | func setupAliasWithSingleIndex(t *testing.T) (Index, func()) {
function setupAliasWithTwoIndexes (line 313) | func setupAliasWithTwoIndexes(t *testing.T) (Index, func()) {
function setupNestedAliases (line 384) | func setupNestedAliases(t *testing.T) (Index, func()) {
function TestRRFEndToEnd (line 493) | func TestRRFEndToEnd(t *testing.T) {
function TestRRFAliasWithSingleIndex (line 512) | func TestRRFAliasWithSingleIndex(t *testing.T) {
function TestRRFAliasWithTwoIndexes (line 531) | func TestRRFAliasWithTwoIndexes(t *testing.T) {
function TestRRFNestedAliases (line 550) | func TestRRFNestedAliases(t *testing.T) {
function TestRRFPagination (line 569) | func TestRRFPagination(t *testing.T) {
function TestRRFFaceting (line 640) | func TestRRFFaceting(t *testing.T) {
function verifyRSFResults (line 767) | func verifyRSFResults(t *testing.T, hits search.DocumentMatchCollection) {
function TestRSFEndToEnd (line 841) | func TestRSFEndToEnd(t *testing.T) {
function TestRSFAliasWithSingleIndex (line 863) | func TestRSFAliasWithSingleIndex(t *testing.T) {
function TestRSFAliasWithTwoIndexes (line 885) | func TestRSFAliasWithTwoIndexes(t *testing.T) {
function TestRSFNestedAliases (line 907) | func TestRSFNestedAliases(t *testing.T) {
function TestRSFPagination (line 929) | func TestRSFPagination(t *testing.T) {
function TestRSFFaceting (line 1000) | func TestRSFFaceting(t *testing.T) {
FILE: rescorer_test.go
function createFTSIndex (line 25) | func createFTSIndex(path string) (Index, error) {
type benchmarkConfig (line 74) | type benchmarkConfig struct
function BenchmarkRescorerRRF (line 81) | func BenchmarkRescorerRRF(b *testing.B) {
function BenchmarkRescorerRSF (line 85) | func BenchmarkRescorerRSF(b *testing.B) {
function runRescorerBenchmarks (line 89) | func runRescorerBenchmarks(b *testing.B, scoreMode string) {
function buildBenchmarkInputs (line 124) | func buildBenchmarkInputs(cfg benchmarkConfig, scoreMode string) (*resco...
function buildBenchmarkHits (line 162) | func buildBenchmarkHits(cfg benchmarkConfig, activeKNNQueries int) (sear...
function cloneDocumentMatches (line 198) | func cloneDocumentMatches(src search.DocumentMatchCollection) search.Doc...
function getFTSDocuments (line 229) | func getFTSDocuments() []map[string]interface{} {
function createFTSSearchRequest (line 346) | func createFTSSearchRequest(scoreMethod string) *SearchRequest {
function verifyFTSRRFResults (line 381) | func verifyFTSRRFResults(t *testing.T, hits search.DocumentMatchCollecti...
function setupFTSSingleIndex (line 439) | func setupFTSSingleIndex(t *testing.T) (Index, func()) {
function setupFTSAliasWithSingleIndex (line 475) | func setupFTSAliasWithSingleIndex(t *testing.T) (Index, func()) {
function setupFTSAliasWithTwoIndexes (line 515) | func setupFTSAliasWithTwoIndexes(t *testing.T) (Index, func()) {
function setupFTSNestedAliases (line 586) | func setupFTSNestedAliases(t *testing.T) (Index, func()) {
function TestFTSRRFEndToEnd (line 695) | func TestFTSRRFEndToEnd(t *testing.T) {
function TestFTSRRFAliasWithSingleIndex (line 714) | func TestFTSRRFAliasWithSingleIndex(t *testing.T) {
function TestFTSRRFAliasWithTwoIndexes (line 733) | func TestFTSRRFAliasWithTwoIndexes(t *testing.T) {
function TestFTSRRFNestedAliases (line 752) | func TestFTSRRFNestedAliases(t *testing.T) {
function TestFTSRRFPagination (line 771) | func TestFTSRRFPagination(t *testing.T) {
function TestFTSRRFFaceting (line 848) | func TestFTSRRFFaceting(t *testing.T) {
function verifyFTSRSFResults (line 975) | func verifyFTSRSFResults(t *testing.T, hits search.DocumentMatchCollecti...
function TestFTSRSFEndToEnd (line 1053) | func TestFTSRSFEndToEnd(t *testing.T) {
function TestFTSRSFAliasWithSingleIndex (line 1072) | func TestFTSRSFAliasWithSingleIndex(t *testing.T) {
function TestFTSRSFAliasWithTwoIndexes (line 1091) | func TestFTSRSFAliasWithTwoIndexes(t *testing.T) {
function TestFTSRSFNestedAliases (line 1110) | func TestFTSRSFNestedAliases(t *testing.T) {
function TestFTSRSFPagination (line 1129) | func TestFTSRSFPagination(t *testing.T) {
function TestFTSRSFFaceting (line 1206) | func TestFTSRSFFaceting(t *testing.T) {
FILE: search.go
function init (line 42) | func init() {
constant defaultDateTimeParser (line 51) | defaultDateTimeParser = optional.Name
constant ScoreDefault (line 54) | ScoreDefault = ""
constant ScoreNone (line 55) | ScoreNone = "none"
constant ScoreRRF (line 56) | ScoreRRF = "rrf"
constant ScoreRSF (line 57) | ScoreRSF = "rsf"
type dateTimeRange (line 62) | type dateTimeRange struct
method ParseDates (line 71) | func (dr *dateTimeRange) ParseDates(dateTimeParser analysis.DateTimePa...
method UnmarshalJSON (line 91) | func (dr *dateTimeRange) UnmarshalJSON(input []byte) error {
method MarshalJSON (line 117) | func (dr *dateTimeRange) MarshalJSON() ([]byte, error) {
type numericRange (line 140) | type numericRange struct
type FacetRequest (line 149) | type FacetRequest struct
method SetPrefixFilter (line 172) | func (fr *FacetRequest) SetPrefixFilter(prefix string) {
method SetRegexFilter (line 177) | func (fr *FacetRequest) SetRegexFilter(pattern string) {
method Validate (line 181) | func (fr *FacetRequest) Validate() error {
method AddDateTimeRange (line 241) | func (fr *FacetRequest) AddDateTimeRange(name string, start, end time....
method AddDateTimeRangeString (line 250) | func (fr *FacetRequest) AddDateTimeRangeString(name string, start, end...
method AddDateTimeRangeStringWithParser (line 261) | func (fr *FacetRequest) AddDateTimeRangeStringWithParser(name string, ...
method AddNumericRange (line 273) | func (fr *FacetRequest) AddNumericRange(name string, min, max *float64) {
function NewFacetRequest (line 164) | func NewFacetRequest(field string, size int) *FacetRequest {
type FacetsRequest (line 282) | type FacetsRequest
method Validate (line 284) | func (fr FacetsRequest) Validate() error {
type HighlightRequest (line 295) | type HighlightRequest struct
method AddField (line 314) | func (h *HighlightRequest) AddField(field string) {
function NewHighlight (line 302) | func NewHighlight() *HighlightRequest {
function NewHighlightWithStyle (line 308) | func NewHighlightWithStyle(style string) *HighlightRequest {
method Validate (line 321) | func (r *SearchRequest) Validate() error {
method validatePagination (line 375) | func (r *SearchRequest) validatePagination() error {
method AddFacet (line 416) | func (r *SearchRequest) AddFacet(facetName string, f *FacetRequest) {
method SortBy (line 428) | func (r *SearchRequest) SortBy(order []string) {
method SortByCustom (line 434) | func (r *SearchRequest) SortByCustom(order search.SortOrder) {
method SetSearchAfter (line 440) | func (r *SearchRequest) SetSearchAfter(after []string) {
method SetSearchBefore (line 446) | func (r *SearchRequest) SetSearchBefore(before []string) {
method AddParams (line 451) | func (r *SearchRequest) AddParams(params RequestParams) {
function NewSearchRequest (line 458) | func NewSearchRequest(q query.Query) *SearchRequest {
function NewSearchRequestOptions (line 466) | func NewSearchRequestOptions(q query.Query, size, from int, explain bool...
type IndexErrMap (line 477) | type IndexErrMap
method MarshalJSON (line 480) | func (iem IndexErrMap) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 488) | func (iem IndexErrMap) UnmarshalJSON(data []byte) error {
type SearchStatus (line 503) | type SearchStatus struct
method Merge (line 511) | func (ss *SearchStatus) Merge(other *SearchStatus) {
type SearchResult (line 539) | type SearchResult struct
method Size (line 556) | func (sr *SearchResult) Size() int {
method String (line 574) | func (sr *SearchResult) String() string {
method Merge (line 671) | func (sr *SearchResult) Merge(other *SearchResult) {
function formatHit (line 619) | func formatHit(rv *strings.Builder, hit *search.DocumentMatch, hitNumber...
function MemoryNeededForSearchResult (line 689) | func MemoryNeededForSearchResult(req *SearchRequest) uint64 {
method SetSortFunc (line 735) | func (r *SearchRequest) SetSortFunc(s func(sort.Interface)) {
method SortFunc (line 741) | func (r *SearchRequest) SortFunc() func(data sort.Interface) {
function isMatchNoneQuery (line 749) | func isMatchNoneQuery(q query.Query) bool {
function isMatchAllQuery (line 754) | func isMatchAllQuery(q query.Query) bool {
function IsScoreFusionRequested (line 760) | func IsScoreFusionRequested(req *SearchRequest) bool {
type RequestParams (line 771) | type RequestParams struct
method UnmarshalJSON (line 783) | func (p *RequestParams) UnmarshalJSON(input []byte) error {
method Validate (line 804) | func (p *RequestParams) Validate(size int) error {
function NewDefaultParams (line 776) | func NewDefaultParams(from, size int) *RequestParams {
function ParseParams (line 814) | func ParseParams(r *SearchRequest, input []byte) (*RequestParams, error) {
FILE: search/collector.go
type Collector (line 24) | type Collector interface
type DocumentMatchHandler (line 40) | type DocumentMatchHandler
type MakeDocumentMatchHandlerKeyType (line 42) | type MakeDocumentMatchHandlerKeyType
type MakeDocumentMatchHandler (line 54) | type MakeDocumentMatchHandler
type MakeKNNDocumentMatchHandler (line 57) | type MakeKNNDocumentMatchHandler
FILE: search/collector/bench_test.go
type createCollector (line 27) | type createCollector
function benchHelper (line 29) | func benchHelper(numOfMatches int, cc createCollector, b *testing.B) {
FILE: search/collector/eligible.go
type EligibleCollector (line 29) | type EligibleCollector struct
method Collect (line 74) | func (ec *EligibleCollector) Collect(ctx context.Context, searcher sea...
method Results (line 138) | func (ec *EligibleCollector) Results() search.DocumentMatchCollection {
method EligibleSelector (line 145) | func (ec *EligibleCollector) EligibleSelector() index.EligibleDocument...
method Total (line 152) | func (ec *EligibleCollector) Total() uint64 {
method MaxScore (line 157) | func (ec *EligibleCollector) MaxScore() float64 {
method Took (line 161) | func (ec *EligibleCollector) Took() time.Duration {
method SetFacetsBuilder (line 165) | func (ec *EligibleCollector) SetFacetsBuilder(facetsBuilder *search.Fa...
method FacetResults (line 169) | func (ec *EligibleCollector) FacetResults() search.FacetResults {
function NewEligibleCollector (line 36) | func NewEligibleCollector(size int) *EligibleCollector {
function newEligibleCollector (line 40) | func newEligibleCollector(size int) *EligibleCollector {
function makeEligibleDocumentMatchHandler (line 48) | func makeEligibleDocumentMatchHandler(ctx *search.SearchContext, reader ...
FILE: search/collector/heap.go
type collectStoreHeap (line 23) | type collectStoreHeap struct
method AddNotExceedingSize (line 37) | func (c *collectStoreHeap) AddNotExceedingSize(doc *search.DocumentMatch,
method add (line 46) | func (c *collectStoreHeap) add(doc *search.DocumentMatch) {
method removeLast (line 50) | func (c *collectStoreHeap) removeLast() *search.DocumentMatch {
method Final (line 54) | func (c *collectStoreHeap) Final(skip int, fixup collectorFixup) (sear...
method Internal (line 72) | func (c *collectStoreHeap) Internal() search.DocumentMatchCollection {
method Len (line 78) | func (c *collectStoreHeap) Len() int {
method Less (line 82) | func (c *collectStoreHeap) Less(i, j int) bool {
method Swap (line 87) | func (c *collectStoreHeap) Swap(i, j int) {
method Push (line 91) | func (c *collectStoreHeap) Push(x interface{}) {
method Pop (line 95) | func (c *collectStoreHeap) Pop() interface{} {
function newStoreHeap (line 28) | func newStoreHeap(capacity int, compare collectorCompare) *collectStoreH...
FILE: search/collector/knn.go
type collectStoreKNN (line 28) | type collectStoreKNN struct
method AddDocument (line 48) | func (c *collectStoreKNN) AddDocument(doc *search.DocumentMatch) []*se...
method Final (line 70) | func (c *collectStoreKNN) Final(fixup collectorFixup) (search.Document...
function newStoreKNN (line 35) | func newStoreKNN(internalHeaps []collectorStore, kValues []int64) *colle...
function MakeKNNDocMatchHandler (line 98) | func MakeKNNDocMatchHandler(ctx *search.SearchContext) (search.DocumentM...
function GetNewKNNCollectorStore (line 116) | func GetNewKNNCollectorStore(kArray []int64) *collectStoreKNN {
type KNNCollector (line 132) | type KNNCollector struct
method Collect (line 148) | func (hc *KNNCollector) Collect(ctx context.Context, searcher search.S...
method finalizeResults (line 223) | func (hc *KNNCollector) finalizeResults(r index.IndexReader) error {
method Results (line 239) | func (hc *KNNCollector) Results() search.DocumentMatchCollection {
method Total (line 243) | func (hc *KNNCollector) Total() uint64 {
method MaxScore (line 247) | func (hc *KNNCollector) MaxScore() float64 {
method Took (line 251) | func (hc *KNNCollector) Took() time.Duration {
method SetFacetsBuilder (line 255) | func (hc *KNNCollector) SetFacetsBuilder(facetsBuilder *search.FacetsB...
method FacetResults (line 259) | func (hc *KNNCollector) FacetResults() search.FacetResults {
function NewKNNCollector (line 141) | func NewKNNCollector(kArray []int64, size int64) *KNNCollector {
FILE: search/collector/list.go
type collectStoreList (line 23) | type collectStoreList struct
method AddNotExceedingSize (line 37) | func (c *collectStoreList) AddNotExceedingSize(doc *search.DocumentMat...
method add (line 45) | func (c *collectStoreList) add(doc *search.DocumentMatch) {
method removeLast (line 57) | func (c *collectStoreList) removeLast() *search.DocumentMatch {
method Final (line 61) | func (c *collectStoreList) Final(skip int, fixup collectorFixup) (sear...
method Internal (line 84) | func (c *collectStoreList) Internal() search.DocumentMatchCollection {
method len (line 94) | func (c *collectStoreList) len() int {
function newStoreList (line 28) | func newStoreList(capacity int, compare collectorCompare) *collectStoreL...
FILE: search/collector/nested.go
type collectStoreNested (line 22) | type collectStoreNested struct
method ProcessNestedDocument (line 49) | func (c *collectStoreNested) ProcessNestedDocument(ctx *search.SearchC...
method Current (line 101) | func (c *collectStoreNested) Current() *search.DocumentMatch {
function newStoreNested (line 35) | func newStoreNested(nr index.NestedReader, descAdder search.DescendantAd...
FILE: search/collector/search_test.go
type stubSearcher (line 25) | type stubSearcher struct
method SetBytesRead (line 30) | func (ss *stubSearcher) SetBytesRead(val uint64) {
method BytesRead (line 34) | func (ss *stubSearcher) BytesRead() uint64 {
method Size (line 38) | func (ss *stubSearcher) Size() int {
method Next (line 50) | func (ss *stubSearcher) Next(ctx *search.SearchContext) (*search.Docum...
method Advance (line 61) | func (ss *stubSearcher) Advance(ctx *search.SearchContext, ID index.In...
method Close (line 76) | func (ss *stubSearcher) Close() error {
method Weight (line 80) | func (ss *stubSearcher) Weight() float64 {
method SetQueryNorm (line 84) | func (ss *stubSearcher) SetQueryNorm(float64) {
method Count (line 87) | func (ss *stubSearcher) Count() uint64 {
method Min (line 91) | func (ss *stubSearcher) Min() int {
method DocumentMatchPoolSize (line 95) | func (ss *stubSearcher) DocumentMatchPoolSize() int {
type stubReader (line 99) | type stubReader struct
method Size (line 101) | func (sr *stubReader) Size() int {
method TermFieldReader (line 105) | func (sr *stubReader) TermFieldReader(ctx context.Context, term []byte...
method DocIDReaderAll (line 109) | func (sr *stubReader) DocIDReaderAll() (index.DocIDReader, error) {
method DocIDReaderOnly (line 113) | func (sr *stubReader) DocIDReaderOnly(ids []string) (index.DocIDReader...
method FieldDict (line 117) | func (sr *stubReader) FieldDict(field string) (index.FieldDict, error) {
method FieldDictRange (line 121) | func (sr *stubReader) FieldDictRange(field string, startTerm []byte, e...
method FieldDictPrefix (line 125) | func (sr *stubReader) FieldDictPrefix(field string, termPrefix []byte)...
method Document (line 129) | func (sr *stubReader) Document(id string) (index.Document, error) {
method DocumentVisitFieldTerms (line 133) | func (sr *stubReader) DocumentVisitFieldTerms(id index.IndexInternalID...
method Fields (line 137) | func (sr *stubReader) Fields() ([]string, error) {
method GetInternal (line 141) | func (sr *stubReader) GetInternal(key []byte) ([]byte, error) {
method DocCount (line 145) | func (sr *stubReader) DocCount() (uint64, error) {
method ExternalID (line 149) | func (sr *stubReader) ExternalID(id index.IndexInternalID) (string, er...
method InternalID (line 153) | func (sr *stubReader) InternalID(id string) (index.IndexInternalID, er...
method DumpAll (line 157) | func (sr *stubReader) DumpAll() chan interface{} {
method DumpDoc (line 161) | func (sr *stubReader) DumpDoc(id string) chan interface{} {
method DumpFields (line 165) | func (sr *stubReader) DumpFields() chan interface{} {
method Close (line 169) | func (sr *stubReader) Close() error {
method DocValueReader (line 173) | func (sr *stubReader) DocValueReader(fields []string) (index.DocValueR...
type DocValueReader (line 177) | type DocValueReader struct
method VisitDocValues (line 182) | func (dvr *DocValueReader) VisitDocValues(id index.IndexInternalID, vi...
method BytesRead (line 185) | func (dvr *DocValueReader) BytesRead() uint64 {
FILE: search/collector/slice.go
type collectStoreSlice (line 21) | type collectStoreSlice struct
method AddNotExceedingSize (line 34) | func (c *collectStoreSlice) AddNotExceedingSize(doc *search.DocumentMa...
method add (line 43) | func (c *collectStoreSlice) add(doc *search.DocumentMatch) {
method removeLast (line 58) | func (c *collectStoreSlice) removeLast() *search.DocumentMatch {
method Final (line 64) | func (c *collectStoreSlice) Final(skip int, fixup collectorFixup) (sea...
method Internal (line 77) | func (c *collectStoreSlice) Internal() search.DocumentMatchCollection {
method len (line 81) | func (c *collectStoreSlice) len() int {
function newStoreSlice (line 26) | func newStoreSlice(capacity int, compare collectorCompare) *collectStore...
FILE: search/collector/topn.go
function init (line 31) | func init() {
type collectorStore (line 36) | type collectorStore interface
type collectorCompare (line 52) | type collectorCompare
type collectorFixup (line 54) | type collectorFixup
type TopNCollector (line 57) | type TopNCollector struct
method Size (line 271) | func (hc *TopNCollector) Size() int {
method Collect (line 288) | func (hc *TopNCollector) Collect(ctx context.Context, searcher search....
method adjustDocumentMatch (line 450) | func (hc *TopNCollector) adjustDocumentMatch(ctx *search.SearchContext,
method prepareDocumentMatch (line 468) | func (hc *TopNCollector) prepareDocumentMatch(ctx *search.SearchContext,
method visitFieldTerms (line 582) | func (hc *TopNCollector) visitFieldTerms(reader index.IndexReader, d *...
method SetFacetsBuilder (line 615) | func (hc *TopNCollector) SetFacetsBuilder(facetsBuilder *search.Facets...
method finalizeResults (line 636) | func (hc *TopNCollector) finalizeResults(r index.IndexReader) error {
method Results (line 655) | func (hc *TopNCollector) Results() search.DocumentMatchCollection {
method Total (line 660) | func (hc *TopNCollector) Total() uint64 {
method MaxScore (line 665) | func (hc *TopNCollector) MaxScore() float64 {
method Took (line 670) | func (hc *TopNCollector) Took() time.Duration {
method FacetResults (line 675) | func (hc *TopNCollector) FacetResults() search.FacetResults {
method SetKNNHits (line 682) | func (hc *TopNCollector) SetKNNHits(knnHits search.DocumentMatchCollec...
constant CheckDoneEvery (line 87) | CheckDoneEvery = uint64(1024)
function NewTopNCollector (line 92) | func NewTopNCollector(size int, skip int, sort search.SortOrder) *TopNCo...
function NewTopNCollectorAfter (line 100) | func NewTopNCollectorAfter(size int, sort search.SortOrder, after []stri...
function NewNestedTopNCollector (line 111) | func NewNestedTopNCollector(size int, skip int, sort search.SortOrder, n...
function NewNestedTopNCollectorAfter (line 121) | func NewNestedTopNCollectorAfter(size int, sort search.SortOrder, after ...
function newTopNCollector (line 127) | func newTopNCollector(size int, skip int, sort search.SortOrder, nr inde...
function createSearchAfterDocument (line 173) | func createSearchAfterDocument(sort search.SortOrder, after []string) *s...
function encodeSearchAfter (line 198) | func encodeSearchAfter(ss search.SearchSort, after string) string {
function FilterHitsBySearchAfter (line 236) | func FilterHitsBySearchAfter(hits []*search.DocumentMatch, sort search.S...
function getOptimalCollectorStore (line 255) | func getOptimalCollectorStore(size, skip int, comparator collectorCompar...
function MakeTopNDocumentMatchHandler (line 524) | func MakeTopNDocumentMatchHandler(
FILE: search/collector/topn_test.go
function TestTop10Scores (line 33) | func TestTop10Scores(t *testing.T) {
function TestTop10ScoresSkip10 (line 141) | func TestTop10ScoresSkip10(t *testing.T) {
function TestTop10ScoresSkip10Only9Hits (line 237) | func TestTop10ScoresSkip10Only9Hits(t *testing.T) {
function TestPaginationSameScores (line 298) | func TestPaginationSameScores(t *testing.T) {
function TestStreamResults (line 475) | func TestStreamResults(t *testing.T) {
function TestCollectorChaining (line 588) | func TestCollectorChaining(t *testing.T) {
function setupIndex (line 725) | func setupIndex(t *testing.T) index.Index {
function TestSetFacetsBuilder (line 744) | func TestSetFacetsBuilder(t *testing.T) {
function TestSearchAfterNumeric (line 767) | func TestSearchAfterNumeric(t *testing.T) {
function TestSearchAfterDateTime (line 844) | func TestSearchAfterDateTime(t *testing.T) {
function TestSearchAfterGeo (line 925) | func TestSearchAfterGeo(t *testing.T) {
function BenchmarkTop10of0Scores (line 1010) | func BenchmarkTop10of0Scores(b *testing.B) {
function BenchmarkTop10of3Scores (line 1016) | func BenchmarkTop10of3Scores(b *testing.B) {
function BenchmarkTop10of10Scores (line 1022) | func BenchmarkTop10of10Scores(b *testing.B) {
function BenchmarkTop10of25Scores (line 1028) | func BenchmarkTop10of25Scores(b *testing.B) {
function BenchmarkTop10of50Scores (line 1034) | func BenchmarkTop10of50Scores(b *testing.B) {
function BenchmarkTop10of10000Scores (line 1040) | func BenchmarkTop10of10000Scores(b *testing.B) {
function BenchmarkTop100of0Scores (line 1046) | func BenchmarkTop100of0Scores(b *testing.B) {
function BenchmarkTop100of3Scores (line 1052) | func BenchmarkTop100of3Scores(b *testing.B) {
function BenchmarkTop100of10Scores (line 1058) | func BenchmarkTop100of10Scores(b *testing.B) {
function BenchmarkTop100of25Scores (line 1064) | func BenchmarkTop100of25Scores(b *testing.B) {
function BenchmarkTop100of50Scores (line 1070) | func BenchmarkTop100of50Scores(b *testing.B) {
function BenchmarkTop100of10000Scores (line 1076) | func BenchmarkTop100of10000Scores(b *testing.B) {
function BenchmarkTop1000of10000Scores (line 1082) | func BenchmarkTop1000of10000Scores(b *testing.B) {
function BenchmarkTop10000of100000Scores (line 1088) | func BenchmarkTop10000of100000Scores(b *testing.B) {
function BenchmarkTop10of100000Scores (line 1094) | func BenchmarkTop10of100000Scores(b *testing.B) {
function BenchmarkTop100of100000Scores (line 1100) | func BenchmarkTop100of100000Scores(b *testing.B) {
function BenchmarkTop1000of100000Scores (line 1106) | func BenchmarkTop1000of100000Scores(b *testing.B) {
function BenchmarkTop10000of1000000Scores (line 1112) | func BenchmarkTop10000of1000000Scores(b *testing.B) {
FILE: search/explanation.go
function init (line 27) | func init() {
constant MergedExplMessage (line 32) | MergedExplMessage = "sum of merged explanations:"
type Explanation (line 34) | type Explanation struct
method String (line 41) | func (expl *Explanation) String() string {
method Size (line 49) | func (expl *Explanation) Size() int {
method MergeWith (line 66) | func (expl *Explanation) MergeWith(other *Explanation) *Explanation {
FILE: search/facet/facet_builder_datetime.go
function init (line 32) | func init() {
type dateTimeRange (line 39) | type dateTimeRange struct
type DateTimeFacetBuilder (line 44) | type DateTimeFacetBuilder struct
method Size (line 63) | func (fb *DateTimeFacetBuilder) Size() int {
method AddRange (line 80) | func (fb *DateTimeFacetBuilder) AddRange(name string, start, end time....
method Field (line 88) | func (fb *DateTimeFacetBuilder) Field() string {
method UpdateVisitor (line 92) | func (fb *DateTimeFacetBuilder) UpdateVisitor(term []byte) {
method StartDoc (line 113) | func (fb *DateTimeFacetBuilder) StartDoc() {
method EndDoc (line 117) | func (fb *DateTimeFacetBuilder) EndDoc() {
method Result (line 123) | func (fb *DateTimeFacetBuilder) Result() *search.FacetResult {
function NewDateTimeFacetBuilder (line 54) | func NewDateTimeFacetBuilder(field string, size int) *DateTimeFacetBuild...
FILE: search/facet/facet_builder_numeric.go
function init (line 31) | func init() {
type numericRange (line 38) | type numericRange struct
type NumericFacetBuilder (line 43) | type NumericFacetBuilder struct
method Size (line 62) | func (fb *NumericFacetBuilder) Size() int {
method AddRange (line 79) | func (fb *NumericFacetBuilder) AddRange(name string, min, max *float64) {
method Field (line 87) | func (fb *NumericFacetBuilder) Field() string {
method UpdateVisitor (line 91) | func (fb *NumericFacetBuilder) UpdateVisitor(term []byte) {
method StartDoc (line 112) | func (fb *NumericFacetBuilder) StartDoc() {
method EndDoc (line 116) | func (fb *NumericFacetBuilder) EndDoc() {
method Result (line 122) | func (fb *NumericFacetBuilder) Result() *search.FacetResult {
function NewNumericFacetBuilder (line 53) | func NewNumericFacetBuilder(field string, size int) *NumericFacetBuilder {
FILE: search/facet/facet_builder_numeric_test.go
function init (line 26) | func init() {
function BenchmarkNumericFacet10 (line 30) | func BenchmarkNumericFacet10(b *testing.B) {
function BenchmarkNumericFacet100 (line 34) | func BenchmarkNumericFacet100(b *testing.B) {
function BenchmarkNumericFacet1000 (line 38) | func BenchmarkNumericFacet1000(b *testing.B) {
function numericFacetN (line 42) | func numericFacetN(b *testing.B, numTerms int) {
FILE: search/facet/facet_builder_terms.go
function init (line 29) | func init() {
type TermsFacetBuilder (line 34) | type TermsFacetBuilder struct
method Size (line 53) | func (fb *TermsFacetBuilder) Size() int {
method Field (line 74) | func (fb *TermsFacetBuilder) Field() string {
method SetPrefixFilter (line 79) | func (fb *TermsFacetBuilder) SetPrefixFilter(prefix string) {
method SetRegexFilter (line 88) | func (fb *TermsFacetBuilder) SetRegexFilter(regex *regexp.Regexp) {
method UpdateVisitor (line 92) | func (fb *TermsFacetBuilder) UpdateVisitor(term []byte) {
method StartDoc (line 113) | func (fb *TermsFacetBuilder) StartDoc() {
method EndDoc (line 117) | func (fb *TermsFacetBuilder) EndDoc() {
method Result (line 123) | func (fb *TermsFacetBuilder) Result() *search.FacetResult {
function NewTermsFacetBuilder (line 45) | func NewTermsFacetBuilder(field string, size int) *TermsFacetBuilder {
FILE: search/facet/facet_builder_terms_test.go
function init (line 25) | func init() {
function BenchmarkTermsFacet10 (line 34) | func BenchmarkTermsFacet10(b *testing.B) {
function BenchmarkTermsFacet100 (line 38) | func BenchmarkTermsFacet100(b *testing.B) {
function BenchmarkTermsFacet1000 (line 42) | func BenchmarkTermsFacet1000(b *testing.B) {
function BenchmarkTermsFacet10000 (line 46) | func BenchmarkTermsFacet10000(b *testing.B) {
function termsFacetN (line 54) | func termsFacetN(b *testing.B, numTerms int) {
function TestTermsFacetPrefix (line 74) | func TestTermsFacetPrefix(t *testing.T) {
function TestTermsFacetRegex (line 129) | func TestTermsFacetRegex(t *testing.T) {
function TestTermsFacetPrefixAndRegex (line 189) | func TestTermsFacetPrefixAndRegex(t *testing.T) {
function TestTermsFacetInvalidRegex (line 248) | func TestTermsFacetInvalidRegex(t *testing.T) {
function TestTermsFacetNoFilter (line 256) | func TestTermsFacetNoFilter(t *testing.T) {
FILE: search/facets_builder.go
function init (line 32) | func init() {
type FacetBuilder (line 45) | type FacetBuilder interface
type FacetsBuilder (line 56) | type FacetsBuilder struct
method Size (line 70) | func (fb *FacetsBuilder) Size() int {
method Add (line 84) | func (fb *FacetsBuilder) Add(name string, facetBuilder FacetBuilder) {
method RequiredFields (line 95) | func (fb *FacetsBuilder) RequiredFields() []string {
method StartDoc (line 99) | func (fb *FacetsBuilder) StartDoc() {
method EndDoc (line 105) | func (fb *FacetsBuilder) EndDoc() {
method UpdateVisitor (line 111) | func (fb *FacetsBuilder) UpdateVisitor(field string, term []byte) {
method Results (line 404) | func (fb *FacetsBuilder) Results() FacetResults {
function NewFacetsBuilder (line 64) | func NewFacetsBuilder(indexReader index.IndexReader) *FacetsBuilder {
type TermFacet (line 119) | type TermFacet struct
type TermFacets (line 124) | type TermFacets struct
method Terms (line 129) | func (tf *TermFacets) Terms() []*TermFacet {
method TrimToTopN (line 136) | func (tf *TermFacets) TrimToTopN(n int) {
method Add (line 140) | func (tf *TermFacets) Add(termFacets ...*TermFacet) {
method Len (line 157) | func (tf *TermFacets) Len() int {
method Swap (line 165) | func (tf *TermFacets) Swap(i, j int) {
method Less (line 168) | func (tf *TermFacets) Less(i, j int) bool {
method MarshalJSON (line 178) | func (tf *TermFacets) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 182) | func (tf *TermFacets) UnmarshalJSON(b []byte) error {
type NumericRangeFacet (line 196) | type NumericRangeFacet struct
method Same (line 203) | func (nrf *NumericRangeFacet) Same(other *NumericRangeFacet) bool {
type NumericRangeFacets (line 226) | type NumericRangeFacets
method Add (line 228) | func (nrf NumericRangeFacets) Add(numericRangeFacet *NumericRangeFacet...
method Len (line 240) | func (nrf NumericRangeFacets) Len() int { return len(nrf) }
method Swap (line 241) | func (nrf NumericRangeFacets) Swap(i, j int) { nrf[i], nrf[j] = nrf[j]...
method Less (line 242) | func (nrf NumericRangeFacets) Less(i, j int) bool {
type DateRangeFacet (line 249) | type DateRangeFacet struct
method Same (line 256) | func (drf *DateRangeFacet) Same(other *DateRangeFacet) bool {
type DateRangeFacets (line 279) | type DateRangeFacets
method Add (line 281) | func (drf DateRangeFacets) Add(dateRangeFacet *DateRangeFacet) DateRan...
method Len (line 293) | func (drf DateRangeFacets) Len() int { return len(drf) }
method Swap (line 294) | func (drf DateRangeFacets) Swap(i, j int) { drf[i], drf[j] = drf[j], d...
method Less (line 295) | func (drf DateRangeFacets) Less(i, j int) bool {
type FacetResult (line 302) | type FacetResult struct
method Size (line 312) | func (fr *FacetResult) Size() int {
method Merge (line 320) | func (fr *FacetResult) Merge(other *FacetResult) {
method Fixup (line 353) | func (fr *FacetResult) Fixup(size int) {
type FacetResults (line 384) | type FacetResults
method Merge (line 386) | func (fr FacetResults) Merge(other FacetResults) {
method Fixup (line 397) | func (fr FacetResults) Fixup(name string, size int) {
FILE: search/facets_builder_test.go
function TestTermFacetResultsMerge (line 23) | func TestTermFacetResultsMerge(t *testing.T) {
function TestNumericFacetResultsMerge (line 219) | func TestNumericFacetResultsMerge(t *testing.T) {
function TestDateFacetResultsMerge (line 322) | func TestDateFacetResultsMerge(t *testing.T) {
FILE: search/highlight/format/ansi/ansi.go
constant Name (line 22) | Name = "ansi"
constant DefaultAnsiHighlight (line 24) | DefaultAnsiHighlight = BgYellow
type FragmentFormatter (line 26) | type FragmentFormatter struct
method Format (line 36) | func (a *FragmentFormatter) Format(f *highlight.Fragment, orderedTermL...
function NewFragmentFormatter (line 30) | func NewFragmentFormatter(color string) *FragmentFormatter {
constant Reset (line 73) | Reset = "\x1b[0m"
constant Bright (line 74) | Bright = "\x1b[1m"
constant Dim (line 75) | Dim = "\x1b[2m"
constant Underscore (line 76) | Underscore = "\x1b[4m"
constant Blink (line 77) | Blink = "\x1b[5m"
constant Reverse (line 78) | Reverse = "\x1b[7m"
constant Hidden (line 79) | Hidden = "\x1b[8m"
constant FgBlack (line 80) | FgBlack = "\x1b[30m"
constant FgRed (line 81) | FgRed = "\x1b[31m"
constant FgGreen (line 82) | FgGreen = "\x1b[32m"
constant FgYellow (line 83) | FgYellow = "\x1b[33m"
constant FgBlue (line 84) | FgBlue = "\x1b[34m"
constant FgMagenta (line 85) | FgMagenta = "\x1b[35m"
constant FgCyan (line 86) | FgCyan = "\x1b[36m"
constant FgWhite (line 87) | FgWhite = "\x1b[37m"
constant BgBlack (line 88) | BgBlack = "\x1b[40m"
constant BgRed (line 89) | BgRed = "\x1b[41m"
constant BgGreen (line 90) | BgGreen = "\x1b[42m"
constant BgYellow (line 91) | BgYellow = "\x1b[43m"
constant BgBlue (line 92) | BgBlue = "\x1b[44m"
constant BgMagenta (line 93) | BgMagenta = "\x1b[45m"
constant BgCyan (line 94) | BgCyan = "\x1b[46m"
constant BgWhite (line 95) | BgWhite = "\x1b[47m"
function Constructor (line 98) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 107) | func init() {
FILE: search/highlight/format/html/html.go
constant Name (line 24) | Name = "html"
constant defaultHTMLHighlightBefore (line 26) | defaultHTMLHighlightBefore = ""
constant defaultHTMLHighlightAfter (line 27) | defaultHTMLHighlightAfter = ""
type FragmentFormatter (line 29) | type FragmentFormatter struct
method Format (line 41) | func (a *FragmentFormatter) Format(f *highlight.Fragment, orderedTermL...
function NewFragmentFormatter (line 34) | func NewFragmentFormatter(before, after string) *FragmentFormatter {
function Constructor (line 75) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 89) | func init() {
FILE: search/highlight/format/html/html_test.go
function TestHTMLFragmentFormatter (line 24) | func TestHTMLFragmentFormatter(t *testing.T) {
FILE: search/highlight/format/plain/plain.go
constant Name (line 22) | Name = "plain"
constant defaultPlainHighlightBefore (line 24) | defaultPlainHighlightBefore = ""
constant defaultPlainHighlightAfter (line 25) | defaultPlainHighlightAfter = ""
type FragmentFormatter (line 27) | type FragmentFormatter struct
method Format (line 39) | func (a *FragmentFormatter) Format(f *highlight.Fragment, orderedTermL...
function NewFragmentFormatter (line 32) | func NewFragmentFormatter(before, after string) *FragmentFormatter {
function Constructor (line 73) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 87) | func init() {
FILE: search/highlight/format/plain/plain_test.go
function TestPlainFragmentFormatter (line 24) | func TestPlainFragmentFormatter(t *testing.T) {
FILE: search/highlight/fragmenter/simple/simple.go
constant Name (line 24) | Name = "simple"
constant defaultFragmentSize (line 26) | defaultFragmentSize = 200
type Fragmenter (line 28) | type Fragmenter struct
method Fragment (line 38) | func (s *Fragmenter) Fragment(orig []byte, ot highlight.TermLocations)...
function NewFragmenter (line 32) | func NewFragmenter(fragmentSize int) *Fragmenter {
function Constructor (line 142) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 151) | func init() {
FILE: search/highlight/fragmenter/simple/simple_test.go
function TestSimpleFragmenter (line 24) | func TestSimpleFragmenter(t *testing.T) {
function TestSimpleFragmenterWithSize (line 252) | func TestSimpleFragmenterWithSize(t *testing.T) {
FILE: search/highlight/highlighter.go
type Fragment (line 22) | type Fragment struct
method Overlaps (line 31) | func (f *Fragment) Overlaps(other *Fragment) bool {
type Fragmenter (line 40) | type Fragmenter interface
type FragmentFormatter (line 44) | type FragmentFormatter interface
type FragmentScorer (line 48) | type FragmentScorer interface
type Highlighter (line 52) | type Highlighter interface
FILE: search/highlight/highlighter/ansi/ansi.go
constant Name (line 27) | Name = "ansi"
function Constructor (line 29) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 48) | func init() {
FILE: search/highlight/highlighter/html/html.go
constant Name (line 27) | Name = "html"
function Constructor (line 29) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 48) | func init() {
FILE: search/highlight/highlighter/simple/fragment_scorer_simple.go
type FragmentScorer (line 25) | type FragmentScorer struct
method Score (line 35) | func (s *FragmentScorer) Score(f *highlight.Fragment) {
function NewFragmentScorer (line 29) | func NewFragmentScorer(tlm search.TermLocationMap) *FragmentScorer {
FILE: search/highlight/highlighter/simple/fragment_scorer_simple_test.go
function TestSimpleFragmentScorer (line 24) | func TestSimpleFragmentScorer(t *testing.T) {
FILE: search/highlight/highlighter/simple/highlighter_simple.go
constant Name (line 28) | Name = "simple"
constant DefaultSeparator (line 29) | DefaultSeparator = "…"
type Highlighter (line 31) | type Highlighter struct
method Fragmenter (line 45) | func (s *Highlighter) Fragmenter() highlight.Fragmenter {
method SetFragmenter (line 49) | func (s *Highlighter) SetFragmenter(f highlight.Fragmenter) {
method FragmentFormatter (line 53) | func (s *Highlighter) FragmentFormatter() highlight.FragmentFormatter {
method SetFragmentFormatter (line 57) | func (s *Highlighter) SetFragmentFormatter(f highlight.FragmentFormatt...
method Separator (line 61) | func (s *Highlighter) Separator() string {
method SetSeparator (line 65) | func (s *Highlighter) SetSeparator(sep string) {
method BestFragmentInField (line 69) | func (s *Highlighter) BestFragmentInField(dm *search.DocumentMatch, do...
method BestFragmentsInField (line 77) | func (s *Highlighter) BestFragmentsInField(dm *search.DocumentMatch, d...
function NewHighlighter (line 37) | func NewHighlighter(fragmenter highlight.Fragmenter, formatter highlight...
type FragmentQueue (line 157) | type FragmentQueue
method Len (line 159) | func (fq FragmentQueue) Len() int { return len(fq) }
method Less (line 161) | func (fq FragmentQueue) Less(i, j int) bool {
method Swap (line 166) | func (fq FragmentQueue) Swap(i, j int) {
method Push (line 172) | func (fq *FragmentQueue) Push(x interface{}) {
method Pop (line 179) | func (fq *FragmentQueue) Pop() interface{} {
function Constructor (line 188) | func Constructor(config map[string]interface{}, cache *registry.Cache) (...
function init (line 216) | func init() {
FILE: search/highlight/highlighter/simple/highlighter_simple_test.go
constant reset (line 28) | reset = "\x1b[0m"
constant DefaultAnsiHighlight (line 29) | DefaultAnsiHighlight = "\x1b[43m"
function TestSimpleHighlighter (line 32) | func TestSimpleHighlighter(t *testing.T) {
function TestSimpleHighlighterLonger (line 69) | func TestSimpleHighlighterLonger(t *testing.T) {
FILE: search/highlight/term_locations.go
type TermLocation (line 24) | type TermLocation struct
method Overlaps (line 32) | func (tl *TermLocation) Overlaps(other *TermLocation) bool {
type TermLocations (line 43) | type TermLocations
method Len (line 45) | func (t TermLocations) Len() int { return len(t) }
method Swap (line 46) | func (t TermLocations) Swap(i, j int) { t[i], t[j] = t[j], t[i] }
method Less (line 47) | func (t TermLocations) Less(i, j int) bool {
method MergeOverlapping (line 74) | func (t TermLocations) MergeOverlapping() {
function OrderTermLocations (line 89) | func OrderTermLocations(tlm search.TermLocationMap) TermLocations {
FILE: search/highlight/term_locations_test.go
function TestTermLocationOverlaps (line 24) | func TestTermLocationOverlaps(t *testing.T) {
function TestTermLocationsMergeOverlapping (line 127) | func TestTermLocationsMergeOverlapping(t *testing.T) {
function TestTermLocationsOrder (line 345) | func TestTermLocationsOrder(t *testing.T) {
FILE: search/levenshtein.go
function LevenshteinDistance (line 21) | func LevenshteinDistance(a, b string) int {
function LevenshteinDistanceMax (line 59) | func LevenshteinDistanceMax(a, b string, max int) (int, bool) {
function LevenshteinDistanceMaxReuseSlice (line 64) | func LevenshteinDistanceMaxReuseSlice(a, b string, max int, d []int) (in...
FILE: search/levenshtein_test.go
function TestLevenshteinDistance (line 21) | func TestLevenshteinDistance(t *testing.T) {
function TestLevenshteinDistanceMax (line 48) | func TestLevenshteinDistanceMax(t *testing.T) {
function BenchmarkLevenshteinDistance (line 110) | func BenchmarkLevenshteinDistance(b *testing.B) {
function BenchmarkLevenshteinDistanceMax (line 119) | func BenchmarkLevenshteinDistanceMax(b *testing.B) {
FILE: search/pool.go
function init (line 23) | func init() {
type DocumentMatchPoolTooSmall (line 32) | type DocumentMatchPoolTooSmall
type DocumentMatchPool (line 38) | type DocumentMatchPool struct
method Get (line 73) | func (p *DocumentMatchPool) Get() *DocumentMatch {
method Put (line 84) | func (p *DocumentMatchPool) Put(d *DocumentMatch) {
function defaultDocumentMatchPoolTooSmall (line 43) | func defaultDocumentMatchPoolTooSmall(p *DocumentMatchPool) *DocumentMat...
function NewDocumentMatchPool (line 50) | func NewDocumentMatchPool(size, sortsize int) *DocumentMatchPool {
FILE: search/pool_test.go
function TestDocumentMatchPool (line 19) | func TestDocumentMatchPool(t *testing.T) {
FILE: search/query/bool_field.go
type BoolFieldQuery (line 26) | type BoolFieldQuery struct
method SetBoost (line 39) | func (q *BoolFieldQuery) SetBoost(b float64) {
method Boost (line 44) | func (q *BoolFieldQuery) Boost() float64 {
method SetField (line 48) | func (q *BoolFieldQuery) SetField(f string) {
method Field (line 52) | func (q *BoolFieldQuery) Field() string {
method Searcher (line 56) | func (q *BoolFieldQuery) Searcher(ctx context.Context, i index.IndexRe...
function NewBoolFieldQuery (line 33) | func NewBoolFieldQuery(val bool) *BoolFieldQuery {
FILE: search/query/boolean.go
type BooleanQuery (line 29) | type BooleanQuery struct
method SetMinShould (line 73) | func (q *BooleanQuery) SetMinShould(minShould float64) {
method AddMust (line 77) | func (q *BooleanQuery) AddMust(m ...Query) {
method AddShould (line 91) | func (q *BooleanQuery) AddShould(m ...Query) {
method AddMustNot (line 105) | func (q *BooleanQuery) AddMustNot(m ...Query) {
method AddFilter (line 119) | func (q *BooleanQuery) AddFilter(m Query) {
method SetBoost (line 126) | func (q *BooleanQuery) SetBoost(b float64) {
method Boost (line 131) | func (q *BooleanQuery) Boost() float64 {
method Searcher (line 135) | func (q *BooleanQuery) Searcher(ctx context.Context, i index.IndexRead...
method Validate (line 268) | func (q *BooleanQuery) Validate() error {
method UnmarshalJSON (line 299) | func (q *BooleanQuery) UnmarshalJSON(data []byte) error {
function NewBooleanQuery (line 46) | func NewBooleanQuery(must []Query, should []Query, mustNot []Query) *Boo...
function NewBooleanQueryForQueryString (line 62) | func NewBooleanQueryForQueryString(must []Query, should []Query, mustNot...
FILE: search/query/boost.go
type Boost (line 19) | type Boost
method Value (line 21) | func (b *Boost) Value() float64 {
method GoString (line 28) | func (b *Boost) GoString() string {
FILE: search/query/conjunction.go
type ConjunctionQuery (line 28) | type ConjunctionQuery struct
method SetBoost (line 42) | func (q *ConjunctionQuery) SetBoost(b float64) {
method Boost (line 47) | func (q *ConjunctionQuery) Boost() float64 {
method AddQuery (line 51) | func (q *ConjunctionQuery) AddQuery(aq ...Query) {
method Searcher (line 55) | func (q *ConjunctionQuery) Searcher(ctx context.Context, i index.Index...
method Validate (line 123) | func (q *ConjunctionQuery) Validate() error {
method UnmarshalJSON (line 135) | func (q *ConjunctionQuery) UnmarshalJSON(data []byte) error {
function NewConjunctionQuery (line 36) | func NewConjunctionQuery(conjuncts []Query) *ConjunctionQuery {
FILE: search/query/date_range.go
type BleveQueryTime (line 41) | type BleveQueryTime struct
method MarshalJSON (line 65) | func (t *BleveQueryTime) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 70) | func (t *BleveQueryTime) UnmarshalJSON(data []byte) error {
function init (line 48) | func init() {
function queryTimeFromString (line 53) | func queryTimeFromString(t string) (time.Time, error) {
type DateRangeQuery (line 87) | type DateRangeQuery struct
method SetBoost (line 120) | func (q *DateRangeQuery) SetBoost(b float64) {
method Boost (line 125) | func (q *DateRangeQuery) Boost() float64 {
method SetField (line 129) | func (q *DateRangeQuery) SetField(f string) {
method Field (line 133) | func (q *DateRangeQuery) Field() string {
method Searcher (line 137) | func (q *DateRangeQuery) Searcher(ctx context.Context, i index.IndexRe...
method parseEndpoints (line 151) | func (q *DateRangeQuery) parseEndpoints() (*float64, *float64, error) {
method Validate (line 174) | func (q *DateRangeQuery) Validate() error {
function NewDateRangeQuery (line 101) | func NewDateRangeQuery(start, end time.Time) *DateRangeQuery {
function NewDateRangeInclusiveQuery (line 111) | func NewDateRangeInclusiveQuery(start, end time.Time, startInclusive, en...
function isDatetimeCompatible (line 185) | func isDatetimeCompatible(t BleveQueryTime) bool {
FILE: search/query/date_range_string.go
type DateRangeStringQuery (line 35) | type DateRangeStringQuery struct
method SetBoost (line 73) | func (q *DateRangeStringQuery) SetBoost(b float64) {
method Boost (line 78) | func (q *DateRangeStringQuery) Boost() float64 {
method SetField (line 82) | func (q *DateRangeStringQuery) SetField(f string) {
method Field (line 86) | func (q *DateRangeStringQuery) Field() string {
method SetDateTimeParser (line 90) | func (q *DateRangeStringQuery) SetDateTimeParser(d string) {
method DateTimeParserName (line 94) | func (q *DateRangeStringQuery) DateTimeParserName() string {
method Searcher (line 98) | func (q *DateRangeStringQuery) Searcher(ctx context.Context, i index.I...
method parseEndpoints (line 135) | func (q *DateRangeStringQuery) parseEndpoints(startTime, endTime time....
method Validate (line 163) | func (q *DateRangeStringQuery) Validate() error {
function NewDateRangeStringQuery (line 52) | func NewDateRangeStringQuery(start, end string) *DateRangeStringQuery {
function NewDateRangeStringInclusiveQuery (line 64) | func NewDateRangeStringInclusiveQuery(start, end string, startInclusive,...
function isDateTimeWithinRange (line 171) | func isDateTimeWithinRange(t time.Time) bool {
FILE: search/query/date_range_test.go
function TestBleveQueryTime (line 23) | func TestBleveQueryTime(t *testing.T) {
function TestValidateDatetimeRanges (line 53) | func TestValidateDatetimeRanges(t *testing.T) {
FILE: search/query/disjunction.go
type DisjunctionQuery (line 29) | type DisjunctionQuery struct
method RetrieveScoreBreakdown (line 37) | func (q *DisjunctionQuery) RetrieveScoreBreakdown(b bool) {
method SetBoost (line 49) | func (q *DisjunctionQuery) SetBoost(b float64) {
method Boost (line 54) | func (q *DisjunctionQuery) Boost() float64 {
method AddQuery (line 58) | func (q *DisjunctionQuery) AddQuery(aq ...Query) {
method SetMin (line 62) | func (q *DisjunctionQuery) SetMin(m float64) {
method Searcher (line 66) | func (q *DisjunctionQuery) Searcher(ctx context.Context, i index.Index...
method Validate (line 98) | func (q *DisjunctionQuery) Validate() error {
method UnmarshalJSON (line 113) | func (q *DisjunctionQuery) UnmarshalJSON(data []byte) error {
function NewDisjunctionQuery (line 43) | func NewDisjunctionQuery(disjuncts []Query) *DisjunctionQuery {
FILE: search/query/docid.go
type DocIDQuery (line 26) | type DocIDQuery struct
method SetBoost (line 40) | func (q *DocIDQuery) SetBoost(b float64) {
method Boost (line 45) | func (q *DocIDQuery) Boost() float64 {
method Searcher (line 49) | func (q *DocIDQuery) Searcher(ctx context.Context, i index.IndexReader...
function NewDocIDQuery (line 34) | func NewDocIDQuery(ids []string) *DocIDQuery {
FILE: search/query/fuzzy.go
type FuzzyQuery (line 27) | type FuzzyQuery struct
method SetBoost (line 50) | func (q *FuzzyQuery) SetBoost(b float64) {
method Boost (line 55) | func (q *FuzzyQuery) Boost() float64 {
method SetField (line 59) | func (q *FuzzyQuery) SetField(f string) {
method Field (line 63) | func (q *FuzzyQuery) Field() string {
method SetFuzziness (line 67) | func (q *FuzzyQuery) SetFuzziness(f int) {
method SetAutoFuzziness (line 71) | func (q *FuzzyQuery) SetAutoFuzziness(a bool) {
method SetPrefix (line 75) | func (q *FuzzyQuery) SetPrefix(p int) {
method Searcher (line 79) | func (q *FuzzyQuery) Searcher(ctx context.Context, i index.IndexReader...
method UnmarshalJSON (line 90) | func (q *FuzzyQuery) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 112) | func (f *FuzzyQuery) MarshalJSON() ([]byte, error) {
function NewFuzzyQuery (line 43) | func NewFuzzyQuery(term string) *FuzzyQuery {
FILE: search/query/geo_boundingbox.go
type GeoBoundingBoxQuery (line 29) | type GeoBoundingBoxQuery struct
method SetBoost (line 43) | func (q *GeoBoundingBoxQuery) SetBoost(b float64) {
method Boost (line 48) | func (q *GeoBoundingBoxQuery) Boost() float64 {
method SetField (line 52) | func (q *GeoBoundingBoxQuery) SetField(f string) {
method Field (line 56) | func (q *GeoBoundingBoxQuery) Field() string {
method Searcher (line 60) | func (q *GeoBoundingBoxQuery) Searcher(ctx context.Context, i index.In...
method Validate (line 87) | func (q *GeoBoundingBoxQuery) Validate() error {
method UnmarshalJSON (line 94) | func (q *GeoBoundingBoxQuery) UnmarshalJSON(data []byte) error {
function NewGeoBoundingBoxQuery (line 36) | func NewGeoBoundingBoxQuery(topLeftLon, topLeftLat, bottomRightLon, bott...
FILE: search/query/geo_boundingpolygon.go
type GeoBoundingPolygonQuery (line 29) | type GeoBoundingPolygonQuery struct
method SetBoost (line 40) | func (q *GeoBoundingPolygonQuery) SetBoost(b float64) {
method Boost (line 45) | func (q *GeoBoundingPolygonQuery) Boost() float64 {
method SetField (line 49) | func (q *GeoBoundingPolygonQuery) SetField(f string) {
method Field (line 53) | func (q *GeoBoundingPolygonQuery) Field() string {
method Searcher (line 57) | func (q *GeoBoundingPolygonQuery) Searcher(ctx context.Context, i inde...
method Validate (line 69) | func (q *GeoBoundingPolygonQuery) Validate() error {
method UnmarshalJSON (line 73) | func (q *GeoBoundingPolygonQuery) UnmarshalJSON(data []byte) error {
function NewGeoBoundingPolygonQuery (line 35) | func NewGeoBoundingPolygonQuery(points []geo.Point) *GeoBoundingPolygonQ...
FILE: search/query/geo_distance.go
type GeoDistanceQuery (line 29) | type GeoDistanceQuery struct
method SetBoost (line 43) | func (q *GeoDistanceQuery) SetBoost(b float64) {
method Boost (line 48) | func (q *GeoDistanceQuery) Boost() float64 {
method SetField (line 52) | func (q *GeoDistanceQuery) SetField(f string) {
method Field (line 56) | func (q *GeoDistanceQuery) Field() string {
method Searcher (line 60) | func (q *GeoDistanceQuery) Searcher(ctx context.Context, i index.Index...
method Validate (line 78) | func (q *GeoDistanceQuery) Validate() error {
method UnmarshalJSON (line 82) | func (q *GeoDistanceQuery) UnmarshalJSON(data []byte) error {
function NewGeoDistanceQuery (line 36) | func NewGeoDistanceQuery(lon, lat float64, distance string) *GeoDistance...
FILE: search/query/geo_shape.go
type Geometry (line 29) | type Geometry struct
method UnmarshalJSON (line 121) | func (q *Geometry) UnmarshalJSON(data []byte) error {
type GeoShapeQuery (line 34) | type GeoShapeQuery struct
method SetBoost (line 87) | func (q *GeoShapeQuery) SetBoost(b float64) {
method Boost (line 92) | func (q *GeoShapeQuery) Boost() float64 {
method SetField (line 96) | func (q *GeoShapeQuery) SetField(f string) {
method Field (line 100) | func (q *GeoShapeQuery) Field() string {
method Searcher (line 104) | func (q *GeoShapeQuery) Searcher(ctx context.Context, i index.IndexRea...
method Validate (line 117) | func (q *GeoShapeQuery) Validate() error {
function NewGeoShapeQuery (line 45) | func NewGeoShapeQuery(coordinates [][][][]float64, typ,
function NewGeoShapeCircleQuery (line 62) | func NewGeoShapeCircleQuery(coordinates []float64, radius,
function NewGeometryCollectionQuery (line 76) | func NewGeometryCollectionQuery(coordinates [][][][][]float64, types []s...
FILE: search/query/ip_range.go
type IPRangeQuery (line 28) | type IPRangeQuery struct
method SetBoost (line 40) | func (q *IPRangeQuery) SetBoost(b float64) {
method Boost (line 45) | func (q *IPRangeQuery) Boost() float64 {
method SetField (line 49) | func (q *IPRangeQuery) SetField(f string) {
method Field (line 53) | func (q *IPRangeQuery) Field() string {
method Searcher (line 57) | func (q *IPRangeQuery) Searcher(ctx context.Context, i index.IndexRead...
method Validate (line 74) | func (q *IPRangeQuery) Validate() error {
function NewIPRangeQuery (line 34) | func NewIPRangeQuery(cidr string) *IPRangeQuery {
FILE: search/query/knn.go
type KNNQuery (line 31) | type KNNQuery struct
method Field (line 48) | func (q *KNNQuery) Field() string {
method SetK (line 52) | func (q *KNNQuery) SetK(k int64) {
method SetField (line 56) | func (q *KNNQuery) SetField(field string) {
method SetBoost (line 60) | func (q *KNNQuery) SetBoost(b float64) {
method Boost (line 65) | func (q *KNNQuery) Boost() float64 {
method SetParams (line 69) | func (q *KNNQuery) SetParams(params json.RawMessage) {
method SetEligibleSelector (line 73) | func (q *KNNQuery) SetEligibleSelector(eligibleSelector index.Eligible...
method Searcher (line 77) | func (q *KNNQuery) Searcher(ctx context.Context, i index.IndexReader,
function NewKNNQuery (line 44) | func NewKNNQuery(vector []float32) *KNNQuery {
FILE: search/query/match.go
type MatchQuery (line 27) | type MatchQuery struct
method SetBoost (line 90) | func (q *MatchQuery) SetBoost(b float64) {
method Boost (line 95) | func (q *MatchQuery) Boost() float64 {
method SetField (line 99) | func (q *MatchQuery) SetField(f string) {
method Field (line 103) | func (q *MatchQuery) Field() string {
method SetFuzziness (line 107) | func (q *MatchQuery) SetFuzziness(f int) {
method SetAutoFuzziness (line 111) | func (q *MatchQuery) SetAutoFuzziness(auto bool) {
method SetPrefix (line 115) | func (q *MatchQuery) SetPrefix(p int) {
method SetOperator (line 119) | func (q *MatchQuery) SetOperator(operator MatchQueryOperator) {
method Searcher (line 123) | func (q *MatchQuery) Searcher(ctx context.Context, i index.IndexReader...
method UnmarshalJSON (line 188) | func (q *MatchQuery) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 210) | func (f *MatchQuery) MarshalJSON() ([]byte, error) {
type MatchQueryOperator (line 38) | type MatchQueryOperator
method MarshalJSON (line 47) | func (o MatchQueryOperator) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 58) | func (o *MatchQueryOperator) UnmarshalJSON(data []byte) error {
constant MatchQueryOperatorOr (line 42) | MatchQueryOperatorOr = MatchQueryOperator(0)
constant MatchQueryOperatorAnd (line 44) | MatchQueryOperatorAnd = MatchQueryOperator(1)
function NewMatchQuery (line 83) | func NewMatchQuery(match string) *MatchQuery {
FILE: search/query/match_all.go
type MatchAllQuery (line 27) | type MatchAllQuery struct
method SetBoost (line 37) | func (q *MatchAllQuery) SetBoost(b float64) {
method Boost (line 42) | func (q *MatchAllQuery) Boost() float64 {
method Searcher (line 46) | func (q *MatchAllQuery) Searcher(ctx context.Context, i index.IndexRea...
method MarshalJSON (line 50) | func (q *MatchAllQuery) MarshalJSON() ([]byte, error) {
function NewMatchAllQuery (line 33) | func NewMatchAllQuery() *MatchAllQuery {
FILE: search/query/match_none.go
type MatchNoneQuery (line 27) | type MatchNoneQuery struct
method SetBoost (line 37) | func (q *MatchNoneQuery) SetBoost(b float64) {
method Boost (line 42) | func (q *MatchNoneQuery) Boost() float64 {
method Searcher (line 46) | func (q *MatchNoneQuery) Searcher(ctx context.Context, i index.IndexRe...
method MarshalJSON (line 50) | func (q *MatchNoneQuery) MarshalJSON() ([]byte, error) {
function NewMatchNoneQuery (line 33) | func NewMatchNoneQuery() *MatchNoneQuery {
FILE: search/query/match_phrase.go
type MatchPhraseQuery (line 28) | type MatchPhraseQuery struct
method SetBoost (line 51) | func (q *MatchPhraseQuery) SetBoost(b float64) {
method Boost (line 56) | func (q *MatchPhraseQuery) Boost() float64 {
method SetField (line 60) | func (q *MatchPhraseQuery) SetField(f string) {
method SetFuzziness (line 64) | func (q *MatchPhraseQuery) SetFuzziness(f int) {
method SetAutoFuzziness (line 68) | func (q *MatchPhraseQuery) SetAutoFuzziness(auto bool) {
method Field (line 72) | func (q *MatchPhraseQuery) Field() string {
method Searcher (line 76) | func (q *MatchPhraseQuery) Searcher(ctx context.Context, i index.Index...
method UnmarshalJSON (line 132) | func (q *MatchPhraseQuery) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 154) | func (f *MatchPhraseQuery) MarshalJSON() ([]byte, error) {
function NewMatchPhraseQuery (line 45) | func NewMatchPhraseQuery(matchPhrase string) *MatchPhraseQuery {
function tokenStreamToPhrase (line 109) | func tokenStreamToPhrase(tokens analysis.TokenStream) [][]string {
FILE: search/query/match_phrase_test.go
function TestTokenStreamToPhrase (line 24) | func TestTokenStreamToPhrase(t *testing.T) {
FILE: search/query/multi_phrase.go
type MultiPhraseQuery (line 28) | type MultiPhraseQuery struct
method SetFuzziness (line 52) | func (q *MultiPhraseQuery) SetFuzziness(f int) {
method SetAutoFuzziness (line 56) | func (q *MultiPhraseQuery) SetAutoFuzziness(auto bool) {
method SetBoost (line 60) | func (q *MultiPhraseQuery) SetBoost(b float64) {
method Boost (line 65) | func (q *MultiPhraseQuery) Boost() float64 {
method Field (line 69) | func (q *MultiPhraseQuery) Field() string {
method SetField (line 73) | func (q *MultiPhraseQuery) SetField(f string) {
method Searcher (line 77) | func (q *MultiPhraseQuery) Searcher(ctx context.Context, i index.Index...
method Validate (line 81) | func (q *MultiPhraseQuery) Validate() error {
method UnmarshalJSON (line 88) | func (q *MultiPhraseQuery) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 110) | func (f *MultiPhraseQuery) MarshalJSON() ([]byte, error) {
function NewMultiPhraseQuery (line 45) | func NewMultiPhraseQuery(terms [][]string, field string) *MultiPhraseQue...
FILE: search/query/numeric_range.go
type NumericRangeQuery (line 27) | type NumericRangeQuery struct
method SetBoost (line 58) | func (q *NumericRangeQuery) SetBoost(b float64) {
method Boost (line 63) | func (q *NumericRangeQuery) Boost() float64 {
method SetField (line 67) | func (q *NumericRangeQuery) SetField(f string) {
method Field (line 71) | func (q *NumericRangeQuery) Field() string {
method Searcher (line 75) | func (q *NumericRangeQuery) Searcher(ctx context.Context, i index.Inde...
method Validate (line 84) | func (q *NumericRangeQuery) Validate() error {
function NewNumericRangeQuery (line 41) | func NewNumericRangeQuery(min, max *float64) *NumericRangeQuery {
function NewNumericRangeInclusiveQuery (line 49) | func NewNumericRangeInclusiveQuery(min, max *float64, minInclusive, maxI...
FILE: search/query/phrase.go
type PhraseQuery (line 28) | type PhraseQuery struct
method SetBoost (line 49) | func (q *PhraseQuery) SetBoost(b float64) {
method SetFuzziness (line 54) | func (q *PhraseQuery) SetFuzziness(f int) {
method SetAutoFuzziness (line 58) | func (q *PhraseQuery) SetAutoFuzziness(auto bool) {
method Boost (line 62) | func (q *PhraseQuery) Boost() float64 {
method SetField (line 66) | func (q *PhraseQuery) SetField(f string) {
method Field (line 70) | func (q *PhraseQuery) Field() string {
method Searcher (line 74) | func (q *PhraseQuery) Searcher(ctx context.Context, i index.IndexReade...
method Validate (line 78) | func (q *PhraseQuery) Validate() error {
method UnmarshalJSON (line 85) | func (q *PhraseQuery) UnmarshalJSON(data []byte) error {
method MarshalJSON (line 107) | func (f *PhraseQuery) MarshalJSON() ([]byte, error) {
function NewPhraseQuery (line 42) | func NewPhraseQuery(terms []string, field string) *PhraseQuery {
FILE: search/query/prefix.go
type PrefixQuery (line 26) | type PrefixQuery struct
method SetBoost (line 41) | func (q *PrefixQuery) SetBoost(b float64) {
method Boost (line 46) | func (q *PrefixQuery) Boost() float64 {
method SetField (line 50) | func (q *PrefixQuery) SetField(f string) {
method Field (line 54) | func (q *PrefixQuery) Field() string {
method Searcher (line 58) | func (q *PrefixQuery) Searcher(ctx context.Context, i index.IndexReade...
function NewPrefixQuery (line 35) | func NewPrefixQuery(prefix string) *PrefixQuery {
FILE: search/query/query.go
function SetLog (line 37) | func SetLog(l *log.Logger) {
type Query (line 43) | type Query interface
type BoostableQuery (line 50) | type BoostableQuery interface
type FieldableQuery (line 58) | type FieldableQuery interface
type ValidatableQuery (line 66) | type ValidatableQuery interface
function ParsePreSearchData (line 73) | func ParsePreSearchData(input []byte) (map[string]interface{}, error) {
function ParseQuery (line 128) | func ParseQuery(input []byte) (Query, error) {
function expandQuery (line 384) | func expandQuery(m mapping.IndexMapping, query Query) (Query, error) {
function DumpQuery (line 449) | func DumpQuery(m mapping.IndexMapping, query Query) (string, error) {
function ExtractFields (line 461) | func ExtractFields(q Query, m mapping.IndexMapping, fs search.FieldSet) ...
constant FuzzyMatchType (line 515) | FuzzyMatchType = iota
constant RegexpMatchType (line 516) | RegexpMatchType
constant PrefixMatchType (line 517) | PrefixMatchType
function ExtractSynonyms (line 525) | func ExtractSynonyms(ctx context.Context, m mapping.SynonymMapping, r in...
function addSynonymsForTermWithMatchType (line 694) | func addSynonymsForTermWithMatchType(ctx context.Context, matchType int,...
function addSynonymsForTerm (line 763) | func addSynonymsForTerm(ctx context.Context, src, field, term string,
FILE: search/query/query_string.go
type QueryStringQuery (line 25) | type QueryStringQuery struct
method SetBoost (line 39) | func (q *QueryStringQuery) SetBoost(b float64) {
method Boost (line 44) | func (q *QueryStringQuery) Boost() float64 {
method Parse (line 48) | func (q *QueryStringQuery) Parse() (Query, error) {
method Searcher (line 52) | func (q *QueryStringQuery) Searcher(ctx context.Context, i index.Index...
method Validate (line 60) | func (q *QueryStringQuery) Validate() error {
function NewQueryStringQuery (line 33) | func NewQueryStringQuery(query string) *QueryStringQuery {
FILE: search/query/query_string.y.go
function logDebugGrammar (line 16) | func logDebugGrammar(format string, v ...interface{}) {
type yySymType (line 23) | type yySymType struct
constant tSTRING (line 32) | tSTRING = 57346
constant tPHRASE (line 33) | tPHRASE = 57347
constant tPLUS (line 34) | tPLUS = 57348
constant tMINUS (line 35) | tMINUS = 57349
constant tCOLON (line 36) | tCOLON = 57350
constant tBOOST (line 37) | tBOOST = 57351
constant tNUMBER (line 38) | tNUMBER = 57352
constant tGREATER (line 39) | tGREATER = 57353
constant tLESS (line 40) | tLESS = 57354
constant tEQUAL (line 41) | tEQUAL = 57355
constant tTILDE (line 42) | tTILDE = 57356
constant yyEofCode (line 63) | yyEofCode = 1
constant yyErrCode (line 64) | yyErrCode = 2
constant yyInitialStackSize (line 65) | yyInitialStackSize = 16
constant yyPrivate (line 83) | yyPrivate = 57344
constant yyLast (line 85) | yyLast = 43
type yyLexer (line 160) | type yyLexer interface
type yyParser (line 165) | type yyParser interface
type yyParserImpl (line 170) | type yyParserImpl struct
method Lookahead (line 176) | func (p *yyParserImpl) Lookahead() int {
method Parse (line 307) | func (yyrcvr *yyParserImpl) Parse(yylex yyLexer) int {
function yyNewParser (line 180) | func yyNewParser() yyParser {
constant yyFlag (line 184) | yyFlag = -1000
function yyTokname (line 186) | func yyTokname(c int) string {
function yyStatname (line 195) | func yyStatname(s int) string {
function yyErrorMessage (line 204) | func yyErrorMessage(state, lookAhead int) string {
function yylex1 (line 268) | func yylex1(lex yyLexer, lval *yySymType) (char, token int) {
function yyParse (line 303) | func yyParse(yylex yyLexer) int {
FILE: search/query/query_string_lex.go
constant reservedChars (line 24) | reservedChars = "+-=&|>