neo4j 1.0.0.beta.26-java → 1.0.0.beta.27-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/bin/neo4j-shell +107 -0
  2. data/bin/neo4j-shell~ +108 -0
  3. data/config/locales/en.yml +5 -0
  4. data/config/neo4j/config.yml +89 -0
  5. data/lib/Gemfile~ +3 -0
  6. data/lib/config2.yml~ +86 -0
  7. data/lib/neo4j.rb +34 -8
  8. data/lib/neo4j/config.rb +41 -12
  9. data/lib/neo4j/database.rb +34 -13
  10. data/lib/neo4j/index/class_methods.rb +1 -1
  11. data/lib/neo4j/index/lucene_query.rb +4 -2
  12. data/lib/neo4j/jars/{geronimo-jta_1.1_spec-1.1.1.jar → core/geronimo-jta_1.1_spec-1.1.1.jar} +0 -0
  13. data/lib/neo4j/jars/{lucene-core-3.0.2.jar → core/lucene-core-3.0.3.jar} +0 -0
  14. data/lib/neo4j/jars/core/neo4j-graph-algo-0.8-SNAPSHOT.jar +0 -0
  15. data/lib/neo4j/jars/core/neo4j-index-1.3-SNAPSHOT.jar +0 -0
  16. data/lib/neo4j/jars/core/neo4j-kernel-1.3-SNAPSHOT.jar +0 -0
  17. data/lib/neo4j/jars/core/neo4j-lucene-index-0.5-SNAPSHOT.jar +0 -0
  18. data/lib/neo4j/jars/ha/log4j-1.2.16.jar +0 -0
  19. data/lib/neo4j/jars/ha/neo4j-ha-0.6-SNAPSHOT.jar +0 -0
  20. data/lib/neo4j/jars/ha/neo4j-management-1.3-SNAPSHOT.jar +0 -0
  21. data/lib/neo4j/jars/ha/neo4j-shell-1.3-SNAPSHOT.jar +0 -0
  22. data/lib/neo4j/jars/ha/netty-3.2.1.Final.jar +0 -0
  23. data/lib/neo4j/jars/ha/org.apache.servicemix.bundles.jline-0.9.94_1.jar +0 -0
  24. data/lib/neo4j/jars/ha/org.apache.servicemix.bundles.lucene-3.0.1_2.jar +0 -0
  25. data/lib/neo4j/jars/ha/zookeeper-3.3.2.jar +0 -0
  26. data/lib/neo4j/mapping/class_methods/relationship.rb +1 -2
  27. data/lib/neo4j/mapping/class_methods/rule.rb +35 -3
  28. data/lib/neo4j/mapping/decl_relationship_dsl.rb +1 -1
  29. data/lib/neo4j/mapping/has_n.rb +4 -1
  30. data/lib/neo4j/mapping/node_mixin.rb +1 -1
  31. data/lib/neo4j/mapping/rule.rb +9 -6
  32. data/lib/neo4j/mapping/rule_node.rb +0 -1
  33. data/lib/neo4j/migrations.rb +12 -0
  34. data/lib/neo4j/migrations/extensions.rb +57 -0
  35. data/lib/neo4j/migrations/global_migration.rb +29 -0
  36. data/lib/neo4j/migrations/lazy_migration_mixin.rb +47 -0
  37. data/lib/neo4j/migrations/migration.rb +109 -0
  38. data/lib/neo4j/migrations/migration_mixin.rb +78 -0
  39. data/lib/neo4j/migrations/migrations.rb +100 -0
  40. data/lib/neo4j/neo4j.rb +33 -9
  41. data/lib/neo4j/node_relationship.rb +2 -4
  42. data/lib/neo4j/node_traverser.rb +5 -0
  43. data/lib/neo4j/rails/finders.rb +10 -3
  44. data/lib/neo4j/rails/lucene_connection_closer.rb +1 -2
  45. data/lib/neo4j/rails/mapping/property.rb +1 -1
  46. data/lib/neo4j/rails/model.rb +1 -1
  47. data/lib/neo4j/rails/persistence.rb +1 -5
  48. data/lib/neo4j/rails/relationships/relationships.rb +13 -10
  49. data/lib/neo4j/version.rb +1 -1
  50. data/lib/perf.rb~ +36 -0
  51. data/neo4j.gemspec +4 -2
  52. metadata +40 -78
  53. data/lib/neo4j/jars/neo4j-graph-algo-0.7-1.2.jar +0 -0
  54. data/lib/neo4j/jars/neo4j-index-1.2-1.2.jar +0 -0
  55. data/lib/neo4j/jars/neo4j-kernel-1.2-1.2.jar +0 -0
  56. data/lib/neo4j/jars/neo4j-lucene-index-0.2-1.2.jar +0 -0
  57. data/lib/tmp/neo4j/active_tx_log +0 -1
  58. data/lib/tmp/neo4j/index.db +0 -0
  59. data/lib/tmp/neo4j/index/lucene-store.db +0 -0
  60. data/lib/tmp/neo4j/index/lucene.log.active +0 -0
  61. data/lib/tmp/neo4j/index/lucene/node/Network-exact/_0.cfs +0 -0
  62. data/lib/tmp/neo4j/index/lucene/node/Network-exact/segments.gen +0 -0
  63. data/lib/tmp/neo4j/index/lucene/node/Network-exact/segments_2 +0 -0
  64. data/lib/tmp/neo4j/lucene-fulltext/lucene-store.db +0 -0
  65. data/lib/tmp/neo4j/lucene-fulltext/lucene.log.active +0 -0
  66. data/lib/tmp/neo4j/lucene/lucene-store.db +0 -0
  67. data/lib/tmp/neo4j/lucene/lucene.log.active +0 -0
  68. data/lib/tmp/neo4j/messages.log +0 -85
  69. data/lib/tmp/neo4j/neostore +0 -0
  70. data/lib/tmp/neo4j/neostore.id +0 -0
  71. data/lib/tmp/neo4j/neostore.nodestore.db +0 -0
  72. data/lib/tmp/neo4j/neostore.nodestore.db.id +0 -0
  73. data/lib/tmp/neo4j/neostore.propertystore.db +0 -0
  74. data/lib/tmp/neo4j/neostore.propertystore.db.arrays +0 -0
  75. data/lib/tmp/neo4j/neostore.propertystore.db.arrays.id +0 -0
  76. data/lib/tmp/neo4j/neostore.propertystore.db.id +0 -0
  77. data/lib/tmp/neo4j/neostore.propertystore.db.index +0 -0
  78. data/lib/tmp/neo4j/neostore.propertystore.db.index.id +0 -0
  79. data/lib/tmp/neo4j/neostore.propertystore.db.index.keys +0 -0
  80. data/lib/tmp/neo4j/neostore.propertystore.db.index.keys.id +0 -0
  81. data/lib/tmp/neo4j/neostore.propertystore.db.strings +0 -0
  82. data/lib/tmp/neo4j/neostore.propertystore.db.strings.id +0 -0
  83. data/lib/tmp/neo4j/neostore.relationshipstore.db +0 -0
  84. data/lib/tmp/neo4j/neostore.relationshipstore.db.id +0 -0
  85. data/lib/tmp/neo4j/neostore.relationshiptypestore.db +0 -0
  86. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.id +0 -0
  87. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names +0 -0
  88. data/lib/tmp/neo4j/neostore.relationshiptypestore.db.names.id +0 -0
  89. data/lib/tmp/neo4j/nioneo_logical.log.active +0 -0
  90. data/lib/tmp/neo4j/tm_tx_log.1 +0 -0
