On Mon, Apr 4, 2016 at 2:58 PM, Uncharted <[email protected]> wrote: > I was using the lastest version I found on your site (2.1.13) > Thanks for the answer : i didn't know where to start to add a custom > analyzer and missed the information to put the jar in the lib folder
We have just released 2.1.15. I don;t know how much you're skilled in java, but basically it'a a matter of implementing 2/3 classes: http://www.citrine.io/blog/2015/2/14/building-a-custom-analyzer-in-lucene At the end, packe the jar cnd put in the lib dir of orient The configure the analyzer in your index definition, as stated in the doc http://orientdb.com/docs/last/Full-Text-Index.html#analyzer orientdb> CREATE INDEX City.name ON City(name) FULLTEXT ENGINE LUCENE METADATA {"analyzer": "my.own.package.MyAnalyzer"} In 2.2 analyzers could be defined for single field, and even analyzer with stowrods could be configured. -- Best regards, Roberto Franchini OrientDB LTD - http://orientdb.com -- --- You received this message because you are subscribed to the Google Groups "OrientDB" 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.
