Hi Michael

My apologies for the late reply, I have been on vacation. I did use the 2.0 
release of batch-import. I've attached some sample data. Also, as I said in 
a previous post: labels worked on a small file (hundred of nodes) but not 
on a large file 20 million+ nodes.


On Sunday, 15 December 2013 19:39:46 UTC-5, Michael Hunger wrote:
>
> Kyle
>
> could you re-test with the 2.0 release?
>
> And how do the first few lines of your nodes file look like ? (including 
> header?)
>
> Michael
>
> Am 09.12.2013 um 18:24 schrieb Kyle Williams 
> <[email protected]<javascript:>
> >:
>
> Hi Peter
>
> I think the fact that mine is a quoted string may just be because of the 
> way the Neo4J shell displays labels. For instance, if I use the example of 
> creating an actor from the Neo4J manual then the label is also quoted, 
> whereas using a GraphGist it is not.
>
> neo4j-sh (?)$ CREATE (n:Actor { name:"Tom Hanks" });
> +-------------------+
> | No data returned. |
> +-------------------+
> Nodes created: 1
> Properties set: 1
> Labels added: 1
> 1317 ms
> neo4j-sh (?)$ MATCH (actor:Actor { name: "Tom Hanks" }) return labels(
> actor);
> +---------------+
> | labels(actor) |
> +---------------+
> | ["Actor"]     |
> +---------------+
> 1 row
> 849 ms
>
>
> I think this may be a batch-imported thing. When I imported a few hundred 
> records from the same file it got the label right, but when I imported my 
> full dataset (23 million nodes) it didn't.
>
> On Monday, 9 December 2013 10:11:51 UTC-5, Peter Neubauer wrote:
>>
>> Kyle, 
>> are you sure the label is correct. It seems to be a String at your 
>> example, when it should be just a label, see 
>> http://console.neo4j.org/r/k1ds0 
>>
>> Maybe the batchimporter did pick the wrong type here? 
>>
>> /peter 
>>
>> G:  neubauer.peter 
>> S:  peter.neubauer 
>> P:  +46 704 106975 
>> L:   http://www.linkedin.com/in/neubauer 
>> T:   @peterneubauer 
>>
>> Neo4j 2.0.0-RC1    - 
>> http://blog.neo4j.org/2013/11/neo4j-200-rc1-final-preparations.html 
>> Kidscraft "Ice"       - http://www.kidscraft.se/ 
>>
>>
>> On Sat, Dec 7, 2013 at 1:36 AM, Kyle Williams 
>> <[email protected]> wrote: 
>> > Oh, and I'm using neo4j-community-2.0.0-RC1 
>> > 
>> > 
>> > On Friday, 6 December 2013 19:35:34 UTC-5, Kyle Williams wrote: 
>> >> 
>> >> Hi 
>> >> 
>> >> I have some nodes that have labels where matching on the label does not
>>  
>> >> work. I imported the data using batch-import. 
>> >> 
>> >> Example: 
>> >> 
>> >> neo4j-sh (?)$ match (cluster {cvenue: "NULL"}) return cluster.cvenue, 
>> >> cluster.ctitle, labels(cluster) limit 1; 
>> >> 
>> >> 
>> +---------------------------------------------------------------------------------------------------------------------+
>>  
>> >> | cluster.cvenue | cluster.ctitle 
>> >> | labels(cluster) | 
>> >> 
>> >> 
>> +---------------------------------------------------------------------------------------------------------------------+
>>  
>> >> | "NULL"         | "FL, Wang SH. Role of heredity in the genesis of 
>> >> myopia. Ophthalmic Physiol Opt" | ["Cluster"]     | 
>> >> 
>> >> 
>> +---------------------------------------------------------------------------------------------------------------------+
>>  
>> >> 
>> >> As can be seen, this node has the Cluster label. But then trying the 
>> same 
>> >> query but specifying the label returns nothing: 
>> >> 
>> >> 
>> >> neo4j-sh (?)$ match (cluster:Cluster {cvenue: "NULL"}) return 
>> >> cluster.cvenue, cluster.ctitle, labels(cluster) limit 1; 
>> >> +---------------------------------------------------+ 
>> >> | cluster.cvenue | cluster.ctitle | labels(cluster) | 
>> >> +---------------------------------------------------+ 
>> >> +---------------------------------------------------+ 
>> >> 
>> >> 
>> >> Any ideas? 
>> >> 
>> >> Thanks 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Neo4j" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to [email protected]. 
>> > For more options, visit https://groups.google.com/groups/opt_out. 
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
i:id    clusterid:long:clusterIndex     labels:label    size    incollection    
cauth   ctitle:string:ctitleindex       cvenue  cventype    cyear    cpages  
cpublisher      cvol    cnum    ctech   observations    selfCites       updated
10      10      Cluster 5       0       M Yap,M Wu,Liu ZM,Lee   FL, Wang SH. 
Role of heredity in the genesis of myopia. Ophthalmic Physiol Opt       NULL    
NULL    1993    13--316 NULL    NULL    NULL    NULL    NULL    2       
2013-09-26 06:38:06
11      11      Cluster 18      0       Hammond CJ,H Snieder,Gilbert    CE, 
Spector TD. Genes and environment in refractive error: the Twin Eye Study. 
Invest Ophthalmol Vis Sci 2001;42:1232–6      NULL    NULL    NULL    NULL    
NULL    NULL    NULL    NULL    NULL    0       2013-11-12 16:16:46
12      12      Cluster 16      0       N Lyhne,Sjolie AK,Kyvik KO,A Green      
The importance of genes and environment for ocular refraction and its 
determiners: a population based study among 20–45 year old twins. Br J 
Ophthalmol 2001;85:1470–6       NULL    NULL    NULL    NULLNULL     NULL    
NULL    NULL    NULL    0       2013-11-12 16:16:46
22      22      Cluster 15      0       C Wildsoet,J Wallman    Choroidal and 
scleral mechanisms of compensation for spectacle lenses in chicks. Vision Res  
NULL    NULL    1995    35--1175        NULL    NULL    NULL    NULL    NULL    
1       2013-09-25 13:56:56
26      26      Cluster 6       0       M Arcos-Burgos  Muenke M: Genetics of 
population isolates       Clin Genet      JOURNAL NULL    NULLNULL     NULL    
2002    NULL    NULL    1       2013-09-20 10:16:55
32      32      Cluster 10      0       M Boehnke       Estimating the power of 
a proposed linkage study: a practical computer simulation approach   Am J Hum 
Genet  JOURNAL 1986    NULL    NULL    NULL    NULL    NULL    NULL    0       
2013-09-26 09:16:39
35      35      Cluster 265     0       F Rosenblatt    Principles of 
Neurodynamics     NULL    NULL    1961    NULL    Spartan Press   NULLNULL     
NULL    NULL    0       2013-12-04 21:26:02
36      36      Cluster 9       0       Werbos PJ       Beyond regression: new 
tools for prediction and analysis in the behavioral sciences [PhD thesis      
NULL    NULL    1974    NULL    NULL    NULL    NULL    NULL    NULL    0       
2013-10-22 22:48:29
37      37      Cluster 99      0       S Amari A theory of adaptive pattern 
classifiers        IEEE Trans. Electron. Comput    JOURNAL 1967299--307 NULL    
NULL    16      NULL    NULL    15      2013-11-27 15:43:14

Reply via email to