Hi Jose.
This is supposed to work, but I have not tried it myself yet.
The following command will clear the discovery index of a specific
collection (use the collection id, not the handle).
curl
"http://localhost:8080/solr/search/update?stream.body=<update><delete><query>location.coll:1136</query></delete><commit/></update>";
Once the collection's discovery index is cleared, then running a normal
'[dspace]/bin/dspace index-discovery' (without the -b) will force that
collection to be re-indexed.
Kind Regards.
Shaun
On 2018/12/05 18:29, Jose Blanco wrote:
I want to make a change to this file to add a filter to a collection:
config/spring/api/discovery.xml
I know I have to run this afterwards:
/dspace index-discovery -b
But I don't want to reindex the entire repository. Is there a way to
just update the index for one one item at a time? This way I can just
issue commands for the items in that collection, and not reindex the
entire repository. I am using version 5.2.
Thank you!
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.