org.compass.core.lucene.engine.transaction.support
Class ResourceEnhancer
java.lang.Object
org.compass.core.lucene.engine.transaction.support.ResourceEnhancer
public class ResourceEnhancer
- extends Object
A helper class providing helper method to enhance a resource before indexing it.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceEnhancer
public ResourceEnhancer()
enahanceResource
public static ResourceEnhancer.Result enahanceResource(InternalResource resource)
- Enhances the given resource and reutrns the
Analyzer
that should be
used when adding the Lucene Resource to the index.
- Parameters:
resource
- The resource to enhance.
- Returns:
- The analyzer that should be used when adding the Lucene resource to the search engine
Copyright (c) 2004-2009 The Compass Project.