How can we make exact index as case insensitive in springdata neo4j -
with neo4j core api can create exact index , make case_insensitive below here’s example of how create exact index case-insensitive:
index index = graphdb.index().fornodes( "exact-case-insensitive", stringmap( "type", "exact", "to_lower_case", "true" ) ); node node = graphdb.createnode(); index.add( node, "name", "thomas anderson" ); assertcontains( index.query( "name", "\"thomas anderson\"" ), node ); assertcontains( index.query( "name", "\"thomas anderson\"" ), node );
i know fulltext default in springdata neo4j. want make exact index case insensitive in springdata neo4j.
but didn't find attribute @indexed()
make exact index case_insensitive. please me if mechanism there..
thank you,,
Comments
Post a Comment