Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (35 sloc) 1.58 KB
package ravendb
const (
// Name of struct field that represents identity property
IdentityProperty = "ID"
MetadataCollection = "@collection"
MetadataProjection = "@projection"
MetadataKey = "@metadata"
MetadataID = "@id"
MetadataConflict = "@conflict"
MetadataIDProperty = "Id"
MetadataFlags = "@flags"
MetadataAttachments = "@attachments"
MetadataInddexScore = "@index-score"
MetadataLastModified = "@last-modified"
MetadataRavenGoType = "Raven-Go-Type"
MetadataChangeVector = "@change-vector"
MetadataExpires = "@expires"
MetadataAllDocumentsCollection = "@all_docs"
IndexingSideBySideIndexNamePrefix = "ReplacementOf/"
IndexingFieldNameDocumentID = "id()"
IndexingFieldNameReduceKeyHash = "hash(key())"
IndexingFieldNameReduceKeyValue = "key()"
IndexingFieldAllFields = "__all_fields"
IndexingFieldsNameSpatialShare = "spatial(shape)"
//TBD CUSTOM_SORT_FIELD_NAME = "__customSort";
IndexingSpatialDefaultDistnaceErrorPct = 0.025
headersRequestTime = "Raven-Request-Time"
headersRefreshTopology = "Refresh-Topology"
headersTopologyEtag = "Topology-Etag"
headersClientConfigurationEtag = "Client-Configuration-Etag"
headersRefreshClientConfiguration = "Refresh-Client-Configuration"
headersClientVersion = "Raven-Client-Version"
headersEtag = "ETag"
headersIfNoneMatch = "If-None-Match"
)
You can’t perform that action at this time.