Package com.jalios.jcms.search
Class LuceneDataSearchEngine.ReindexOptions
- java.lang.Object
-
- com.jalios.jcms.search.LuceneDataSearchEngine.ReindexOptions
-
- Enclosing class:
- LuceneDataSearchEngine
public static class LuceneDataSearchEngine.ReindexOptions extends java.lang.Object
Class holding reindexing options.- Since:
- jcms-10.0.5 / JCMS-8170
- See Also:
LuceneDataSearchEngine.reindex(ReindexOptions)
,LuceneDataSearchEngine.getDataIterator(ReindexOptions)
-
-
Constructor Summary
Constructors Constructor Description ReindexOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LuceneDataSearchEngine.ReindexOptions
after(java.util.Date date)
Retrieve a new ReindexOptions suitable to reindex Data modified after specified date.static LuceneDataSearchEngine.ReindexOptions
all()
Retrieve a new ReindexOptions suitable to clear index and reindex all Data.DataIterator<Data>
getDataIterator(java.lang.Class<? extends Data> jstoreClazz, java.util.Collection<java.lang.Class<? extends Data>> jcmsDbClasses)
Retrieve a DataIterator for the specified class, applying the filter configured in this ReindexOptions.
-
-
-
Method Detail
-
getDataIterator
public final DataIterator<Data> getDataIterator(java.lang.Class<? extends Data> jstoreClazz, java.util.Collection<java.lang.Class<? extends Data>> jcmsDbClasses)
Retrieve a DataIterator for the specified class, applying the filter configured in this ReindexOptions.- Parameters:
jstoreClazz
- the Class of objects to iterate in JStore indexjcmsDbClasses
- the Classes of objects to iterate in JcmsDB- Returns:
- a new DataIterator. never return null
-
all
public static LuceneDataSearchEngine.ReindexOptions all()
Retrieve a new ReindexOptions suitable to clear index and reindex all Data.- Returns:
- a new ReindexOptions instance (never return null)
-
after
public static LuceneDataSearchEngine.ReindexOptions after(java.util.Date date)
Retrieve a new ReindexOptions suitable to reindex Data modified after specified date.- Returns:
- a new ReindexOptions instance (never return null)
-
-