D'oh, was looking at the wrong part of code instead of just looking at who implements RLA. Thx...

On Jul 15, 2009, at 6:36 PM, Mark Miller wrote:

On Wed, Jul 15, 2009 at 5:26 PM, Grant Ingersoll <gsing...@apache.org>wrote:

For the DelimitedPayloadTokenFilter, there is a dependency on a
PayloadEncoder. Now, there are a couple of implementations in Lucene of PayloadEncoder, but I think it would be nice if people could specify their own Encoder. However, it doesn't appear that the TokenStream Factories are
looking to see if something is ResourceLoaderAware.

Thoughts?

-Grant


TokenFilterFactorys can be ResourceLoaderAware - isn't that all you need to supply a custom PayloadEncoder? The ResourceLoaderAware TokenFilterFactory would use the ResourceLoader to instantiate the PayloadEncoder and pass it
to the DelimitedPayloadTokenFilter?

I guess I'm confused by TokenStream Factories - if you mean
TokenFilterFactories, than they can be SolrResourceLoader aware - some are
already.

--
--
- Mark

http://www.lucidimagination.com

Reply via email to