|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.search.lucene.ChangeDocumentIndexPolicy
public class ChangeDocumentIndexPolicy
Policy that defines what Searchables should be indexed as change documents.
| Nested Class Summary | |
|---|---|
static class |
ChangeDocumentIndexPolicy.PolicyCheckResult
|
| Constructor Summary | |
|---|---|
ChangeDocumentIndexPolicy()
|
|
| Method Summary | |
|---|---|
static ChangeDocumentIndexPolicy.PolicyCheckResult |
buildFor(com.atlassian.bonnie.Searchable searchable)
Defines the conditions which must be met before a change document will be contructed for the specified searchable. |
static boolean |
shouldIndex(com.atlassian.bonnie.Searchable searchable)
Returns true if this searchable should be indexed as a change, false otherwise. |
static boolean |
shouldUnIndex(com.atlassian.bonnie.Searchable searchable)
Whether we should unindex this searchable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeDocumentIndexPolicy()
| Method Detail |
|---|
public static ChangeDocumentIndexPolicy.PolicyCheckResult buildFor(com.atlassian.bonnie.Searchable searchable)
These are:
ContentTypeAwareVersioned, the latest version must return true for Searchable.isIndexable().
searchable - the searchable
public static boolean shouldIndex(com.atlassian.bonnie.Searchable searchable)
searchable - the searchable
public static boolean shouldUnIndex(com.atlassian.bonnie.Searchable searchable)
searchable - the searchable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||