Another reason to use multiple indices is the use of different Lucene 
analyzers. 

> Date: Thu, 5 May 2011 08:47:44 -0500
> From: peter.hunsber...@gmail.com
> To: user@lists.neo4j.org
> Subject: Re: [Neo4j] Examples of multiple indices in use?
> 
> On Thu, May 5, 2011 at 4:16 AM, Mattias Persson
> <matt...@neotechnology.com>wrote:
> 
> > 2011/5/5 Aseem Kishore <aseem.kish...@gmail.com>
> >
> > > Interesting. That's assuming a person and an organization can share the
> > > same
> > > name. Maybe an edge case in this example, but I can understand. Thanks.
> > >
> >
> > Hmm, no not share the same name, but have the "name" property in common...
> > would you really like to ask an index question for a name and get back both
> > persons and organisations mixed in the result? You may, but in many cases
> > you wouldn't... or?
> >
> > The sepazration of indexes can also give you better performance.  For
> example, consider the case that you have 1000 organizations and 2000000
> people.  You really don't want to have to search the index for all 2000000
> people just to find 1 organization....
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
                                          
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to