Versions in this module Expand all Collapse all v1 v1.0.0 Oct 6, 2014 Changes in this version + func File() string + func Merge(dst, src1, src2 string) + type Index struct + Verbose bool + func Open(file string) *Index + func (ix *Index) Name(fileid uint32) string + func (ix *Index) NameBytes(fileid uint32) []byte + func (ix *Index) Paths() []string + func (ix *Index) PostingAnd(list []uint32, trigram uint32) []uint32 + func (ix *Index) PostingList(trigram uint32) []uint32 + func (ix *Index) PostingOr(list []uint32, trigram uint32) []uint32 + func (ix *Index) PostingQuery(q *Query) []uint32 + func (ix Index) Close() + type IndexWriter struct + LogSkip bool + MaxFileLen int64 + MaxInvalidUTF8Ratio float64 + MaxLineLen int + MaxTextTrigrams int + Verbose bool + func Create(file string) *IndexWriter + func (ix *IndexWriter) Add(name string, f io.Reader, size int64) + func (ix *IndexWriter) AddFile(name string) + func (ix *IndexWriter) AddPaths(paths []string) + func (ix *IndexWriter) Close() + func (ix *IndexWriter) Flush() + type Query struct + Op QueryOp + Sub []*Query + Trigram []string + func RegexpQuery(re *syntax.Regexp) *Query + func (q *Query) String() string + type QueryOp int + const QAll + const QAnd + const QNone + const QOr