Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The "index concept"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kodo  
View profile  
 More options May 2 2012, 2:23 pm
From: kodo <peter.litsega...@gmail.com>
Date: Wed, 2 May 2012 11:23:24 -0700 (PDT)
Local: Wed, May 2 2012 2:23 pm
Subject: The "index concept"
Hi!

I have a question regering the purpose or "use case" behind neo4j's
index concept. I realize that I'm able to specify different index
configurations but is it still possible to create inter-index
traversals - in other words will I be able to create relationships
between nodes residing in different indexes? Furthermore is the
concept of enabling storage of relationships in different indexes
related to the fact that different lucene-parameters may be specified?
Are there any other advantages besides "logical separations of
classes"?

Cheers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Luongo  
View profile  
 More options May 2 2012, 2:59 pm
From: Matt Luongo <mhluo...@gmail.com>
Date: Wed, 2 May 2012 11:59:42 -0700 (PDT)
Local: Wed, May 2 2012 2:59 pm
Subject: Re: The "index concept"

I can help with some of this I think.

The Neo4j index mechanism is orthogonal to the graph, which is its own
natural index. So relationships and nodes can be connected in any way, and
indexed in any way- the two don't affect each other.

Different indexes allow different Lucene parameters, or even entirely
different index implementations. You still might have cause to separate
things, however- eg, for performance reasons- but those reasons are best
left to a Lucene expert.

- Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Luongo  
View profile  
 More options May 2 2012, 3:03 pm
From: Matt Luongo <mhluo...@gmail.com>
Date: Wed, 2 May 2012 12:03:39 -0700 (PDT)
Local: Wed, May 2 2012 3:03 pm
Subject: Re: The "index concept"

> Are there any other advantages besides "logical separations of
>> classes"?

Aside from performance and configuration advantages, there's also a major
disadvantage- separation of "collision domains" (not the real term at all).
What I mean is that when all primitives of a type are indexed in one Lucene
index, you can query across fields and let Lucene do the lifting. Splitting
up into different indices for different types of nodes, etc makes you
handle the join between the indices when you have a complex query.

Anyway, just a few thoughts- anyone on the team feel free to correct me :)

- Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mattias Persson  
View profile  
 More options May 2 2012, 3:46 pm
From: Mattias Persson <matt...@neotechnology.com>
Date: Wed, 2 May 2012 21:46:27 +0200
Local: Wed, May 2 2012 3:46 pm
Subject: Re: [Neo4j] Re: The "index concept"

2012/5/2 Matt Luongo <mhluo...@gmail.com>

> I can help with some of this I think.

> The Neo4j index mechanism is orthogonal to the graph, which is its own
> natural index. So relationships and nodes can be connected in any way, and
> indexed in any way- the two don't affect each other.

> Different indexes allow different Lucene parameters, or even entirely
> different index implementations. You still might have cause to separate
> things, however- eg, for performance reasons- but those reasons are best
> left to a Lucene expert.

> - Matt

Very well put, Matt! This is essentially what I would write.

Whereas Lucene is very good as a generic index solution, there's room for
improvements for exact indexes in particular... and here pluggable index
providers is useful. You just supply config parameter
"provider"="my-other-index-implementation" which is registered via java
service API and that index name is associated with that implementation,
which can be a key/value store or similar. Better support for implementing
index providers yourself is coming soon I think.

--
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kodo  
View profile  
 More options May 3 2012, 12:28 am
From: kodo <peter.litsega...@gmail.com>
Date: Wed, 2 May 2012 21:28:23 -0700 (PDT)
Local: Thurs, May 3 2012 12:28 am
Subject: Re: The "index concept"
Matt & Mattias!

Many thanks for your answers, they definitely made the concept(s)
clearer:)

Keep up the good work with this exciting tool!

Cheers

On 2 Maj, 21:46, Mattias Persson <matt...@neotechnology.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »