Skip to content

Instantly share code, notes, and snippets.

@amergin
Created October 26, 2012 19:35
Show Gist options
  • Save amergin/3960966 to your computer and use it in GitHub Desktop.
Save amergin/3960966 to your computer and use it in GitHub Desktop.
Neo4j autocomplete test
eo4j-sh (0)$ start a=node:cbm_pc_quantrev_0706_i_n_GEXP('label:TP53') return id(a);
==> +-------+
==> | id(a) |
==> +-------+
==> | 48228 |
==> +-------+
==> 1 row
==> 249 ms
==>
neo4j-sh (0)$ start a=node:cbm_pc_quantrev_0706_i_n_GEXP('label:T*') return count(a);
==> +----------+
==> | count(a) |
==> +----------+
==> | 1449 |
==> +----------+
==> 1 row
==> 581 ms
==>
neo4j-sh (0)$ start a=node:cbm_pc_quantrev_0706_i_n_GEXP('label:TP*') return count(a);
==> +----------+
==> | count(a) |
==> +----------+
==> | 55 |
==> +----------+
==> 1 row
==> 6 ms
==>
neo4j-sh (0)$ start a=node:cbm_pc_quantrev_0706_i_n_GEXP('label:TP5') return count(a);
==> +----------+
==> | count(a) |
==> +----------+
==> | 0 |
==> +----------+
==> 1 row
==> 3 ms
==>
neo4j-sh (0)$ start a=node:cbm_pc_quantrev_0706_i_n_GEXP('label:TP5*') return count(a);
==> +----------+
==> | count(a) |
==> +----------+
==> | 14 |
==> +----------+
==> 1 row
==> 11 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment