I kind of don't like doing this.  I'm afraid that with the system up, I
have crashes.  Would my approach work, even though it seems a bit
convoluted.

On Thu, Jul 14, 2016 at 10:42 AM, Evgeni Dimitrov <dimitrove....@gmail.com>
wrote:

>
> There is such thing
>
> ./dspace index-discovery -b
>
> -b = (re)build index, wiping out current one if it exists
>
>
>
> On Thursday, July 14, 2016 at 3:45:24 PM UTC+3, Jose Blanco wrote:
>>
>> I have a list of handles, and for each of those handles I want to change
>> the epersongroup that has permission to the item to be Anonymous, I
>> loaded them having some other epersongroup.  I could run a sql like this
>> for each item:
>>
>> update resourcepolicy set epersongroup_id = 0 where resource_id = the_id
>> and resource_type_id=2;
>>
>> when I go to the handle I see that it has the right epersongroup now and
>> it gives Anonymous users access to the item, but the index is not
>> updated because title browsing does not catch the item, nor does
>> searching.  So I was thinking I could use itemupdate to update some
>> metadata to get the index toupdate.  Does this make sense or is there a
>> better way to do it.
>>
>> Thank you!
>>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to