{"id":15994018,"url":"https://github.com/jexp/neo4j-memory-index","last_synced_at":"2025-10-14T22:11:11.915Z","repository":{"id":66743982,"uuid":"52191450","full_name":"jexp/neo4j-memory-index","owner":"jexp","description":"In Memory Index for Neo4j without disk storage, it is rebuilt at start of the database","archived":false,"fork":false,"pushed_at":"2016-02-21T04:58:15.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T20:44:33.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jexp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-21T04:57:45.000Z","updated_at":"2023-03-26T12:24:43.000Z","dependencies_parsed_at":"2023-05-05T19:01:03.546Z","dependency_job_id":null,"html_url":"https://github.com/jexp/neo4j-memory-index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jexp/neo4j-memory-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-memory-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-memory-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-memory-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-memory-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jexp","download_url":"https://codeload.github.com/jexp/neo4j-memory-index/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jexp%2Fneo4j-memory-index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021742,"owners_count":26087053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T07:05:02.243Z","updated_at":"2025-10-14T22:11:11.887Z","avatar_url":"https://github.com/jexp.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neo4j In-Memory Schema Index Provider\n\n**This is in alpha-state, still in development. Not ready for serious use**\n\nImplements a Schema Index Provider for Neo4j, label based indexes using an in memory sorted-map, which.\n\n## Approach\n\nThis index only exists in memory, it is populated when the database starts up.\nThe index is not persisted to disk, it should provide read and write performance for memory-access speeds\n\n## Installation\n\n`mvn clean install`\n\nThat will create a zip-file: `target/memory-index-1.0-provider.zip` whose content you have to put in Neo4j's classpath.\n\n\n## Ideas\n\n### optimize key-storage\n\n- optimize map on first addition for a concrete value type, e.g. int-long or float-long map or int-long[] map\n- optionally use different instances for different value types\n- if we have multiple instances, we can ask them in parallel for their value\n- write an implementation based on sorted arrays using Arrays.binarySearch()\n- use non-sorted map by default, trigger changing to sorted map/sorting only after first range access was requested\n\n### optimize value (node-ids) storage\n\n- initiallly optimize for single node-id entry\n- use a separate instance for single node values int-\u003elong map\n- use an optimized instance as long as node-ids are \u003c Integer.MAX_VALUE\n- optionally use a compressed bitset for larger amounts of node-ids\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-memory-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjexp%2Fneo4j-memory-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjexp%2Fneo4j-memory-index/lists"}