search

package
v0.0.0-...-2be0f72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFileContents

func ReadFileContents(fileID, mimeType, name string, size int64) string

Types

type Indexer

type Indexer struct {
	RQL      r.Term
	GetID    func(item interface{}) string
	Apply    func(item interface{})
	Client   *elastic.Client
	Session  *r.Session
	MaxCount int
}

func NewFilesIndexer

func NewFilesIndexer(client *elastic.Client, session *r.Session) *Indexer

func NewMultiFileIndexer

func NewMultiFileIndexer(client *elastic.Client, session *r.Session, fileIDs ...interface{}) *Indexer

func NewMultiProcessIndexer

func NewMultiProcessIndexer(client *elastic.Client, session *r.Session, processIDs ...interface{}) *Indexer

func NewMultiProjectIndexer

func NewMultiProjectIndexer(client *elastic.Client, session *r.Session, projectIDs ...interface{}) *Indexer

func NewMultiSampleIndexer

func NewMultiSampleIndexer(client *elastic.Client, session *r.Session, sampleIDs ...interface{}) *Indexer

func NewMultiUserIndexer

func NewMultiUserIndexer(client *elastic.Client, session *r.Session, userIDs ...interface{}) *Indexer

func NewProcessesIndexer

func NewProcessesIndexer(client *elastic.Client, session *r.Session) *Indexer

func NewProjectsIndexer

func NewProjectsIndexer(client *elastic.Client, session *r.Session) *Indexer

func NewSamplesIndexer

func NewSamplesIndexer(client *elastic.Client, session *r.Session) *Indexer

func NewUsersIndexer

func NewUsersIndexer(client *elastic.Client, session *r.Session) *Indexer

func (*Indexer) Do

func (i *Indexer) Do(itype string, what interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL