cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1340) [PATCH] lucene block contribution : a AnalyzerManager component
Date Wed, 01 Mar 2006 07:04:42 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1340?page=all ]

David Crossley updated COCOON-1340:
-----------------------------------

    Bugzilla Id:   (was: 32208)
     Other Info: [Patch available]

> [PATCH] lucene block contribution : a AnalyzerManager component
> ---------------------------------------------------------------
>
>          Key: COCOON-1340
>          URL: http://issues.apache.org/jira/browse/COCOON-1340
>      Project: Cocoon
>         Type: Improvement
>   Components: Blocks: Lucene
>     Versions: 2.1.5
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Nicolas Maisonneuve
>     Assignee: Cocoon Developers Team
>     Priority: Minor
>  Attachments: AnalyzerManager.zip
>
> i was frusted with the LuceneIndexTransformer because i can use custom analyzer
> because the constructor needed parameters.
> So i developped a analyzerManager.
> The goal of the analyzerManager is to
> 1 - register all the necessary analyzers. Two main methods: 
> 		public   void register(key,analyzer);
> 		public   analyzer get(key);
> (in a hacked version of LuceneIndexTransformer, in the xml input format you can
> replace analyzer="myclass" by analyzer="mykey" and access to all the analyzers
> you want)
> you can configure all the necessary analyzers in the cocoon.xconf
> 2 - allow to configure with a custom xml file a analyzer that need to be
> configured to work (PerFieldAnalyzer for multilingue document or a custom
> stopwordanalayzer).    => allow multiple analyzers of the same class but with
> different configurations   
> (see ConfigurableAnalyzer class)
> with build.xml to deploy to a cocoon webapp
> see analyzer_manager tag in the cocoon.xconf after the deployment
> Nicolas Maisonneuve

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message