Package com.jalios.jcms.media
Class MediaTracksSearchEnginePolicyFilter
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyFilter
-
- com.jalios.jcms.policy.BasicLuceneSearchEnginePolicyFilter
-
- com.jalios.jcms.media.MediaTracksSearchEnginePolicyFilter
-
- All Implemented Interfaces:
PluginComponent
,LuceneSearchEnginePolicyFilter
,PolicyFilter
,java.lang.Comparable
public class MediaTracksSearchEnginePolicyFilter extends BasicLuceneSearchEnginePolicyFilter
SearchEngine policy filter adding parsing and indexing of media tracks.
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.policy.BasicLuceneSearchEnginePolicyFilter
REVISION
-
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order
-
-
Constructor Summary
Constructors Constructor Description MediaTracksSearchEnginePolicyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filterPublicationDocument(org.apache.lucene.document.Document doc, Publication pub, java.lang.String lang)
This method is called when the given Publication is being index in the given language, just before writing the Document into the index.-
Methods inherited from class com.jalios.jcms.policy.BasicLuceneSearchEnginePolicyFilter
filterCategoryDocument, filterMemberDocument, getAnalyzer, getLanguageStopWordsSet, init, parseQuery
-
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrder
-
-
-
-
Method Detail
-
filterPublicationDocument
public void filterPublicationDocument(org.apache.lucene.document.Document doc, Publication pub, java.lang.String lang)
Description copied from interface:LuceneSearchEnginePolicyFilter
This method is called when the given Publication is being index in the given language, just before writing the Document into the index. You can use this hook to modify the Document as you wish by adding or removing field.- Specified by:
filterPublicationDocument
in interfaceLuceneSearchEnginePolicyFilter
- Overrides:
filterPublicationDocument
in classBasicLuceneSearchEnginePolicyFilter
- Parameters:
doc
- the lucene Document that was created by JCMS search enginepub
- thePublication
being indexedlang
- the indexed language- See Also:
LuceneSearchEnginePolicyFilter.filterPublicationDocument(Document, Publication, String)
-
-