The easiest thing is probably for you to just clear your database and reload after the indexes are created.
Neo4J supports two primary indexes, schema based indexes and legacy (lucene native) indexes. You have access to both via the Java API. It is strongly recommended that you stick to the schema based indexes unless you have a good reason for needing the legacy indexes. > On Mar 14, 2016, at 1:57 PM, Hugo Labra <[email protected]> wrote: > > Hi, > > So they are not indexed because I loaded csv files with import tool and then > used the "create index on " comand on Cypher with neo4jshell. > > I used the import tool to load the nodes and relationships from csv files, > but it doesn't let me reload if the database already exists, > is there a way to reload from csv files with neo4j import, or should I > create a new db and then create index, and after it load the > csv with cypher or java? > > Also I noticed that with Java API I can manually add the nodes and properties > to the index and it I am able to do some lucene queries, but > is this the only Index supported or maybe also Btree, so "Legacy full text > index" on the documetation refers to lucene, is "create index on" > also lucene or btree maybe? > > Thanks, > Hugo > > On Friday, March 11, 2016 at 2:26:34 PM UTC-6, Hugo Labra wrote: > Hello, > > I am trying to create an index but I have not been able to get results back > when I query it. > > Hugo > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
