As far as I know this is not exposed. The closest that is there is to pass in a lucene query object into neo4j when querying data (e.g. like sort or topk-documents)
You can have a look at the LuceneIndexImplementation.java class For text categorization, Kenny wrote a Neo4j extension called graphify which might be interesting for you to look at: http://graphify.github.io/graphify/ Cheers, Michael On Wed, Nov 12, 2014 at 5:24 PM, Sky Hester <skyjhes...@gmail.com> wrote: > I’m starting a project with the goal of clustering nodes by text > properties in a Neo graph. The first, most straightforward step is to > establish a performance baseline using term-vector methods, which is > relatively easy with Lucene’s TermFreqVector. Storing term vectors is > easy to do with Field. options to document.add(…) -- that's > org.apache.lucene.document.Document > -- but the Neo4j API appears to expose only a wrapper around a > document.add(…) with fixed parameters determined probably by the index > configuration (that wrapper is the add method of org.neo4j.graphdb.index). > > Is anyone aware of a way to configure those parameters to accept field > options (specifically for storing term vectors in this case)? I would be > just fine with a global index config, since the per-document flexibility of > field options in Lucene is not currently a requirement. > > This is in Neo4j 2.1.5 java API with Lucene version 3.6.2, which is the > correct dependency for neo from what I can tell. > > Thank you for your time, > > -Sky > > -- > 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 neo4j+unsubscr...@googlegroups.com. > For more options, visit 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.