Package org.appng.search
Interface DocumentProvider
-
- All Known Implementing Classes:
FileSystemProvider
public interface DocumentProvider
When building the global Lucene index for aSite
, everyDocumentProvider
provided by the site'sApplication
s is able to add/remove someDocument
s 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 someDocumentProducer
s 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 someDocumentProducer
s to take into account when building theSite
's global lucene index.- Parameters:
site
- the currentSite
application
- the currentApplication
- Returns:
- some
DocumentProducer
s - Throws:
InterruptedException
TimeoutException
-
-