public class DuplicateFilter extends Filter
Modifier and Type | Field and Description |
---|---|
static int |
KM_USE_FIRST_OCCURRENCE |
static int |
KM_USE_LAST_OCCURRENCE |
static int |
PM_FAST_INVALIDATION |
static int |
PM_FULL_VALIDATION |
Constructor and Description |
---|
DuplicateFilter(String fieldName) |
DuplicateFilter(String fieldName,
int keepMode,
int processingMode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DocIdSet |
getDocIdSet(IndexReader reader) |
String |
getFieldName() |
int |
getKeepMode() |
int |
getProcessingMode() |
int |
hashCode() |
static void |
main(String[] args) |
void |
setFieldName(String fieldName) |
void |
setKeepMode(int keepMode) |
void |
setProcessingMode(int processingMode) |
public static final int KM_USE_FIRST_OCCURRENCE
public static final int KM_USE_LAST_OCCURRENCE
public static final int PM_FULL_VALIDATION
public static final int PM_FAST_INVALIDATION
public DuplicateFilter(String fieldName)
public DuplicateFilter(String fieldName, int keepMode, int processingMode)
public DocIdSet getDocIdSet(IndexReader reader) throws IOException
getDocIdSet
in class Filter
IOException
DocIdBitSet
public static void main(String[] args) throws Exception
args
- IOException
Exception
public String getFieldName()
public void setFieldName(String fieldName)
public int getKeepMode()
public void setKeepMode(int keepMode)
public int getProcessingMode()
public void setProcessingMode(int processingMode)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.