Package org.appng.search
Interface DocumentProvider
-
- All Known Implementing Classes:
FileSystemProvider
public interface DocumentProviderWhen building the global Lucene index for aSite, everyDocumentProviderprovided by the site'sApplications is able to add/remove someDocuments to be indexed.- Author:
- Matthias Müller
- See Also:
Document,DocumentProducer,SearchProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<DocumentProducer>getDocumentProducers(Site site, Application application)Returns someDocumentProducers to take into account when building theSite's global lucene index.
-
-
-
Method Detail
-
getDocumentProducers
Iterable<DocumentProducer> getDocumentProducers(Site site, Application application) throws InterruptedException, TimeoutException
Returns someDocumentProducers to take into account when building theSite's global lucene index.- Parameters:
site- the currentSiteapplication- the currentApplication- Returns:
- some
DocumentProducers - Throws:
InterruptedExceptionTimeoutException
-
-