Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-31 Thread Chris Gioran
Hi,

just enabling auto indexing via ???_auto_indexing=true is not enough
to actually include content in the auto index. You will also have to
explicitly state which are the properties to monitor for each
primitive (node or relationship) in the ???_keys_indexable list. In
other words, nothing is auto indexed by default.

The current implementation of auto indexing does not automatically add
or remove auto index contents from the whole graph following changes
in the monitored properties list. This is a known shortcoming and it
is the next improvement in the list for auto indexing.

hope this helps,
CG

On Sat, Jul 30, 2011 at 4:04 PM, dhsieh  wrote:
> Does one need to specify the following list of node_keys_indexable &
> relationship_keys_indexable in neo4j.property to enable auto indexing for
> those node/relationship properties? Also, will they work if those properties
> were created prior to adding the list in neo4j.property file?
>
> node_auto_indexing=true
> *node_keys_indexable=name,age*
>
> relationship_auto_indexing=true
> *relationship_keys_indexable=ROOT,KNOWS,CODED_BY *
>
>
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3211749.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> 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


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-30 Thread dhsieh
Does one need to specify the following list of node_keys_indexable &
relationship_keys_indexable in neo4j.property to enable auto indexing for
those node/relationship properties? Also, will they work if those properties
were created prior to adding the list in neo4j.property file?

node_auto_indexing=true 
*node_keys_indexable=name,age* 

relationship_auto_indexing=true 
*relationship_keys_indexable=ROOT,KNOWS,CODED_BY *


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3211749.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-28 Thread Chris Gioran
In the upper left part where you can select edition and platform, the
"Select Release" drop down list has a "Current stable version (1.4)"
option. Select that instead of the default "Current Milestone version"
option and you should be fine.

cheers,
CG

On Thu, Jul 28, 2011 at 5:32 PM, dhsieh  wrote:
> Where is the GA version download link? I can't find it in
> http://neo4j.org/download.
>
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3206845.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> 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


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-28 Thread dhsieh
Where is the GA version download link? I can't find it in
http://neo4j.org/download.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3206845.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-28 Thread Jim Webber
Try using the GA version. I don't think auto-indexing was available in M02.

Jim


On 28 Jul 2011, at 00:51, dhsieh wrote:

> Same probelm here. Downloaded "neo4j-enterprise-1.4.M02-unix.tar.gz" with
> deafult installtion on Linux. Added the foolwoing lines to neo4j.properties
> file: 
> 
> node_auto_indexing=true 
> node_keys_indexable=name,age 
> 
> relationship_auto_indexing=true 
> relationship_keys_indexable=ROOT,KNOWS,CODED_BY 
> 
> Started the neo4j server, use neo4j-shell and added Neo4j Wiki Matrix
> example nodes & relationships. 
> 
> From http://localhost:7474/db/data/, browser shows Neo4j REST interface
> links as: 
> 
> Root relationship_index /db/data/index/relationship 
> node_index /db/data/index/node 
> reference_node /db/data/node/0 
> 
> However, the fisrt 2 links /db/data/index/relationship & /db/data/index/node
> show nothing about the auto indexes for node & relstionship I specified in
> neo4j.properties file. Not sure if this feature actually works in the
> current 1.4.M02 build. Can any one pitch in on this issue?
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3205171.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> 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


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-27 Thread dhsieh
Same probelm here. Downloaded "neo4j-enterprise-1.4.M02-unix.tar.gz" with
deafult installtion on Linux. Added the foolwoing lines to neo4j.properties
file: 

node_auto_indexing=true 
node_keys_indexable=name,age 

relationship_auto_indexing=true 
relationship_keys_indexable=ROOT,KNOWS,CODED_BY 

Started the neo4j server, use neo4j-shell and added Neo4j Wiki Matrix
example nodes & relationships. 

>From http://localhost:7474/db/data/, browser shows Neo4j REST interface
links as: 

Root relationship_index /db/data/index/relationship 
node_index /db/data/index/node 
reference_node /db/data/node/0 

However, the fisrt 2 links /db/data/index/relationship & /db/data/index/node
show nothing about the auto indexes for node & relstionship I specified in
neo4j.properties file. Not sure if this feature actually works in the
current 1.4.M02 build. Can any one pitch in on this issue?

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3205171.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-27 Thread brandon.l
We are currently on the linux version of neo4j-enterprise-1.4.M02 and can't
seem to figure out auto indexing.  After updating the neo4j.properties file
to enable auto_indexing and restarting we always get an exception for
org.neo4j.graphdb.NotFoundException when trying to find a node using the
REST api.

The format of our request is the following.
http://:7474/db/data/index/node/node_auto_index/{key}/{value}

