[dspace-tech] Solr query for submitted items?

2017-04-05 Thread Gary Browne
Hi all,

Using DSpace 4.1, RHEL 6, Tomcat 7.

Is there a way I can query Solr to give me information about submitted 
items. eg. how many items submitted in a given period. I'm imagining 
something using date.accessioned but I've been unable to get any queries to 
work.

Secondly, other than:

https://wiki.duraspace.org/display/DSPACE/Solr
https://wiki.duraspace.org/display/DSDOC4x/DSpace+Statistics

are there any other documents with more Solr query examples - I'm finding 
there isn't enough explanation of parameters for me to work out how to use 
what and when?

Thanks,
Gary

-- 
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.


[dspace-tech] Metadata bulk update Question

2017-04-05 Thread Keith Jones
Hi All,

I'm using the UI tool in XML to bulk change metadata using a CSV file. My
question is, if I want to change metadata in a field that has a value now,
but want to change it to another value, do I have to run a metadata csv
upload twice. Meaning, once to remove the data in the field and another run
to put in the new data?

I tried running it once, but I seem to be adding a new data element and
still keeping the old data element.

Thanks

Keith

-- 
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.


[dspace-tech] Re: How to find metadata that reference to file /bitstream from database?

2017-04-05 Thread Brendow Adriel
O.S: windows 10

C:\WINDOWS\system32>jruby -v
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 
24.79-b02 on 1.7.0_79-b15 +jit [mswin32-x86_64]

C:\WINDOWS\system32>ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]

C:\WINDOWS\system32>gem -v
2.5.1

When i try:

C:\WINDOWS\system32>gem install bundler

Return this error:

ERROR:  While executing gem ... (Net::HTTPServerException)
405 "Method Not Allowed"


Em quarta-feira, 5 de abril de 2017 11:35:23 UTC-3, Brendow Adriel escreveu:
>
> For example:
>
> How to select all bitstream from database
>
> where dc.contributor = ''University";
>
>
> Select all files with final (.pdf, txt, jpg, mp3)
>
> where dc.type= 'other'.
>
>or
>
> Select all files with final (.pdf, txt, jpeg, mp3)
>
> where dc.contributor = 'University of Technology'.
>
>
>
>

-- 
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.


Re: [dspace-tech] How to find metadata that reference to file /bitstream from database?

2017-04-05 Thread Monika Mevenkamp
I do this in jruby using the dspace-jruby gem I developed 

see on GitHub  https://github.com/akinom/dspace-jruby 


#find items with given metadata value 
items = DSpace.findByMetadataValue('pu.workflow.state', 'reviewed', 
DConstants::ITEM)
# print their ids and handles 
items.each do |i|
  puts [i.getID, i.getHandle].join "\t”
end

#find bitstreams with metadata dc.type = other
bits =  DSpace.findByMetadataValue('dc.type', 'other', DConstants::BITSTREAM)

# then go look at file name with an extension that you are interested in
bits.each do |b|
  ext = b.getName.split('.')[-1]

  if (["pdf", "txt", "jpeg"].include?(ext))  then
puts [ext, b.getID, b.getName,  b.getParentObject.getID,  
b.getParentObject.getHandle].join "\t"
  end
end

# bitstreams for items with dc.contributor = ‘University of Stuff’ 
items = DSpace.findByMetadataValue('dc.contributor', 'University of Stuff', 
DConstants::ITEM)
items.each do |i|
  bits = i.getBundles('ORIGINAL')[0].getBitstreams
  # similar to the above example 
end

Let me know if you need help with using this 

Monika
 
Monika Mevenkamp
mo.me...@gmail.com

http://mo-meven.tumblr.com/
http://mcmprogramming.com/mo.meven/



> On Apr 5, 2017, at 10:35 AM, Brendow Adriel  wrote:
> 
> For example:
> 
> How to select all bitstream from database
> 
> where dc.contributor = ''University";
> 
> 
> Select all files with final (.pdf, txt, jpg, mp3)
> 
> where dc.type= 'other'.
> 
>or
> 
> Select all files with final (.pdf, txt, jpeg, mp3)
> 
> where dc.contributor = 'University of Technology'.
> 
> 
> 
> 
> -- 
> 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.


