|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FilterDuplicates>
org.compass.annotations.FilterDuplicates
public enum FilterDuplicates
Controls if the Searchable class should filter duplciates. Duplciates
are objects that have already been marshalled during the marshalling process of a single root object
(and its object graph). Filtering them out means reducing the size of the index (content, of course,
is still searchable), though object graph queries and possible "boost" information by having it several
times is lost.
By default, controlled by global setting CompassEnvironment.Osem.FILTER_DUPLICATES
which defaults to false.
| Enum Constant Summary | |
|---|---|
FALSE
The searchable class will not filter duplicates. |
|
NA
Defaults to Compass global osem setting CompassEnvironment.Osem.FILTER_DUPLICATES. |
|
TRUE
The searchable class will filter duplciates. |
|
| Method Summary | |
|---|---|
static FilterDuplicates |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FilterDuplicates[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final FilterDuplicates NA
CompassEnvironment.Osem.FILTER_DUPLICATES.
public static final FilterDuplicates TRUE
public static final FilterDuplicates FALSE
| Method Detail |
|---|
public static final FilterDuplicates[] values()
for(FilterDuplicates c : FilterDuplicates.values())
System.out.println(c);
public static FilterDuplicates valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||