Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-243

Mongodb Indexer extra collections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • dao
    • None

    Description

      Creating separate collections for every secondary index leads to a lot of duplication of statements throughout mongodb. This effort should be rather minimal with better ramifications. Less data duplication leads to less expensive data being stored.

      This will also simplify the MongoStorageStrategy structure significantly. Base way to get a triple from mongo, and each new field/set of fields will have its own implementation built ontop.
      Currently:
      [Triples collection]
      {
      Object_ID: [id],
      subject: "subject",
      predicate: "predicate",
      object: "obj"
      }
      [indexer collection, ex: temporal] with indexing over timestamp
      {
      Object_ID: [id],
      subject: "subject",
      predicate: "predicate",
      object: "obj"
      timestamp: [time]
      }

      how mongo should be used:
      [Triples collection] temporal indexer enabled
      {
      Object_ID: [id],
      subject: "subject",
      predicate: "predicate",
      object: "obj",
      timestamp: timestamp
      }

      Attachments

        Activity

          People

            isper3at Andrew Smith
            isper3at Andrew Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: