|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.solidstategroup.search.SearchIndex
public class SearchIndex
SearchIndex
| Constructor Summary | |
|---|---|
SearchIndex()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getIndexDir()
|
static java.lang.String |
getIndexDir(boolean live)
|
static void |
index(Article article,
boolean live)
Index an article. |
static void |
index(Asset asset)
Index an Image. |
static void |
indexArticles(java.util.Collection articles,
boolean live)
|
static void |
indexDocuments(java.util.Collection articles)
|
static boolean |
isPerformIndexing()
|
static void |
reindexEntireSite(boolean live)
Performs a full site performIndex on all content that is published and included in the search Should only really be done if something becomes corrupt - or if we move servers as it is File based TODO - Look at storing the performIndex in the database or even memory if it isnt to big? |
static void |
remove(Article article,
boolean live)
Remove from performIndex on expirey |
static void |
remove(Asset asset)
|
static void |
removeArticles(java.util.Collection articles)
|
static void |
setIndexDir(java.lang.String indexDir)
|
static void |
setPerformIndexing(boolean index)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchIndex()
| Method Detail |
|---|
public static void removeArticles(java.util.Collection articles)
public static void indexArticles(java.util.Collection articles,
boolean live)
public static void indexDocuments(java.util.Collection articles)
public static void index(Article article,
boolean live)
article - public static void index(Asset asset)
public static void remove(Asset asset)
public static void reindexEntireSite(boolean live)
public static void remove(Article article,
boolean live)
article - public static java.lang.String getIndexDir(boolean live)
public static java.lang.String getIndexDir()
public static void setIndexDir(java.lang.String indexDir)
public static boolean isPerformIndexing()
public static void setPerformIndexing(boolean index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||