java.lang.Objectorg.apache.lucene.search.Filter
org.apache.lucene.search.DuplicateFilter
All Implemented Interfaces:
Serializable
| Field Summary | ||
|---|---|---|
| String | fieldName | |
| int | keepMode | KeepMode determines which document id to consider as the master, all others being identified as duplicates. Selecting the "first occurrence" can potentially save on IO. |
| public static final int | KM_USE_FIRST_OCCURRENCE | |
| public static final int | KM_USE_LAST_OCCURRENCE | |
| int | processingMode | "Full" processing mode starts by setting all bits to false and only setting bits for documents that contain the given field and are identified as none-duplicates. "Fast" processing sets all bits to true then unsets all duplicate docs found for the given field. This approach avoids the need to read TermDocs for terms that are seen to have a document frequency of exactly "1" (i.e. no duplicates). While a potentially faster approach , the downside is that bitsets produced will include bits set for documents that do not actually contain the field given. |
| public static final int | PM_FULL_VALIDATION | |
| public static final int | PM_FAST_INVALIDATION | |
| Constructor: |
|---|
|
|
| Method from org.apache.lucene.search.DuplicateFilter Summary: |
|---|
| bits, equals, getFieldName, getKeepMode, getProcessingMode, hashCode, main, setFieldName, setKeepMode, setProcessingMode |
| Methods from org.apache.lucene.search.Filter: |
|---|
| bits |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.lucene.search.DuplicateFilter Detail: |
|---|
|
|
|
|
|
|
|
|
|
|