helpers

package
v0.0.0-...-95de4b9 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DuplicateCheckFailed int64
View Source
var DuplicatesIgnored int64

Functions

func AddDuplicateToIndex

func AddDuplicateToIndex(client *elastic.Client, ignoredPath string, existingPath string)

func InitializeDuplicates

func InitializeDuplicates()

func IsDuplicate

func IsDuplicate(client *elastic.Client, signature string, aliasedPath string, markAsIndexed bool) bool

Check for duplicates. To handle the delay from indexing to being available for searching, track everything for the last few seconds ('expireDurationSeconds')

Types

This section is empty.

Jump to

Keyboard shortcuts

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