<fix>
There should be three commands to run:

dsrun org.dspace.browse.IndexBrowse -f -r
dsrun org.dspace.browse.ItemCounter
dsrun org.dspace.browse.DSIndexer -b
</fix>

Allen.

Allen Lam wrote:
> Hi,
>
> You are using Windoze so that the script cannot be run.
>
> As a replacement, run these two commands:
>
> dsrun org.dspace.browse.IndexBrowse -f -r
> dsrun org.dspace.browse.ItemCounter
>
> Allen Lam.
> HKU Hub Administrator, http://hub.hku.hk <http://hub.hku.hk/>
>
>
>
> Lucy Wang wrote:
>> Hi Allen,
>> I did run the index-init script, it look like as following in the 
>> command prompt:
>> E:\DSpace_Test\bin>dsrun org.dspace.browse.IndexBrowse -f -r
>> Using DSpace installation in: E:\DSpace_Test
>> E:\DSpace_Test\bin>
>>
>> How can I run the index-init? Many thanks.
>>  
>> Lucy
>> Indiana State University
>> --- On *Fri, 2/27/09, Allen Lam /<[email protected]>/* wrote:
>>
>>
>>     From: Allen Lam <[email protected]>
>>     Subject: Re: [Dspace-tech] reindexing question
>>     To: "Jewel" <[email protected]>,
>>     "[email protected]"
>>     <[email protected]>
>>     Date: Friday, February 27, 2009, 1:23 AM
>>
>>     Hi Jewel,
>>
>>     As Juergen suggested, InitializeBrowse is not there anymore.
>>     Run the scripts bin/index-init or bin/index-update as needed.
>>
>>     The scripts aim to create a browse index and then a search index.
>>     Indexing helps you browse and search faster.
>>
>>     Roughly speaking, the steps of indexing is to tokenize some search
>>     strings into word list, filter out undesirable words, some fine
>>     touches
>>     on the remaining word list, and then put them into a mini database
>>     (not
>>     that of postgres) recording what words can be found in which item.
>>
>>     With regard to scheduled maintenance, it is NOT necessary to 
>> re-index
>>     dspace unless you've made changes to the indexing rules or have
>>     edited
>>     the database directly.
>>
>>     Regards,
>>     Allen Lam.
>>     HKU Hub Administrator, http://hub.hku.hk <http://hub.hku.hk/>
>>
>>
>>     Jewel wrote:
>>     > I am in the process of determining what needs to be performed in
>>     terms
>>     > of maintenance and scheduling for Dspace. One of my questions is
>>     > regarding reinexing. On the Dspace wiki the steps on reindexing 
>> are
>>     > here.  http://wiki.dspace.org/index.php/Re-index_DSpace
>>     >
>>     > dsrun org.dspace.browse.InitializeBrowse
>>     >
>>     > dsrun org.dspace.search.DSIndexer
>>     >
>>     > My question is what exactly are these steps doing? I issued the
>>     first
>>     > command and received an error and when I issues the second
>>     command it
>>     > just returned me to my prompt but looked like it did so something.
>>     > I am running version 1.5.1 on a Windows 2003 machine.
>>     >
>>
>>
>>     
>> ------------------------------------------------------------------------------
>>  
>>
>>     Open Source Business Conference (OSBC), March 24-25, 2009, San
>>     Francisco, CA
>>     -OSBC tackles the biggest issue in open source: Open Sourcing the
>>     Enterprise
>>     -Strategies to boost innovation and cut costs with open source
>>     participation
>>     -Receive a $600 discount off the registration fee with the source
>>     code: SFAD
>>     http://p.sf.net/sfu/XcvMzF8H
>>     _______________________________________________
>>     DSpace-tech mailing list
>>     [email protected]
>>     
>> <http://us.mc1110.mail.yahoo.com/mc/[email protected]>
>>  
>>
>>     https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to