How to verify if a property is indexed correctly?

16 views
Skip to first unread message

fli.rpx

unread,
Nov 12, 2012, 1:43:23 PM11/12/12
to ne...@googlegroups.com
Hi,

I am doing a batch import and creating indexes at the same time. 3 node indexes were created. The first two node indexes are fine, but the third one, seems to be created, is not working when I use it in cypher.

How do I check if the index was created correctly? Is there a way to see the  values in the index?

Thanks,

Fudong

Jacob Hansson

unread,
Nov 12, 2012, 4:54:58 PM11/12/12
to ne...@googlegroups.com

For proper index introspection, you can use the lucene tools available from apache. Neo4js lucene indexes are located under [dbdir]/index.

Is the issue just that nodes you expected to be indexed are not showing up? Make sure the batch inserter is properly closed to ensure flushing to disk, and keep an eye out for exceptions.

If problem persists, could you cycle back with the version of neo4j you are using, and perhaps a code sample that demonstrates the issue?

Jake

Sent from my phone, please excuse typos and brievety.

--
 
 
Reply all
Reply to author
Forward
0 new messages