|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.zserver.GeoIndexer
Performs the indexing of the documents. The Properties files passed in should have the values 'database' (where the index to be written to is stored) 'datafolder' (where the metadata folders are stored) and 'fieldmap' (where the mapping of use attribute numbers to xpaths is). This class has one public function, update, which checks if there are new or modified files in the datafolder, and if so runs the indexer on them.
Constructor Summary | |
GeoIndexer(java.util.Properties serverProps)
Constructor to initializes indexer. |
Method Summary | |
int |
numDocs()
|
int |
update()
Checks the last modified times of the files in the datafolder, and if they've changed or there are new folders this adds them to the index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeoIndexer(java.util.Properties serverProps)
serverProps
- should contain datafolder, fieldmap and database
keys.Method Detail |
public int update()
public int numDocs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |