public class BaseLuceneOperator extends Object
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER |
protected BaseLuceneBuilder |
luceneBuilder |
Constructor and Description |
---|
BaseLuceneOperator() |
Modifier and Type | Method and Description |
---|---|
void |
createIndex(List<Document> docs) |
void |
deleteAllIndexes() |
void |
deleteIndex(List<Field> docIds) |
protected int |
getSearchLimit()
获得查询的记录数的限制
|
Pager<Document> |
search(SearchRule searchRule,
DocumentFilter filter,
int start,
int limit) |
Pager<Document> |
search(String searchCondition,
DocumentFilter filter,
int start,
int limit) |
protected static final Logger LOGGER
protected BaseLuceneBuilder luceneBuilder
public void deleteAllIndexes()
public Pager<Document> search(String searchCondition, DocumentFilter filter, int start, int limit)
public Pager<Document> search(SearchRule searchRule, DocumentFilter filter, int start, int limit)
protected int getSearchLimit()
Copyright © 2006–2018 TinyGroup. All rights reserved.