 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Indexer
- func (b *Indexer) Delete(ctx context.Context, ids ...int64) error
- func (b *Indexer) Index(ctx context.Context, issues ...*internal.IndexerData) error
- func (b *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (*internal.SearchResult, error)
- func (b *Indexer) SupportedSearchModes() []indexer.SearchMode
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
type Indexer struct {
	indexer_internal.Indexer // do not composite inner_elasticsearch.Indexer directly to avoid exposing too much
	// contains filtered or unexported fields
}
    Indexer implements Indexer interface
func NewIndexer ¶
NewIndexer creates a new elasticsearch indexer
func (*Indexer) Search ¶
func (b *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (*internal.SearchResult, error)
Search searches for issues by given conditions. Returns the matching issue IDs
func (*Indexer) SupportedSearchModes ¶ added in v1.24.0
func (b *Indexer) SupportedSearchModes() []indexer.SearchMode
 Click to show internal directories. 
   Click to hide internal directories.