Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultOrigin = "http://localhost:8080" DefaultDatasetConfigPath = "datasets.yml" DefaultBatchSize = 100 DefaultQueriesCount = -1 DefaultQueriesInterval = -1 DefaultMultiplyProperties = 1 DefaultFilterObjectPercentage = 0 DefaultAlpha = 0 DefaultRanking = "ranked_fusion" DefaultVectorizer = false )
Variables ¶
Functions ¶
Types ¶
type IndexingExperimentResult ¶
type IndexingExperimentResult struct { // The name of the dataset Dataset string // The number of objects in the dataset Objects int // The batch size used for importing MultiplyProperties int // Docs where vectorized Vectorize bool // The time it took to import the dataset ImportTime float64 // Average time to import 1000 objects ImportTimePer1000 float64 // Objects per second ObjectsPerSecond float64 }
type QueryExperimentResult ¶
type QueryExperimentResult struct { // The name of the dataset Dataset string // Dataset size Objects int // Query count Queries int // Filter object percentage FilterObjectPercentage int // Alpha Alpha float32 // Ranking Ranking string // The time it took to query the dataset TotalQueryTime float64 // Average time to query 1000 objects QueryTimePer1000 float64 // Average time to query per 1000 indexed objects QueryTimePer1000000Documents float64 // Objects per second QueriesPerSecond float64 // Min query time Min time.Duration // Max query time Max time.Duration // P50 query time P50 time.Duration // P90 query time P90 time.Duration // P95 query time P99 time.Duration // Scores Scores lib.Scores }
Click to show internal directories.
Click to hide internal directories.