I tried on a new directory and also later on a directory that was cleaned 
by the Import utility.

I used the batch importer providing it the node file as an input. The file 
does have some UTF characters which I escaped using commons-lang API. 
Nothing much special, it does import all nodes but only seemingly not 
showing the correct count on one of the Cypher queries. The non-labeled 
Cypher shows correct count using the labels(..) function.. That's what is 
surprising me..

Is it Cypher mis-behaving? or is it the import that could've gone wrong?

Thanks,

- Zeeshan

On Friday, April 11, 2014 2:40:01 PM UTC-5, Michael Hunger wrote:
>
> Probably a glitch in the importer.
>
> If you delete the schema directory, the label scan store is rebuild on 
> startup.
>
> After that it should be ok.
>
> How _exactly_ did you import your data?
>
> Michael
>
> Am 11.04.2014 um 21:22 schrieb Zeeshan Arif <[email protected]<javascript:>
> >:
>
> Using Neo4j 2.0.1 and batch-import 2.0
>
> I am facing a strange discrepancy.. I have imported 831 nodes into Neo4j 
> using batch import. There is a lucene index on these nodes and a Label. The 
> count of 831 nodes is also listed by the import program.
>
> When I execute this query - and the results vary on 2 different machines 
> on the count.
>
> #1 match (t:someLabel) return count(t); // I get 828 rows.
>
> If I execute this:
>
> #2 match (t) WHERE labels(t) = ["someLabel"] return t; // I get all 831 
> rows. 
>
> Why should this be happening?
>
> Thanks,
>
> - Zeeshan
>
> -- 
> 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/d/optout.
>
>
>

-- 
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/d/optout.

Reply via email to