Package com.jalios.jcms.search
Class LuceneDataSearchEngine.ReindexOptions
java.lang.Object
com.jalios.jcms.search.LuceneDataSearchEngine.ReindexOptions
- Enclosing class:
LuceneDataSearchEngine
Encapsulates options controlling a reindex operation.
- Since:
- jcms-10.0.5 / JCMS-8170
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns new options for a partial reindex of data modified after the given date.all()Returns new options for a full reindex (clear all indices first).final DataIterator<Data> getDataIterator(Class<? extends Data> jstoreClazz, Collection<Class<? extends Data>> jcmsDbClasses) Builds aDataIteratorfor the given classes, applying the filters configured in this options object.
-
Constructor Details
-
ReindexOptions
public ReindexOptions()
-
-
Method Details
-
getDataIterator
public final DataIterator<Data> getDataIterator(Class<? extends Data> jstoreClazz, Collection<Class<? extends Data>> jcmsDbClasses) Builds aDataIteratorfor the given classes, applying the filters configured in this options object.- Parameters:
jstoreClazz- class of JStore objects to iteratejcmsDbClasses- classes of JcmsDB objects to iterate; may benull- Returns:
- a new
DataIterator; nevernull
-
all
Returns new options for a full reindex (clear all indices first).- Returns:
- a new
LuceneDataSearchEngine.ReindexOptionsinstance
-
after
Returns new options for a partial reindex of data modified after the given date.- Parameters:
date- lower bound on modification date; must not benull- Returns:
- a new
LuceneDataSearchEngine.ReindexOptionsinstance
-