AnsweredAssumed Answered

Specify Lucene analyzer for specific property

Question asked by christiaank on Nov 26, 2013
Latest reply on Feb 6, 2014 by christiaank
I have a custom content model with a type A inheriting from Folder. I want Lucene to index the cm:name field of A with a SimpleAnalyzer instead of the default analyzer that is set for the datatype d:text.

I can change the analyzer for d:text in datatypeAnalyzers.properties, but that affects all properties of type d:text, which is too crude.

Is it possible to specify a different analyzer for a specific (in this case inherited) field in Alfresco?

I use Alfresco Enterprise 4.1, with Lucene (and not Solr).

This question is also on StackOverflow.

Outcomes