Re: [Fedora-commons-users] naive question about gsearch delete

2009-09-28 Thread Bill Branan
Hi Matteo, Yes, calling deletePID in GSearch only removes the object from the GSearch index. If you like working with a REST api, you can loop calls to purgeObject in Fedora's REST api: https://fedora-commons.org/confluence/display/FCR30/REST+API#RESTAPI-purgeObject

Re: [Fedora-commons-users] naive question about gsearch delete

2009-09-28 Thread Matteo Boschini
great ! (I know I ought to look more in the bin dir...) But back to my question: is it true that updateIndex deletePID in gsearch , "only" delets that PID from index ? On Mon, Sep 28, 2009 at 4:48 PM, ps552 wrote: > I used fedora-purge.sh with a shell script > > startpid=$1 > endpid=$2 > host=$

Re: [Fedora-commons-users] naive question about gsearch delete

2009-09-28 Thread ps552
I used fedora-purge.sh with a shell script startpid=$1 endpid=$2 host=$3 user=$4 password=$5 msg=$6 stoppid=$(( endpid + 1 )) nextpid=$startpid while(( $nextpid < $stoppid )) do $FEDORA_HOME/client/bin/fedora-purge.sh $host $user $password york:$nextpid http $msg 2>/dev/null (( nextpi