public static enum DuplicateFilter.ProcessingMode extends Enum<DuplicateFilter.ProcessingMode>
"Fast" processing sets all bits to true then unsets all duplicate docs found for the given field. This approach avoids the need to read DocsEnum 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.
Enum Constant and Description |
---|
PM_FAST_INVALIDATION |
PM_FULL_VALIDATION |
Modifier and Type | Method and Description |
---|---|
static DuplicateFilter.ProcessingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuplicateFilter.ProcessingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplicateFilter.ProcessingMode PM_FULL_VALIDATION
public static final DuplicateFilter.ProcessingMode PM_FAST_INVALIDATION
public static DuplicateFilter.ProcessingMode[] values()
for (DuplicateFilter.ProcessingMode c : DuplicateFilter.ProcessingMode.values()) System.out.println(c);
public static DuplicateFilter.ProcessingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.