[Dspace-tech] little questions

2010-09-03 Thread Sergiu Ioan Irimia
DSpace 1.6
Two questions... I've searched in configuration file and in the manual, but I 
didn't found anything...1. Can I add new fields on registration process? I 
would like to know more about the person that registers, for example, his major 
and the institution where he works...2. Can I limit the possibility of 
downloading the bitstreams only to registered users? Anonymous users would have 
the possibility to view the item, but only the registered users would be able 
to download the bitstream (the uploaded .pdf file - for example)
Thank you!


  --
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] little questions

2010-09-03 Thread Claudia Jürgen
Hello Sergiu,

1. new fields for eperson
This is not configurable.
You can change it by enhancing the eperson table and provide the code to 
access and use the information whereever it is needed. Keep in mind that 
changes like this will make upgrades a bit more difficult as you got to 
merge your in this case a bit more extensive local customizations with 
the default DSpace code.

2. bitstream restriction to logged in users
This is possible.
a) create a group for logged in users
b) enable implicit addition to this group via the dspace.cfg (different 
settings for different authentications)

- users which login actively - password authentication
# Password users group #

# If required, a group name can be given here, and all users who log in
# using the DSpace password system will automatically become members of
# this group. This is useful if you want a group made up of all internal
# authenticated users.
#password.login.specialgroup = group-name

- IP based authentication
 Example of configuring IP-based authentication
 (to use, add org.dspace.authenticate.IPAuthentication to auth stack 
above)
#
# authentication.ip.GROUPNAME = iprange[, iprange ...]

- LDAP
# If required, a group name can be given here, and all users who log in
# to LDAP will automatically become members of this group. This is useful
# if you want a group made up of all internal authenticated users.
#ldap.login.specialgroup = group-name

c) restrict the bitstream view to users of you special group
- for future items
change the DEFAULT_BITSTREAM_READ of all collections to the special group
- for items already archived
use the advanced authorization policy tool to change the read access for 
your bitstreams


Hope that helps

Claudia Jürgen




Am 03.09.2010 09:07, schrieb Sergiu Ioan Irimia:
 DSpace 1.6 Two questions... I've searched in configuration file and
 in the manual, but I didn't found anything...1. Can I add new fields
 on registration process? I would like to know more about the person
 that registers, for example, his major and the institution where he
 works...2. Can I limit the possibility of downloading the bitstreams
 only to registered users? Anonymous users would have the possibility
 to view the item, but only the registered users would be able to
 download the bitstream (the uploaded .pdf file - for example) Thank
 you!






 --


This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills. Enter the Intel(R)
 Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd



 ___ DSpace-tech mailing
 list DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP settings

2010-09-03 Thread Stuart Lewis
Hi again,

Apologies - you may indeed need to escape the comma as this isn't the normal 
separator between dn/ou/cn type elements. As Flavio suggests, try two 
backslashes. Java can sometimes be worse than that and require four as it will 
strip them out twice, each time the string is handled.

Depending on which copy of dspace.cfg you update, you may or may not need to 
redeploy DSpace. If you edit the version in your DSpace installation directory, 
then a restart of Tomcat is fine. If you edit the version in the source 
directory where you run 'mvn' from, then you will need to redeploy.

Thanks,


Stuart

On 3/09/2010, at 6:10 PM, Webshet, Sisay (ILRI) wrote:

 Hi,
  
 I checked with some other browser like softera.look
 How the structure viewed.
 The log file says this.
 010-09-03 09:04:02,239 INFO  org.dspace.app.webui.servlet.LDAPServlet @ 
 anonymous:session_id=EE6A969F57BF518D0D5343F6BF33520C:ip_addr=172.27.5.70:failed_login:netid=Swebshet,
  result=2
  
 May be you can suggest me on the values for ldap.search.user=
 Should the system be redeployed? For LDAP to work.
 I did restart Tomcat only
 Thanks
  
 image001.jpg
 
 -Original Message-
  
 image002.jpg
 
  
 image005.jpg
 
 
 From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
 Sent: Friday, September 03, 2010 1:10 AM
 To: Flavio Botelho; Webshet, Sisay (ILRI)
 Cc: dspace-tech@lists.sourceforge.net Tech
 Subject: Re: [Dspace-tech] LDAP settings
  
 You shouldn't need to escape the values at all. Commas are fine, and quite 
 normal in LDAP configurations.
  
 Check using a tool such as http://jxplorer.org/ that you can log in to the 
 LDAP server with those credentials.
  
 Thanks,
  
  
 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
  
  
  
 On 3/09/2010, at 5:42 AM, Flavio Botelho wrote:
  
  Please post any errors in the log that are appearing?
 
  But I will take a wild guess that there might be problems with
  escaping, you might need to use 2 backslashes instead of just 1 for
  each comma...
 
  On Thu, Sep 2, 2010 at 9:18 AM, Webshet, Sisay (ILRI)
  s.webs...@cgiar.org wrote:
 
 
  Hi,
 
 
 
  Support
 
 
 
  I login to our local LDAP server using the following   settings, but cannot
  login. I can search users name
 
  account using  sAMAccountName attribute.
 
 
 
 
 
  Host  ILRI.CGIARAD.ORG
 
 
 
 
 
  base DN  DC=ILRI,DC=CGIARAD,DC=ORG
 
 
 
  Bind DN(entry DN)   CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia
  Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG
 
 
 
 
 
 
 
  What will be the setting in dspace.cfg ( dspace 1.5.2  on debian )
 
  if something is wrong please correct me.i can't login to dspace using LADP.
 
 
 
  ldap.provider_url = ldap://ILRI.CGIARAD.ORG/
 
 
 
  ldap.id_field = sAMAccountName
 
 
 
  ldap.object_context = OU=ILRI Ethiopia Employees,OU=ILRI
  Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG
 
 
 
  ldap.search_context = OU=ILRI Ethiopia Employees,OU=ILRI
  Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG
 
 
 
  ldap.email_field = mail
 
 
 
  ldap.surname_field = sn
 
 
 
  ldap.givenname_field = givenName
 
 
 
  ldap.phone_field = telephoneNumber
 
 
 
 
 
   Hierarchical LDAP Settings #
 
 
 
  # If your users are spread out across a hierarchical tree on your
 
  # LDAP server, you will need to use the following stackable authentication
 
   class:
 
plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
 
  org.dspace.authenticate.LDAPHierarchicalAuthentication
 
 
 
  # object scope : 0
 
  # one level scope : 1
 
  # subtree scope : 2
 
  ldap.search_scope = 2
 
 
 
 
 
  #ldap.search.user = cn=admin,ou=people,o=myu.edu
 
  ldap.search.user = CN=Webshet\, Sisay (ILRI),OU=ILRI Ethiopia
  Employees,OU=ILRI Ethiopia,DC=ILRI,DC=CGIARAD,DC=ORG
 
  ldap.search.password = *
 
 
 
 
 
 
 
  --
  This SF.net Dev2Dev email is sponsored by:
 
  Show off your parallel programming skills.
  Enter the Intel(R) Threading Challenge 2010.
  http://p.sf.net/sfu/intel-thread-sfd
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
  --
  This SF.net Dev2Dev email is sponsored by:
 
  Show off your parallel programming skills.
  Enter the Intel(R) Threading Challenge 2010.
  http://p.sf.net/sfu/intel-thread-sfd
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  
  

Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, 

[Dspace-tech] controlled vocabulary add-on code needed

2010-09-03 Thread AMJAD USMAN

Hello everybody,

can anybody tell me how subject search works ?
i have installed dspace 1.6 and enabled controlled vocabulary add-on that 
in turn enables subject search..

i have studied the respective paper of controlled vocabulary add-on and got 
understand how it assigns keyword to the document.
but this paper does not explain how it builds subject search / taxonomic search 
...

I mean to say that i want to know how dspace searches documents using 
taxonomy?

