Great! This will make it much easier to switch to event based indexing some day 
in the future as Event listeners and extractors also support the Configurable 
interface ;-)

Cheers,
Daniel


"Slide Developers Mailing List" <[EMAIL PROTECTED]> schrieb am 
08.11.04 11:29:11:
> 
> Hello,
> I added support for configurable Stores. If your Store implements the 
> Configurable interface and the store definition contains <configuration> 
> elements the configure method of the store is called for each of this 
> elements.
> 
> This allows some advanced store configuration that goes beyond plain 
> parameters. I uses this for the new lucene based indexer. Just as a sample:
> 
> <propertiesindexer classname="LucenePropertiesIndexer">
>    <parameter name="indexpath">${datapath}/idx/md</parameter>
>    <configuration name="indexed-properties">
>      <property name="abstract" namespace="http://any.domain/test/";>
>         <text analyzer="org.apache.lucene.analysis.de.GermanAnalyzer"/>
>         <is-defined/>
>      </property>
>      <property name="keywords" namespace="http://any.domain/test/";>
>         <text analyzer="org.apache.lucene.analysis.WhitespaceAnalyzer"/>
>         <is-defined/>
>      </property>
>    </configuration>
> </propertiesindexer>
> 
> 
> Regards, Stefan
> 
> -- 
> Stefan L�tzkendorf  --  [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to