Binary file
Binary file
Binary file
Binary file
@@ -1,85 +0,0 @@
1
- Thu Dec 30 12:24:53 CET 2010: Creating new db @ tmp/neo4j/neostore
2
- Thu Dec 30 12:24:54 CET 2010: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
3
- Thu Dec 30 12:24:54 CET 2010: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
4
- Thu Dec 30 12:24:54 CET 2010: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
5
- Thu Dec 30 12:24:54 CET 2010: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
6
- Thu Dec 30 12:24:54 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
7
- Thu Dec 30 12:24:54 CET 2010: TM new log: tm_tx_log.1
8
- Thu Dec 30 12:24:54 CET 2010: --- CONFIGURATION START ---
9
- Thu Dec 30 12:24:54 CET 2010: Physical mem: 4016MB, Heap size: 483MB
10
- Thu Dec 30 12:24:54 CET 2010: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2.M04
11
- Thu Dec 30 12:24:54 CET 2010: Operating System: Linux; version: 2.6.35-24-generic-pae; arch: i386
12
- Thu Dec 30 12:24:54 CET 2010: VM Name: Java HotSpot(TM) Client VM
13
- Thu Dec 30 12:24:54 CET 2010: VM Vendor: Sun Microsystems Inc.
14
- Thu Dec 30 12:24:54 CET 2010: VM Version: 17.1-b03
15
- Thu Dec 30 12:24:54 CET 2010: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
16
- Thu Dec 30 12:24:54 CET 2010: Class Path: :
17
- Thu Dec 30 12:24:54 CET 2010: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
18
- Thu Dec 30 12:24:54 CET 2010: Garbage Collector: Copy: [Eden Space, Survivor Space]
19
- Thu Dec 30 12:24:54 CET 2010: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
20
- Thu Dec 30 12:24:54 CET 2010: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
21
- Thu Dec 30 12:24:54 CET 2010:
22
- Thu Dec 30 12:24:54 CET 2010: create=true
23
- Thu Dec 30 12:24:54 CET 2010: dir=tmp/neo4j/lucene-fulltext
24
- Thu Dec 30 12:24:54 CET 2010: logical_log=tmp/neo4j/nioneo_logical.log
25
- Thu Dec 30 12:24:54 CET 2010: neo_store=tmp/neo4j/neostore
26
- Thu Dec 30 12:24:54 CET 2010: neostore.nodestore.db.mapped_memory=20M
27
- Thu Dec 30 12:24:54 CET 2010: neostore.propertystore.db.arrays.mapped_memory=130M
28
- Thu Dec 30 12:24:54 CET 2010: neostore.propertystore.db.index.keys.mapped_memory=1M
29
- Thu Dec 30 12:24:54 CET 2010: neostore.propertystore.db.index.mapped_memory=1M
30
- Thu Dec 30 12:24:54 CET 2010: neostore.propertystore.db.mapped_memory=90M
31
- Thu Dec 30 12:24:54 CET 2010: neostore.propertystore.db.strings.mapped_memory=130M
32
- Thu Dec 30 12:24:54 CET 2010: neostore.relationshipstore.db.mapped_memory=100M
33
- Thu Dec 30 12:24:54 CET 2010: rebuild_idgenerators_fast=true
34
- Thu Dec 30 12:24:54 CET 2010: store_dir=tmp/neo4j
35
- Thu Dec 30 12:24:54 CET 2010: --- CONFIGURATION END ---
36
- Thu Dec 30 12:24:54 CET 2010: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
37
- Thu Dec 30 14:15:48 CET 2010: Closed log tmp/neo4j/nioneo_logical.log
38
- Thu Dec 30 14:15:48 CET 2010: NeoStore closed
39
- Thu Dec 30 14:15:48 CET 2010: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
40
- Thu Dec 30 14:15:48 CET 2010: Closed log tmp/neo4j/lucene/lucene.log
41
- Thu Dec 30 14:15:48 CET 2010: NeoStore closed
42
- Thu Dec 30 14:15:48 CET 2010: Closed log tmp/neo4j/lucene-fulltext/lucene.log
43
- Thu Dec 30 14:15:48 CET 2010: TM shutting down
44
- Wed Jan 05 15:10:44 CET 2011: Opened [tmp/neo4j/nioneo_logical.log.1] clean empty log, version=0
45
- Wed Jan 05 15:10:44 CET 2011: Opened [tmp/neo4j/lucene/lucene.log.1] clean empty log, version=0
46
- Wed Jan 05 15:10:44 CET 2011: Opened [tmp/neo4j/lucene-fulltext/lucene.log.1] clean empty log, version=0
47
- Wed Jan 05 15:10:44 CET 2011: Opened [/home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log.1] clean empty log, version=0
48
- Wed Jan 05 15:10:44 CET 2011: Extension org.neo4j.graphdb.index.IndexProvider[lucene] initialized ok
49
- Wed Jan 05 15:10:44 CET 2011: TM opening log: tmp/neo4j/tm_tx_log.1
50
- Wed Jan 05 15:10:44 CET 2011: --- CONFIGURATION START ---
51
- Wed Jan 05 15:10:44 CET 2011: Physical mem: 4016MB, Heap size: 483MB
52
- Wed Jan 05 15:10:44 CET 2011: Kernel version: Neo4j - Graph Database Kernel 1.2-1.2
53
- Wed Jan 05 15:10:44 CET 2011: Operating System: Linux; version: 2.6.35-24-generic-pae; arch: i386; cpus: 2
54
- Wed Jan 05 15:10:44 CET 2011: VM Name: Java HotSpot(TM) Client VM
55
- Wed Jan 05 15:10:44 CET 2011: VM Vendor: Sun Microsystems Inc.
56
- Wed Jan 05 15:10:44 CET 2011: VM Version: 17.1-b03
57
- Wed Jan 05 15:10:44 CET 2011: Boot Class Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/classes:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar
58
- Wed Jan 05 15:10:44 CET 2011: Class Path: :
59
- Wed Jan 05 15:10:44 CET 2011: Library Path: /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
60
- Wed Jan 05 15:10:44 CET 2011: Garbage Collector: Copy: [Eden Space, Survivor Space]
61
- Wed Jan 05 15:10:44 CET 2011: Garbage Collector: MarkSweepCompact: [Eden Space, Survivor Space, Tenured Gen, Perm Gen, Perm Gen [shared-ro], Perm Gen [shared-rw]]
62
- Wed Jan 05 15:10:44 CET 2011: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=1024k, -Xmx500m, -Xss1024k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.5.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.5.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.5.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
63
- Wed Jan 05 15:10:44 CET 2011:
64
- Wed Jan 05 15:10:44 CET 2011: create=true
65
- Wed Jan 05 15:10:44 CET 2011: dir=tmp/neo4j/lucene-fulltext
66
- Wed Jan 05 15:10:44 CET 2011: logical_log=tmp/neo4j/nioneo_logical.log
67
- Wed Jan 05 15:10:44 CET 2011: neo_store=tmp/neo4j/neostore
68
- Wed Jan 05 15:10:44 CET 2011: neostore.nodestore.db.mapped_memory=20M
69
- Wed Jan 05 15:10:44 CET 2011: neostore.propertystore.db.arrays.mapped_memory=130M
70
- Wed Jan 05 15:10:44 CET 2011: neostore.propertystore.db.index.keys.mapped_memory=1M
71
- Wed Jan 05 15:10:44 CET 2011: neostore.propertystore.db.index.mapped_memory=1M
72
- Wed Jan 05 15:10:44 CET 2011: neostore.propertystore.db.mapped_memory=90M
73
- Wed Jan 05 15:10:44 CET 2011: neostore.propertystore.db.strings.mapped_memory=130M
74
- Wed Jan 05 15:10:44 CET 2011: neostore.relationshipstore.db.mapped_memory=100M
75
- Wed Jan 05 15:10:44 CET 2011: rebuild_idgenerators_fast=true
76
- Wed Jan 05 15:10:44 CET 2011: store_dir=tmp/neo4j
77
- Wed Jan 05 15:10:44 CET 2011: --- CONFIGURATION END ---
78
- Wed Jan 05 15:10:44 CET 2011: Extension org.neo4j.graphdb.index.IndexProvider[lucene] loaded ok
79
- Wed Jan 05 15:18:45 CET 2011: Closed log tmp/neo4j/nioneo_logical.log
80
- Wed Jan 05 15:18:45 CET 2011: NeoStore closed
81
- Wed Jan 05 15:18:45 CET 2011: Closed log /home/andreas/projects/neo4j/lib/tmp/neo4j/index/lucene.log
82
- Wed Jan 05 15:18:45 CET 2011: Closed log tmp/neo4j/lucene/lucene.log
83
- Wed Jan 05 15:18:45 CET 2011: NeoStore closed
84
- Wed Jan 05 15:18:45 CET 2011: Closed log tmp/neo4j/lucene-fulltext/lucene.log
85
- Wed Jan 05 15:18:45 CET 2011: TM shutting down
Binary file
Binary file
Binary file
Binary file
Binary file