top

Package index provides a generic indexing system on top of the abstract Storage interface.

The following keys & values are populated by receiving blobs and queried for search operations:

* Recent Permanodes

 "recpn|<pgp-keyid>|<reverse-modtime>|<claim-blobref>" == "<permanode-blobref>"
  where reverse-modtime flips each digit to '9'-<digit> and prepends "rt" (for reverse time)
         "2011-11-27T01:23:45Z"
   ==> "rt7988-88-72T98:76:54Z"

* signer blobref of ascii public key -> gpg key id
  "signerkeyid:sha1-ad87ca5c78bd0ce1195c46f7c98e6025abbaf007" = "2931A67C26F5ABDA"

* PermanodeOfSignerAttrValue:
  "signerattrvalue|<keyid>|<URLEscape(attr)>|<URLEscape(value)>|<reverse-claimtime>|<claim-blobref>" == "<permanode>"
   e.g.
  "signerattrvalue|2931A67C26F5ABDA|camliRoot|rootval|"+
    "rt7988-88-71T98:67:60.999876543Z|sha1-bf115940641f1aae2e007edcf36b3b18c17256d9" =>
    "sha1-7a14cce982aa73ab519e63050f82e2a2adfcf039"

* Other:
  "meta:<blobref>" == "<size>|<mimetype>"
  "have:<blobref>" == "<size>" (used for enumeration, which doesn't need mime type)

* For GetOwnerClaims(permanode, signer):
  "claim|<permanode-blobref>|<keyid>|<date>|<claim-blobref>" => "<URL:type>|<URL:attr>|<URL:value>"

Imports 18 package(s)

  1. camlistore.org/pkg/syncutil
  2. camlistore.org/third_party/github.com/camlistore/goexif/exif
  3. camlistore.org/pkg/media
  4. camlistore.org/pkg/strutil
  5. camlistore.org/pkg/blob
  6. camlistore.org/pkg/images
  7. camlistore.org/third_party/github.com/camlistore/goexif/tiff
  8. camlistore.org/pkg/magic
  9. camlistore.org/pkg/blobserver
  10. camlistore.org/pkg/types/camtypes
  11. camlistore.org/pkg/jsonconfig
  12. camlistore.org/pkg/schema
  13. camlistore.org/pkg/jsonsign
  14. camlistore.org/pkg/types
  15. camlistore.org/pkg/osutil
  16. camlistore.org/pkg/sorted
  17. camlistore.org/third_party/github.com/hjfreyer/taglib-go/taglib
  18. camlistore.org/pkg/context

Test imports 3 package(s)

  1. camlistore.org/pkg/index/indextest
  2. camlistore.org/pkg/index
  3. camlistore.org/pkg/test