Documentation
¶
Overview ¶
Package storetest defines reusable conformance tests for lifecycle stores.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFullTextRecallConformance ¶
func RunFullTextRecallConformance(t *testing.T, newStore func(*testing.T) FullTextStore)
RunFullTextRecallConformance checks that full-text recall matches any query term, handles Chinese text, drops matches weaker than half the best one, and ranks by matched terms the same way in every store.
func RunLifecycleConformance ¶
Types ¶
type FullTextStore ¶
type FullTextStore interface {
memorykit.LifecycleStore
memorykit.RecallStore
}
FullTextStore is a store whose full-text recall channel is under test.
Click to show internal directories.
Click to hide internal directories.