Note: This applies to DocuShare 6.x and 6.5.x
Note: DocuShare 6.5.x has reindexChangesSince option for indexing new content only. For detailed information use the reindexChangesSince utility click the How To Use The reindexChangesSince Command link listed at the bottom of the page.
To index objects in a specific collection or to index ONLY Documents:
1. Open a command prompt window.
2. Change into the \Docushare\bin directory.
Where is replaced with the installation directory for DocuShare. The default installation path is C:\Xerox\Docushare. Depending on your installation environment the path may vary.
· To Index the Content of a Collection use the following command:
dsindex –collection Collection-XX index
Where XX is replaced with the Collection handle you would like to index.
Example:
C:\Xerox\Docushare\bin>dsindex -collection Collection-10 index
-------
Running dsindex -collection Collection-10 index
09 May 2011 12:54:38 INFO - dsindex.indexcollection
09 May 2011 12:54:38 INFO - ---
09 May 2011 12:54:38 INFO - Indexing chunk (0 - 99)...
09 May 2011 12:54:53 INFO - Done.
This indexes the content of Collection-13 instead of the entire site.
· To Index Documents only use the following command:
Dsindex –classname Document index
Example:
C:\Xerox\Docushare\bin>dsindex -classname Document index
-------
Running dsindex -classname Document index
09 May 2011 12:55:22 INFO - Started: Mon May 09 12:55:22 ADT 2011
09 May 2011 12:55:22 INFO - Document class: (0 - 98) 0 / 98
09 May 2011 12:55:32 INFO - Document class: (0 - 98) 98 / 98
09 May 2011 12:55:32 INFO -
09 May 2011 12:55:32 INFO - Total number of objects indexed: 98 out of 98
09 May 2011 12:55:32 INFO - Ended: Mon May 09 12:55:32 ADT 2011
09 May 2011 12:55:32 INFO - Total index_all processing time = 0:0:10:296
Solution Published: May 9th, 2011
Solution ID: 837