What exactly "didn't work" ? did you see any error messages?
Any chance that you had some quirks in the input data? Like newlines in fields?

Could you re-try it? I think when you posted your question initially neither 
Neo4j 2.0.0 final was released nor the batch-importer updated to that version.

Thanks so much

Michael

Am 06.01.2014 um 14:53 schrieb Kyle Williams <[email protected]>:

> 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]>:
> 
>> 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].
>> 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.
> <sample-data.txt>

-- 
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.

Reply via email to