github.com/weaviate/weaviate@v1.24.6/entities/dto/dto.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 dto 13 14 import ( 15 "github.com/weaviate/weaviate/entities/additional" 16 "github.com/weaviate/weaviate/entities/filters" 17 "github.com/weaviate/weaviate/entities/search" 18 "github.com/weaviate/weaviate/entities/searchparams" 19 ) 20 21 type GroupParams struct { 22 Strategy string 23 Force float32 24 } 25 26 type GetParams struct { 27 Filters *filters.LocalFilter 28 ClassName string 29 Pagination *filters.Pagination 30 Cursor *filters.Cursor 31 Sort []filters.Sort 32 Properties search.SelectProperties 33 NearVector *searchparams.NearVector 34 NearObject *searchparams.NearObject 35 KeywordRanking *searchparams.KeywordRanking 36 HybridSearch *searchparams.HybridSearch 37 GroupBy *searchparams.GroupBy 38 SearchVector []float32 39 TargetVector string 40 Group *GroupParams 41 ModuleParams map[string]interface{} 42 AdditionalProperties additional.Properties 43 ReplicationProperties *additional.ReplicationProperties 44 Tenant string 45 IsRefOrigin bool // is created by ref filter 46 }