Has anyone been able to enable auto indexing?


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3204498.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-18 Thread Aseem Kishore
Mike, we just did successfully try out the auto-indexing feature, and we're
able to use it over the REST API just fine, FYI.

Good luck!

Aseem

On Mon, Jul 18, 2011 at 6:37 AM, mike_t  wrote:

> Has anyone tried out the auto indexing feature?
> Did it works?
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3178756.html
> Sent from the Neo4J Community Discussions mailing list archive at
> Nabble.com.
> ___
> 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


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-18 Thread mike_t
Has anyone tried out the auto indexing feature?
Did it works? 

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3178756.html
Sent from the Neo4J Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-13 Thread mike_t
I tried to configure the auto index for neo4j.

--
neo4j.properties

node_auto_indexing=true 
node_keys_indexable=name
--
I created a node with a property "name" and value "alex". When I request for
the index with the url

http://localhost:7474/db/data/index/node/node_auto_index/name/alex

i get a org.neo4j.graphdb.NotFoundException.

What am I doing wrong? Please can you help me.



--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3167377.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Jacob Hansson
It is currently possible to configure auto indexing for the server using the
neo4j.properties configuration file. Something like this should work:

node_auto_indexing=true
node_keys_indexable=name, age

relationship_auto_indexing=true
relationship_keys_indexable=strength, someotherkey


Programatically setting up auto indexing via the REST API is currently not
supported, because the modifying auto index settings during runtime does
currently not persist across database restarts. Using the auto indexes
programatically via REST would thus mean that clients would have to monitor
when the server shuts down, and recreate runtime settings upon startup. Once
we have programmatic auto index settings set up to where they persist across
database shutdowns, these features will be added to the REST API.


I am just now finishing support for querying auto indexes via REST, and it
will, if it passes QA, be available in the next milestone release. It will
also most likely be available in the latest SNAPSHOT release by tonight.

Until such a version is available, it is possible to query auto indexes by
name. Please note, however, that this is *not* an official API feature, we
do not make any guarantees that this will be supported in subsequent
versions. To query the node auto index, simply issue a normal index query to
the node index named "node_auto_index" or, for relationships, to the
relationship index named "relationship_auto_index".

/Jake

On Tue, Jul 12, 2011 at 3:32 PM, Matt Luongo  wrote:

> +1, we could use configuration through REST as well.
>
> --
> Matt Luongo
> Co-Founder, Scholr.ly
>
>
>
> On Tue, Jul 12, 2011 at 6:45 AM, mike_t  wrote:
>
> > Please tell me, how can I do that? I couldn´t find anything about it in
> the
> > api doc (http://components.neo4j.org/neo4j-server/snapshot/rest.html)
> >
> > --
> > View this message in context:
> >
> http://neo4j-user-list.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3162053.html
> > Sent from the Neo4J User List mailing list archive at Nabble.com.
> > ___
> > 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
>



-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Javier de la Rosa
On Tue, Jul 12, 2011 at 16:32, Matt Luongo  wrote:
> +1, we could use configuration through REST as well.

+1, It would be bery useful.



-- 
Javier de la Rosa
http://versae.es
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread Matt Luongo
+1, we could use configuration through REST as well.

--
Matt Luongo
Co-Founder, Scholr.ly



On Tue, Jul 12, 2011 at 6:45 AM, mike_t  wrote:

> Please tell me, how can I do that? I couldn´t find anything about it in the
> api doc (http://components.neo4j.org/neo4j-server/snapshot/rest.html)
>
> --
> View this message in context:
> http://neo4j-user-list.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3162053.html
> Sent from the Neo4J User List mailing list archive at Nabble.com.
> ___
> 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


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-12 Thread mike_t
Please tell me, how can I do that? I couldn´t find anything about it in the
api doc (http://components.neo4j.org/neo4j-server/snapshot/rest.html)

--
View this message in context: 
http://neo4j-user-list.438527.n3.nabble.com/Neo4j-auto-indexes-in-REST-in-1-4-tp3159205p3162053.html
Sent from the Neo4J User List mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] auto indexes in REST in 1.4?

2011-07-11 Thread Aseem Kishore
+1 re: REST API supporting auto-indexing. =)

Aseem

On Mon, Jul 11, 2011 at 9:39 AM, Boris Kizelshteyn  wrote:

> Hi All,
>
> Does the new improved REST api support the auto indexes feature? What about
> indexing and querying numbers? If so I would really appreciate some
> examples.
>
> Many thanks!
> ___
> 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


[Neo4j] auto indexes in REST in 1.4?

2011-07-11 Thread Boris Kizelshteyn
Hi All,

Does the new improved REST api support the auto indexes feature? What about
indexing and querying numbers? If so I would really appreciate some
examples.

Many thanks!
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user