Now most part of my old routines work perfectly, however I don't 
understand the new index urls. How do they supposed to work? The wiki 
says "GET /index/node/my_nodes/foo/bar" command queries the index.

But for me there are too many parameters. Which is the key and which is 
the value? Is the "my_nodes/" part compulsory? If I send my old request 
I get a 404 error and I get it too if I insert "my_nodes/" into the path.

I tried to check if I have the indexes working through the webadmin but 
I couldn't find anything related to indexes. I guess the new version 
can't handle the old one's index, right? How can I check indexes from 
webadmin console?

Thanks,
Miklós Kiss


2011.01.07. 8:40 keltezéssel, Kiss Miklós írta:
> Thanks for the replies.
>
> Yes that double redirect is a bit silly.
>
> I also noticed that FF forgets the headers after a redirect and makes
> poster plugin not to work as expected. Fortunately the Java
> HttpURLConnection (which I use) does remember the preset headers after a
> redirect.
>
> I had a look at the examples (didn't run them) and I noticed that the
> root URI is /db/data (as Jim pointed out too). Accessing this URI from
> my code gives me back a nice JSON. I'll have some work because the new
> protocol is a bit different but at least now I can get it done.
>
> Thanks for the helpful replies!
>
> Cheers,
> Miklós Kiss
>
> 2011.01.06. 18:29 keltezéssel, Peter Neubauer írta:
>> Also,
>> I noticed that when you get a redirect, Firefox will forget the
>> headers and issue a standard FF request to the new URL. This could
>> even be the case with POSTER and Java implementations, giving cause to
>> the "no representation for HTML" response.
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> GTalk:      neubauer.peter
>> Skype       peter.neubauer
>> Phone       +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter      http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org               - Your high performance graph database.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>>
>> On Thu, Jan 6, 2011 at 6:02 PM, Jim Webber<j...@neotechnology.com>   wrote:
>>> Hi Miklós,
>>>
>>> Thanks for this, although it doesn't necessarily solve your issue, it does 
>>> show some very silly behaviour in terms of redirects:
>>>
>>> GET / -->   GET webadmin -->   GET webadmin/
>>>
>>> Hmmm. That's at least one redirect too many and I'll try to solve that, but 
>>> in the meantime...
>>>
>>> I have a theory - the database URI starts at /db/data by default, so can 
>>> you make your initial GET like this:
>>>
>>> GET /db/data HTTP/1.1
>>> Content-type: application/json
>>> Accept: application/json
>>> Host: localhost:7474
>>>
>>> Jim
>>>
>>> _______________________________________________
>>> 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 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