|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.mmapps.modules.lucenesearch.SearchConfig
Holds all indexes
Constructor Summary | |
SearchConfig()
|
Method Summary | |
void |
addIndex(SearchIndex index)
Adds an SearchIndex object |
protected void |
collectAll(org.mmbase.bridge.Cloud cloud)
Collects all indexes |
SearchIndex |
getDefaultIndex()
|
SearchIndex |
getIndex(int id)
Returns an index by id |
SearchIndex |
getIndex(java.lang.String name)
Returns the name of an index object by name |
int |
getIndexCount()
Returns the number of indexes available in this object |
java.lang.String |
setDefaultIndexName()
|
void |
setDefaultIndexName(java.lang.String defaultindex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchConfig()
Method Detail |
protected void collectAll(org.mmbase.bridge.Cloud cloud)
cloud
- MMBase cloud to use for indexingpublic SearchIndex getIndex(java.lang.String name)
name
- Name of the index to look for
public SearchIndex getIndex(int id)
id
- Number of the index in the list
public SearchIndex getDefaultIndex()
public void addIndex(SearchIndex index)
index
- The SearchIndex object to addpublic void setDefaultIndexName(java.lang.String defaultindex)
defaultindex
- public java.lang.String setDefaultIndexName()
public int getIndexCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |