github.com/weaviate/weaviate@v1.24.6/entities/schema/inverted_index_config.go (about) 1 // _ _ 2 // __ _____ __ ___ ___ __ _| |_ ___ 3 // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ 4 // \ V V / __/ (_| |\ V /| | (_| | || __/ 5 // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| 6 // 7 // Copyright © 2016 - 2024 Weaviate B.V. All rights reserved. 8 // 9 // CONTACT: hello@weaviate.io 10 // 11 12 package schema 13 14 import "github.com/weaviate/weaviate/entities/models" 15 16 type InvertedIndexConfig struct { 17 BM25 BM25Config 18 Stopwords models.StopwordConfig 19 IndexTimestamps bool 20 IndexNullState bool 21 IndexPropertyLength bool 22 } 23 24 type BM25Config struct { 25 K1 float64 26 B float64 27 }