Opened 13 years ago

#900 new enhancement

Lucene / Add per field analyzer per language configuration

Reported by: fxp Owned by: geonetwork-devel@…
Priority: major Milestone: Future release
Component: General Version:
Keywords: Cc:

Description

Add the capability to define per field analyzer per language overriding default analyzer (Currently one per field analyzer is defined for each stopword list available using GNA as default analyzer).

Example configuration to override default analyzer and analyzer for any field in the French index:

  <defaultAnalyzer lang="fre" name="org.apache.lucene.analysis.fr.FrenchAnalyzer"/>

  <fieldSpecificAnalyzer lang="fre">
    <Field name="any" analyzer="org.apache.lucene.analysis.fr.FrenchAnalyzer"/>
  </fieldSpecificAnalyzer>

Change History (0)

Note: See TracTickets for help on using tickets.