D - type d'objet indexépublic interface LuceneIndex<D extends DtObject>
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(DtList<D> fullDtc,
boolean storeValue)
Add element to index.
|
DtList<D> |
getCollection(String keywords,
Collection<DtField> searchedFields,
List<ListFilter> listFilters,
int skip,
int top,
Option<SortState> sortState,
Option<DtField> boostedField)
Querying index.
|
void addAll(DtList<D> fullDtc, boolean storeValue) throws IOException
fullDtc - Full Dtc to indexstoreValue - if data are store in indexIOException - Indexation errorDtList<D> getCollection(String keywords, Collection<DtField> searchedFields, List<ListFilter> listFilters, int skip, int top, Option<SortState> sortState, Option<DtField> boostedField) throws IOException
keywords - KeywordssearchedFields - Searched field listlistFilters - Added filtersskip - skip elementstop - max elements (max number of result)sortState - Sort informationboostedField - Field use for boosting scoreIOException - Query errorCopyright © 2015. All Rights Reserved.