#899: Lucene / Add searching and indexing per field analyzers
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: major | Milestone: Future release
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
Currently the same !PerFieldAnalyzer is used at indexing and searching
time. In some case, an analyzer could be applied at indexing and another
at searching time. For example when using a !SynonymAnalyzer. We only need
synonym expansion during
indexing or during searching, not both.
By default, searching analyzer is the same as indexing analyzer.
Example configuration in config-lucene.xml:
{{{
<fieldSpecificSearchAnalyzer>
<Field name="loc"
analyzer="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
</fieldSpecificSearchAnalyzer>
}}}
Which will overrides indexing analyzer for the field:
{{{
<fieldSpecificAnalyzer>
...
<Field name="loc"
analyzer="org.fao.geonet.kernel.search.geonames.SynonymAnalyzer"/>
}}}
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/899>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#899: Lucene / Add searching and indexing per field analyzers
--------------------------+-------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: major | Milestone: Future release
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):
* status: new => closed
* resolution: => fixed
Comment:
Committed revision 9119.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/899#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#899: Lucene / Add searching and indexing per field analyzers
--------------------------+-------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: major | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):
* milestone: Future release => v2.7.0
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/899#comment:2>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.