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 21 package(s)

  1. go4.org/syncutil
  2. go4.org/types
  3. camlistore.org/pkg/sorted
  4. camlistore.org/pkg/env
  5. camlistore.org/pkg/osutil
  6. go4.org/readerutil
  7. golang.org/x/net/context
  8. camlistore.org/pkg/blob
  9. github.com/hjfreyer/taglib-go/taglib
  10. go4.org/strutil
  11. camlistore.org/pkg/blobserver
  12. camlistore.org/pkg/images
  13. camlistore.org/pkg/schema/nodeattr
  14. camlistore.org/pkg/media
  15. camlistore.org/pkg/schema
  16. github.com/rwcarlsen/goexif/exif
  17. go4.org/jsonconfig
  18. camlistore.org/pkg/jsonsign
  19. camlistore.org/pkg/magic
  20. camlistore.org/pkg/types/camtypes
  21. github.com/rwcarlsen/goexif/tiff

Test imports 9 package(s)

  1. camlistore.org/pkg/sorted/kvtest
  2. camlistore.org/pkg/sorted/mysql
  3. camlistore.org/pkg/sorted/postgres
  4. camlistore.org/pkg/sorted/kvfile
  5. camlistore.org/pkg/sorted/mongo
  6. camlistore.org/pkg/test
  7. camlistore.org/pkg/test/dockertest
  8. camlistore.org/pkg/index
  9. camlistore.org/pkg/index/indextest