From:
Amjad


  --
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Export Solr Stats to MS Excell

2010-09-03 Thread Lewatle Phaladi
Hi All

 

I am intending to export or convert SOLR stats into excel document, I
want somebody to give an idea on how to do that or to give me  a better
way of taking the SOLR stats out of DSpace and put in as document that
will also have good meaning.

 

Regards,

Lewatle


htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Inmmagic to dspace 1.5

2010-09-03 Thread Webshet, Sisay (ILRI)
Hi,

 

I am currently working on migrating metadata and items from InMagic to
Dspace. An XML generated by InMagic. As some one comment 
 
I've made a report form that InMagic can generate
in XML Dublin Core format and sparsed the file into multiple pieces.
 
Any other experience

 

Regards,

 

Sisay

 

 

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Geolite errors

2010-09-03 Thread bill . anderson
We continue to get lots and lots of these in our Tomcat logs:

Error seeking country while seeking 2189422231

...accompanied by these in the dspace logs:

ERROR org.dspace.statistics.SolrLogger @ Failed DNS Lookup for IP:

We have a GeoLiteCity.dat in our config directory, and the SOLR stats are 
working.  Is anybody else getting this?

Cheers,

Bill

Bill Anderson
Software Developer
Digital Library Development
Georgia Tech Library

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Geolite errors

2010-09-03 Thread Hilton Gibson
  Me too !

On 03/09/2010 16:05, bill.ander...@library.gatech.edu wrote:
 We continue to get lots and lots of these in our Tomcat logs:

 Error seeking country while seeking 2189422231

 ...accompanied by these in the dspace logs:

 ERROR org.dspace.statistics.SolrLogger @ Failed DNS Lookup for IP:

 We have a GeoLiteCity.dat in our config directory, and the SOLR stats are 
 working.  Is anybody else getting this?

 Cheers,

 Bill

 Bill Anderson
 Software Developer
 Digital Library Development
 Georgia Tech Library

 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
Hilton Gibson
Systems Administrator
JS Gericke Library Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace import/Replace error

2010-09-03 Thread Rahman, Sm F
Tim,

Here is the scenario that might reveal any clue what am I missing here:

I am trying to restore the backup that I got from another institution. They 
used to host our Dspace instance. I got 2 files, one is a Postgres backup and 
another is Assetstore. Now, digging through all the docs, I found there are 3 
ways of dumping the data and I am assuming they gave me 'pg_dump' output what I 
am trying to restore with no luck yet. I followed the exact same steps that you 
described below before sending any messages in this listserv (except running 
the init-index script) but after running the script, nothing happened yet. So, 
do you think, they might gave me a file system level backup or another type 
instead of 'pg_dump', at least that's what I am thinking at this point of time. 
What else should I done? Once again, I appreciate your help, thanks,

Faizur Rahman, Ph.D.
UTD Library Systems
972-883-4100
sm.rah...@utdallas.edu


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org]
Sent: Wednesday, September 01, 2010 4:34 PM
To: Rahman, Sm F
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Dspace import/Replace error

Faizur,

When you did your Postgres backup, you should have run 'pg_dump' to
create a full backup of all your DSpace DB tables. So, it should have
been a command similar to the following:

pg_dump -E UNICODE dspace  my-dspace-backup.sql

(where 'dspace' is the name of your DSpace Database, and
'my-dspace-backup.sql' is the full location of your backup file)

So, assuming you have a backup file created by pg_dump, you should be
able to restore it by doing the following:

(1) ReCreate an empty 'dspace' database owned by the 'dspace' user:

createdb -U dspace -E UNICODE dspace

(2) Restore all of its contents from your backup file:

psql dspace  my-dspace-backup.sql

More information on the various Postgres commands (e.g. 'pg_dump' and
'psql'), along with all their options are available on the PostgreSQL
website:

pg_dump: http://www.postgresql.org/docs/8.2/interactive/app-pgdump.html
psql: http://www.postgresql.org/docs/8.2/interactive/app-psql.html
createdb: http://www.postgresql.org/docs/8.2/interactive/app-createdb.html

