Versions in this module Expand all Collapse all v0 v0.2.0 Feb 2, 2015 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) Close() error + 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 + type IndexWriter struct + LogSkip bool + Verbose bool + func Create(file string) *IndexWriter + func (ix *IndexWriter) Add(name string, f io.Reader) string + func (ix *IndexWriter) AddFile(name string) + func (ix *IndexWriter) AddPaths(paths []string) + 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