4

Is it possible to customize lucene indexes in spring-data-neo4j, such that my indexes will be using custom analyzers? In particular, i want to use the PerFieldAnalyzerWrapper analyzer, so i will be able to use Exact and Fulltext fields in the same index. I saw a post about it here, but it was related to native neo4j.

Thanks.

gipouf
  • 1,221
  • 3
  • 15
  • 43

1 Answers1

0

This is an old question but people might still be interested:

We're currently using the lucene PerFieldAnalyzerWrapper analyzer in an embedded Neo4j project. Our interest was to have lemmatization. The source code where the analyzer is set up in Neo4j. See also this ticket.

We're running Neo4j 2.2.8, but unfortunately I'm having trouble to achieve the same with Neo4j 3.0.1, quite a lot have changed in Lucene 5.5.0 API.

Hope that helps.

merejy
  • 414
  • 4
  • 17