After you have the database restored, it's recommended to run 'dspace
index-init' to rebuild the DSpace Browse tables  also recreate the
Search indexes.

I hope that helps,

- Tim

On 9/1/2010 4:05 PM, Rahman, Sm F wrote:
 Tim, you are correct, I don't see any content, what steps exactly should I 
 take to restore the database from backup, I want to make sure I am taking the 
 right steps to make it work, thanks again, Faizur


 -Original Message-
 From: Tim Donohue [mailto:tdono...@duraspace.org]
 Sent: Wednesday, September 01, 2010 11:32 AM
 To: Rahman, Sm F
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] Dspace import/Replace error

 Faizur,

 It looks like your Database did not restore properly.  It's saying you
 have no community table (which is one of the main tables in DSpace).
 Have you verified that your DSpace database actually has contents in it
 after your attempted restore?  If it has no contents, then obviously
 your database restore didn't work, and that's why DSpace is not
 functioning properly.

 - Tim

 On 9/1/2010 9:54 AM, Rahman, Sm F wrote:
 Tim/Claudia,

 Here is what I am getting after running the index-init script, any 
 suggestions? Thanks, Faizur

 dsp...@ubuntu:~/bin$ ./index-init
 Creating browse index
 Exception in thread main org.dspace.browse.BrowseException: 
 org.postgresql.util.PSQLException: ERROR: no schema has been selected to 
 create in
   at 
 org.dspace.browse.BrowseCreateDAOPostgres.createSequence(BrowseCreateDAOPostgres.java:394)
   at 
 org.dspace.browse.IndexBrowse.createItemTables(IndexBrowse.java:952)
   at 
 org.dspace.browse.IndexBrowse.createItemTables(IndexBrowse.java:921)
   at org.dspace.browse.IndexBrowse.prepTables(IndexBrowse.java:739)
   at org.dspace.browse.IndexBrowse.initBrowse(IndexBrowse.java:1045)
   at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:707)
 Caused by: org.postgresql.util.PSQLException: ERROR: no schema has been 
 selected to create in
   at 
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
   at 
 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
   at 
 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
   at 
 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
   at 
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
   at 
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
   at 
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
   at 
 

[Dspace-tech] Shibboleth logout

2010-09-03 Thread Jim Coble
We are using the XMLUI interface on DSpace 1.6.2.  We have activated Shibboleth 
authentication (stacked on top of the usual Password authentication).  The 
Logout link logs you out of DSpace but it does not log out you out of 
Shibboleth.  To accomplish this, we basically need to intercept the logout 
request, determine if the user logged in via Shibboleth, and, if they did, 
route them to a specific Shib logout URL.  Has anyone done anything like this 
who could give us some pointers on how they did it?  Or, if not, can anyone 
help us understand the path that the logout request takes when using the XMLUI 
(Manakin) interface so that we can figure out a place to intercept it?  I 
didn't seem to find any logout mappings in sitemap.xmap but I'm also new to 
Cocoon and may not be looking in the right place.  Of course, I realize that 
it's also possible that the logout request is getting handled by a servlet 
filter before it ever gets to Cocoon.

Thanks for any help / insight you can provide.

--Jim


Jim Coble
Core Services Technical Lead and Program Coordinator
Information Technology Services
Perkins Library
Email: jim.co...@duke.edu
Voice: 919-660-5974  Fax: 919-668-2578
Box 90196, Duke University
Durham, NC 27708-0196


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] A couple questions about 1.6.2 Solr stats...

2010-09-03 Thread Wally Grotophorst
I'd like to block counting of my local machine from the Solr stats in DSpace 
1.6.2

can i use stats-util to do that?

maybe a command like this:

dspace stats-util -i xxx.xxx.xxx.xxx

where xxx.xxx.xxx.xxx is the IP address I want to remove from the Solr index?

or should I make up a file that looks like the ones in /dspace/config/spiders
and put my IP in that file?  If I add a file in this directory, do I need to 
tell DSpace about it somewhere or does it just read anything in that directory?

If all this is answered somewhere and I missed it, I apologize...

- Wally

Wally Grotophorst
Associate University Librarian
Digital Programs and Systems
University Libraries
George Mason University
Fairfax, Virginia 22030





--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace Global Outreach Update

2010-09-03 Thread Valorie Hollister
Dear DSpace Community - 

As many of you are aware, the DSpace Global Outreach Committee (DGOC) is a 
group of volunteers from the DSpace community who work to identify or develop 
resources and tools for DSpace users, as well as to advance the user community 
network world-wide.

The DGOC has been hard at work this year on various projects, the most recent 
of which was the collaboration with DSpace committers to develop a session at 
OR10 specifically designed for repository managers. The session was extremely 
well received and recordings and/or copies of the slides will be available 
soon. In May, the DGOC launched the new and improved DSpace user registry 
database 
(http://www.dspace.org/index.php?option=com_formdashboardItemid=151lang=en) 
which allows the community to not just see who uses DSpace, but provides a 
search and filter functions which enable users to find other institutions which 
may have similar repositories and environments to their own. 

Over the past several months, the DGOC has also been exploring ways to get more 
members of community involved in the software release process. There were some 
good discussions and proposals 
(https://wiki.duraspace.org/display/DSPACE/Proposals#Proposals-ReleaseCycle%2FProcessProposals)
 which resulted in agreement from the committer group to have a more formalized 
group or process to help facilitate broader community assistance and feedback 
in the release process. The intention is that this process will provide support 
to the release coordinator, as well as allow for more non-techies to take an 
active part in the evolution of the software. A logical place to incubate some 
of these ideas is with the DGOC. To that end, the DGOC plans to begin to help 
the committers review new feature requests in JIRA 
(http://jira.dspace.org/jira/secure/IssueNavigator.jspa?reset=truetype=2status=1status=3status=4sorter/field=issuekeysorter/order=DESC).
 Part of this process will include encouraging and facilitating discussions 
about specific feature ideas with the community through the general mailing 
list. The hope is that more people will participate in determining the 
relevancy of the feature requests as well as assist in defining the 
requirements of a request.

To make all of the DGOC efforts more transparent to the community, the monthly 
DGOC meetings are now open to anyone who wants to attend. We welcome anyone in 
the community to join the meetings, but due to space limitations on our 
teleconference number, we do ask that if you plan to attend you email me at 
vhollis...@duraspace.org in advance to ensure there is capacity on the call. 
For more information about the meetings, including all the archived meeting 
notes visit here: https://wiki.duraspace.org/display/DSPACE/DGOC+Meeting+Notes. 
Our next meeting is scheduled for September 7 and the proposed agenda can be 
found here: https://wiki.duraspace.org/display/DSPACE/DGOC+September+7%2C+2010

Membership to the DGOC is open to anyone in the DSpace community. You can read 
more about the group here: 
https://wiki.duraspace.org/display/DSPACE/DSpace+Global+Outreach+Cmte. For 
anyone interested in talking about the DGOC and how you can get involved, 
please feel free to contact me at any time. Likewise if you have any feedback 
or questions about DGOC efforts I'd love to hear from you.


Valorie Hollister
Director of Community Development, DSpace Project
DuraSpace
vhollis...@duraspace.org

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] searching with diacritics

2010-09-03 Thread Blanco, Jose
Kevin:

This is for the solr/statistics webapp, but what about the jspui webapp that 
one uses lucene.

Thanks!
Jose

-Original Message-
From: Kevin S. Clarke [mailto:kscla...@gmail.com] 
Sent: Monday, August 23, 2010 4:35 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] searching with diacritics

There is a ISOLatin1AccentFilterFactory that does this.  To use it you'd add

filter class=solr.ISOLatin1AccentFilterFactory/

to your

fieldType name=text class=solr.TextField positionIncrementGap=100
analyzer type=index
  filter class=solr.ISOLatin1AccentFilterFactory/
and

 analyzer type=query
 filter class=solr.ISOLatin1AccentFilterFactory/

Though looking at our solr config it doesn't look like we have it in
there either.  Not sure if there is a reason for not including it.

Perhaps (I'm just now looking up the docs for it) because it's been deprecated
  Cf. 
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ISOLatin1AccentFilterFactory)

Still, I don't see the newer version solr.ASCIIFoldingFilterFactory in
our schema.xml either.

Think I'll put it in, reindex, and test.

Kevin



On Mon, Aug 23, 2010 at 11:41 AM, Blanco, Jose blan...@umich.edu wrote:
 I noticed that in my instance if I search for:

 Jose ( without an accent )

 I get all the results with Jose ( without an accent ).

 And if I search for

 Jose ( with an accent on the e )

 I get all the instances that have Jose with accent.

 My instance is setup with English as the default language, so I thought I 
 experiment in my development environment and change it to French 
 (search.analyzer = org.apache.lucene.analysis.fr.FrenchAnalyzer).  I did an 
 index-init after changing it to French.  But when I tried the search again, I 
 got the same results.

 I found that this instace http://riuma.uma.es/xmlui , and it works as I 
 expected.  Searching for Jose ( without the accent ), finds all Jose's 
 regardless of whether they have accents or not.  Is there a way to map 
 diacritics?  It would be great for to be able to search Latin 1 chars with or 
 without accents.

 Thank you!
 Jose



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] searching with diacritics

