Case Insensitive Index Creation for Neo4J

38 views
Skip to first unread message

Sudhakar G

unread,
Oct 12, 2012, 8:13:12 AM10/12/12
to ne...@googlegroups.com
Hi,

Can anyone advise me on how to create case insensitive indexes creation using BluePrints.

BTW, I am using Neo4J as the underlying graph.....


Gil Hildebrand

unread,
Oct 16, 2012, 8:15:55 PM10/16/12
to ne...@googlegroups.com
I couldn't figure that out, and wound up converting all my indexes to lowercase before creating them. Am sure there is a better solution though.

Peter Neubauer

unread,
Oct 17, 2012, 7:15:01 AM10/17/12
to ne...@googlegroups.com
I think that is pretty hard, since you need to specify the Lucene
Analyzer class for neo4j etc. so I think using Neo4j APIs is your best
bet.

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html
> --
>
>

RickBullotta

unread,
Oct 17, 2012, 1:23:39 PM10/17/12
to ne...@googlegroups.com
You can inject your own analyzers into the Neo4J indexing subsystem, but it's easier to pre-process the value(s) you want to index (convert them to a uniform case) in most situations.  In fact, we actually use Lucene filters/readers to pre-process text we wish to index, and then pass those to the default analyzers that Neo4J uses. 
Reply all
Reply to author
Forward
0 new messages