github.com/altipla-consulting/ravendb-go-client@v0.1.3/constants.go (about) 1 package ravendb 2 3 const ( 4 // Name of struct field that represents identity property 5 IdentityProperty = "ID" 6 7 MetadataCollection = "@collection" 8 MetadataProjection = "@projection" 9 MetadataKey = "@metadata" 10 MetadataID = "@id" 11 MetadataConflict = "@conflict" 12 MetadataIDProperty = "Id" 13 MetadataFlags = "@flags" 14 MetadataAttachments = "@attachments" 15 MetadataInddexScore = "@index-score" 16 MetadataLastModified = "@last-modified" 17 MetadataRavenGoType = "Raven-Go-Type" 18 MetadataChangeVector = "@change-vector" 19 MetadataExpires = "@expires" 20 MetadataAllDocumentsCollection = "@all_docs" 21 22 IndexingSideBySideIndexNamePrefix = "ReplacementOf/" 23 IndexingFieldNameDocumentID = "id()" 24 IndexingFieldNameReduceKeyHash = "hash(key())" 25 IndexingFieldNameReduceKeyValue = "key()" 26 IndexingFieldAllFields = "__all_fields" 27 IndexingFieldsNameSpatialShare = "spatial(shape)" 28 //TBD CUSTOM_SORT_FIELD_NAME = "__customSort"; 29 IndexingSpatialDefaultDistnaceErrorPct = 0.025 30 31 headersRequestTime = "Raven-Request-Time" 32 headersRefreshTopology = "Refresh-Topology" 33 headersTopologyEtag = "Topology-Etag" 34 headersClientConfigurationEtag = "Client-Configuration-Etag" 35 headersRefreshClientConfiguration = "Refresh-Client-Configuration" 36 headersClientVersion = "Raven-Client-Version" 37 headersEtag = "ETag" 38 headersIfNoneMatch = "If-None-Match" 39 )