|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PruneIndexTool.PruneChecker
This interface can be used to implement additional checking on matching documents.
Method Summary | |
---|---|
void |
close()
Close the checker - this could involve flushing output files or somesuch. |
boolean |
isPrunable(Query q,
IndexReader reader,
int docNum)
Check whether this document should be pruned. |
Method Detail |
---|
boolean isPrunable(Query q, IndexReader reader, int docNum) throws Exception
reader
- index reader to read documents fromdocNum
- document ID
Exception
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |