cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Mods to CocoonLucene
Date Fri, 15 Nov 2002 19:42:26 GMT
Jeremy Quinn wrote:

>
> On Friday, Nov 15, 2002, at 14:12 Europe/London, Vadim Gritsenko wrote:

...

> Hi Vadim,
>
> There are two things that do need to be configurable, maybe I can ask 
> your advice.
>
> SimpleLuceneXMLIndexerImpl does not have it's configuration code, for 
> configuring 'content-view', which would be useful, I think I can work 
> this out.
>
> I'd also like (as you suggest) to configure LuceneIndexContentHandler 
> with a list of tag localnames that should be added to the index in 
> such a way that they are retrieved with hits.
>
> LuceneIndexContentHandler is not a Component, it is instantiated 
> directly by SimpleLuceneXMLIndexerImpl.
>
>
> How best to configure LuceneIndexContentHandler?
>
> 1) add the 'hit-fields' (?) configuration to 
> SimpleLuceneXMLIndexerImpl, and have it pass the List to 
> LuceneIndexContentHandler in it's constructor?


+0

> 2) Same as above but using a setter method instead of the constructor 
> parameter?


+1


> 3) make LuceneIndexContentHandler into a configurable component, with 
> a role, have SimpleLuceneXMLIndexerImpl find it by that role, 
> configuring it with 'hit-fields' directly?


-1. Don't multiply entities without necessity. ;)


Vadim


> Thanks for any suggestions
>
> regards Jeremy




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message