ft

package
v4.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestMain

func TestMain(m *testing.M)

Types

type BasicTestCase

type BasicTestCase struct {
	Description       string   `json:"test_case_description"`
	AllDocuments      []string `json:"all_documents"`
	ExpectedDocuments []string `json:"documents_expected_to_match"`
	ValidQueries      []string `json:"valid_queries"`
	InvalidQueries    []string `json:"invalid_queries"`
}

func ParseBasicTestCases

func ParseBasicTestCases() []BasicTestCase

type RankingTestCase

type RankingTestCase struct {
	Description       string     `json:"test_case_description"`
	AllDocuments      []string   `json:"all_documents"`
	ExpectedDocuments []string   `json:"expected_documents_order"`
	AnyOrderClasses   [][]string `json:"any_order_classes"`
	Queries           []string   `json:"queries"`
}

func ParseRankingTestCases

func ParseRankingTestCases() []RankingTestCase

type TextItem

type TextItem struct {
	ID        int `reindex:"id,,pk"`
	TextField string
}

Jump to

Keyboard shortcuts

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