cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Index on DATE DESC or property DESC

Hi,

I want the latest records from neo4j DB. But during a load test, I find as records increasing the performance of getting the latest records from DB decrease.
Is there any way to index on DATE DESC or property DESC like Informix or Oracle.
As per our requirement, we need the latest records from graph DB.

I have tried to create an index on it but no improvement.
Any help or suggestions really helps.

Regards,
Saurabh Goyal

5 REPLIES 5

intouch_vivek
Graph Steward

Hi Saurab,

Please check is the index hit occurred in Profile of the query.

Which version of Neo4j are you using?

I am using 4.0.4 Enterprise

I think you should be able to add an index that gets used for sorting purposes. Can you check that what you're doing is the same/similar to what's suggested in this article - https://neo4j.com/docs/cypher-manual/current/query-tuning/advanced-example/#advanced-query-tuning-ex...

It is wondering Index not working on Timestamp property . But after Deleting & Recreate Index It is working. I does not why it was happen