Documentation ¶
Index ¶
- func New(name string) (*bleveIndexer, error)
- type Record
- func (r *Record) Body() []byte
- func (r *Record) FullPath() string
- func (r *Record) Ignore()
- func (r *Record) Ignored() bool
- func (r *Record) Indexed() time.Time
- func (r *Record) Load() bool
- func (r *Record) Modified() time.Time
- func (r *Record) Path() string
- func (r *Record) SetBody(body []byte)
- func (r *Record) SetFullPath(fp string)
- func (r *Record) SetIndexed(index time.Time)
- func (r *Record) SetModified(mod time.Time)
- func (r *Record) SetTitle(title string)
- func (r *Record) Title() string
- func (r *Record) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Record ¶
type Record struct {
// contains filtered or unexported fields
}
Record handles indexer's data
func (*Record) SetFullPath ¶
SetFullPath defines a new fullpath for the record
func (*Record) SetIndexed ¶
SetIndexed define the time that this record has been indexed
func (*Record) SetModified ¶
SetModified defines new modification time for this record
Click to show internal directories.
Click to hide internal directories.