[dspace-tech] Error database conection migrate dspace 6.0

2017-04-05 Thread christian criollo

I'm on the process of upgrading a dspace instance from 4.0 to 6.0. All went 
well but I noticed in my log file this error:

2017-04-05 09:24:17,358 FATAL org.dspace.core.Context @ Cannot obtain the 
bean which provides a database connection. Check previous entries in the 
dspace.log to find why the db failed to initialize.

somebody could you tell me why occurs this error  that it has not posible 
migrate toward dspace 6.0, I am using a database  Oracle Database 11g 
Release 11.2.0.3.0 - 64bit 
Database Driver: Oracle JDBC driver version 11.2.0.4.0

thank you for the help


-- 
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.


[dspace-tech] How to find metadata that reference to file /bitstream from database?

2017-04-05 Thread Brendow Adriel
For example:

How to select all bitstream from database

where dc.contributor = ''University";


Select all files with final (.pdf, txt, jpg, mp3)

where dc.type= 'other'.

   or

Select all files with final (.pdf, txt, jpeg, mp3)

where dc.contributor = 'University of Technology'.



-- 
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.


[dspace-tech] Fwd: DCAT April Community Forum Call: DSpace Performance - April 11th 15:00 UTC/GMT - 11:00 ET

2017-04-05 Thread Bram Luyten
apologies for cross-posting this to both dspace-community and dspace-tech,
but I think this topic might be relevant to subscribers on all these lists.

[image: logo] Bram Luyten
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
atmire.com


-- Forwarded message --
From: Bram Luyten 
Date: 5 April 2017 at 13:58
Subject: DCAT April Community Forum Call: DSpace Performance - April 11th
15:00 UTC/GMT - 11:00 ET
To: dspacecommunityadvisoryt...@googlegroups.com


Hello,

the next DCAT meeting is an open "Community forum call" on DSpace
performance. You can find the meeting notes page here:

https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+April+2017

*Agenda: Community Forum Call: DSpace Performance*

Open discussion on DSpace performance challenges, exchanging best practices
for analysing and resolving performance problems.
How to involve users & repository managers in adequately reporting
performance issues.

*Preparing for the call*

In preparation of the call, you could add following information to the
comment section of the meeting notes page.

   - List any performance problems you may have with DSpace. Make it clear
   which version you are using
   - List any specific performance improvements or hacks you have made
   - List any monitoring tools/diagnostics you have experience with

Looking forward to a great discussion,

Bram Luyten & Maureen Walsh
DCAT Co-Chairs

PS: if you do not yet have an account on DuraSpace confluence (wiki), just
email sysad...@duraspace.org

[image: logo] Bram Luyten
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Esperantolaan 4, Heverlee 3001, Belgium
atmire.com


-- 
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.


Re: [dspace-tech] Downloads.

2017-04-05 Thread Claudia Jürgen

Hi Mark,

yes this is possible, there are authorization and authentication option
for this:
https://wiki.duraspace.org/display/DSDOC5x/Functional+Overview#FunctionalOverview-AuthenticationAuthentication

You may make the landing page of an item visible but restrict the access
to the bitstreams belonging to an item.
This would be done by the collection settings DEFAULT_ITEM_READ =
Anonymous, DEFAULT_BISTREAM_READ = Your Groups
During ingest the items inherit their read policies from these settings.

Hope this helps

Claudia Jürgen



Am 05.04.2017 um 05:10 schrieb Mark Lamont:

Good Afternoon,

I'm am in the process of setting up an information repository with DSpace
and am wondering if there is a way to make files available to users without
them being downloadable? Most of what I've submitted needs to be downloaded
to be viewed-or listened to as the case may be. We would like to limit some
of the material to members of our organization so would like to be able to
make some files non-downloadable. Is there a way to do this with this
software even though it is open access.

kind regards,

Mark Lamont




--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
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.