2010-09-03 Thread Kevin S. Clarke
Hi Jose,

Seems there is a corresponding filter in Lucene proper:

http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/analysis/ISOLatin1AccentFilter.html

We use xmlui, rather than jspui though, so I have no idea how you'd
configure it in the jspui setup.

Sorry,
Kevin


On Fri, Sep 3, 2010 at 2:16 PM, Blanco, Jose blan...@umich.edu wrote:
 Kevin:

 This is for the solr/statistics webapp, but what about the jspui webapp that 
 one uses lucene.

 Thanks!
 Jose

 -Original Message-
 From: Kevin S. Clarke [mailto:kscla...@gmail.com]
 Sent: Monday, August 23, 2010 4:35 PM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] searching with diacritics

 There is a ISOLatin1AccentFilterFactory that does this.  To use it you'd add

 filter class=solr.ISOLatin1AccentFilterFactory/

 to your

 fieldType name=text class=solr.TextField positionIncrementGap=100
    analyzer type=index
          filter class=solr.ISOLatin1AccentFilterFactory/
 and

     analyzer type=query
         filter class=solr.ISOLatin1AccentFilterFactory/

 Though looking at our solr config it doesn't look like we have it in
 there either.  Not sure if there is a reason for not including it.

 Perhaps (I'm just now looking up the docs for it) because it's been deprecated
  Cf. 
 http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ISOLatin1AccentFilterFactory)

 Still, I don't see the newer version solr.ASCIIFoldingFilterFactory in
 our schema.xml either.

 Think I'll put it in, reindex, and test.

 Kevin



 On Mon, Aug 23, 2010 at 11:41 AM, Blanco, Jose blan...@umich.edu wrote:
 I noticed that in my instance if I search for:

 Jose ( without an accent )

 I get all the results with Jose ( without an accent ).

 And if I search for

 Jose ( with an accent on the e )

 I get all the instances that have Jose with accent.

 My instance is setup with English as the default language, so I thought I 
 experiment in my development environment and change it to French 
 (search.analyzer = org.apache.lucene.analysis.fr.FrenchAnalyzer).  I did an 
 index-init after changing it to French.  But when I tried the search again, 
 I got the same results.

 I found that this instace http://riuma.uma.es/xmlui , and it works as I 
 expected.  Searching for Jose ( without the accent ), finds all Jose's 
 regardless of whether they have accents or not.  Is there a way to map 
 diacritics?  It would be great for to be able to search Latin 1 chars with 
 or without accents.

 Thank you!
 Jose



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech