[Dspace-tech] hiding metadata from oai harvesting and search/browse indexes

2007-04-05 Thread James Dickson
Hi All, We have a number of collections in Cambridge that are have been entered as 'Dark' with no anonymous access to the items. Unfortunately, these items still show up in the search and browse listings in dspace. We have discussed a number of strategies and would like some advice: 1. Remove

Re: [Dspace-tech] Collection submitters

2007-04-05 Thread Claudia Jürgen
Hi Jayan, was your DSpace instance once on 1.2.*? If so, your problems might be related with: Bug: http://sourceforge.net/tracker/index.php?func=detailaid=1638565group_id=19984atid=119984 Patch: http://sourceforge.net/tracker/index.php?func=detailaid=1638565group_id=19984atid=119984 This will

[Dspace-tech] Deleting items

2007-04-05 Thread Mika Stenberg
Im creating a Java code for deleting all items under a collection. Sometimes when deleting an item I get a message saying: Exception: IndexReader out of date and no longer valid for delete, undelete, or setNorm operations Does Anyone know what is causing? I guess it is Lucene related? Thanks,

Re: [Dspace-tech] inser/delete into the metadatavalue table

2007-04-05 Thread Andrea Bollini
Hi Jose, you can of course add metadata with a java script using DSpace API without any problems. If you want add metadata from sql script you need only to reset the metadata sequence at the end of your script. SELECT setval('metadatavalue_seq', max(metadata_value_id)) FROM metadatavalue;

Re: [Dspace-tech] inser/delete into the metadatavalue table

2007-04-05 Thread Jose Blanco
Andrea: I'm running 1.4.1 and so dcvalue is a view in this version. So I don't think I have to use this command : SELECT setval('dcvalue_seq', max(dc_value_id)) FROM dcvalue Right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Bollini Sent:

Re: [Dspace-tech] inser/delete into the metadatavalue table

2007-04-05 Thread Jose Blanco
Andrea: In looking at the dspace code, it seems like I could use this SQL: SELECT getnextid(metadatavalue) And then issue and insert into metadavalue values ( ... ) using the metadata_value_id I get from the SELECT statement. Will this also work? -Original Message- From: [EMAIL

[Dspace-tech] redirect port 8443 to 80?

2007-04-05 Thread Zhiwu Xie
Hello, I'm following the Dspace wiki page DspaceOnStandardPorts and ServletSecurity to run Dspace on Tomcat only. I've set up iptables to route port 80 to 8080 and 443 to 8443, then set the Tomcat redirectPort to 443 instead of 8443, so I don't get the 8443 port number such as

Re: [Dspace-tech] inser/delete into the metadatavalue table

2007-04-05 Thread Andrea Bollini
yes, it works This is the same method used in the API Andrea Jose Blanco ha scritto: Andrea: In looking at the dspace code, it seems like I could use this SQL: SELECT getnextid(metadatavalue) And then issue and insert into metadavalue values ( ... ) using the metadata_value_id I get from