Hello,

It's become a little easier than that because Lucene now includes an
ISOLatin1AccentFilter; that means there's no need to add that class to
the DSpace code.

So update DSAnalyzer so:

(line 45)
import org.apache.lucene.analysis.Analyzer;
+ import org.apache.lucene.analysis.ISOLatin1AccentFilter;
import org.apache.lucene.analysis.LowerCaseFilter;

and

(line 95)

result = new PorterStemFilter(result);
+ result = new ISOLatin1AccentFilter(result);

After that, rebuild, redeploy, restart Tomcat.

B--

>>> On 1/23/2012 at 9:10 AM, in message <4f1d867a.2080...@bcn.cl>,
"Sandoval,
Álvaro"<alsando...@bcn.cl> wrote:
> Hi Rajat:
> 
> We are using Dspace 1.7.1 and we have metadata and bitstreams in 
> Spanish. And searching is working using our diacritics.
> We just modified org.dspace.search.DSAnalyzer.java and added the 
> ISOLatin1AccentFilter class, according to the following:
> 
>
http://dspace.2283337.n4.nabble.com/searching-issues-for-Spanish-td3282469.h

> tml#a3282470
> 
> I hope that helps.
> 
> Regards,
> Alvaro
> 
> El 23/01/12 12:36, Rajat Gupta escribió:
>> Hello,
>>
>> We had been working on Dspace for quite sometime and there is 
>> repeatedly this question arising of making Dspace search work in 
>> Devnagri (Unicode) script (Indian languages such as Hindi, Gujarati
etc).
>>
>> I would want to find out if any body has done any work in this area.

>> If you are able to get search results using any other  non-English 
>> languages such as French or german, it would still be good for us to

>> learn.
>>
>> I deeply appreciate the help that the DSpace community has been 
>> providing to me.
>>
>> Regards,
>>
>> Rajat Gupta
>>
>>
>> On Mon, Jan 23, 2012 at 6:35 PM, 
>> <dspace-tech-requ...@lists.sourceforge.net 
>> <mailto:dspace-tech-requ...@lists.sourceforge.net>> wrote:
>>
>>     Send DSpace-tech mailing list submissions to
>>     dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>
>>
>>     To subscribe or unsubscribe via the World Wide Web, visit
>>     https://lists.sourceforge.net/lists/listinfo/dspace-tech 
>>     or, via email, send a message with subject or body 'help' to
>>     dspace-tech-requ...@lists.sourceforge.net 
>>     <mailto:dspace-tech-requ...@lists.sourceforge.net>
>>
>>     You can reach the person managing the list at
>>     dspace-tech-ow...@lists.sourceforge.net 
>>     <mailto:dspace-tech-ow...@lists.sourceforge.net>
>>
>>     When replying, please edit your Subject line so it is more
specific
>>     than "Re: Contents of DSpace-tech digest..."
>>
>>
>>     Today's Topics:
>>
>>       1. JumpBox two week trial (Igor M)
>>       2. Submissions page on xmlui (Jennifer Whalan)
>>       3. IP BASED ACCESS (Lewatle Phaladi)
>>       4. Re: IP BASED ACCESS (Claudia J?rgen)
>>       5. Re: A More Detailed AIP Tool Question (helix84)
>>
>>
>>    
----------------------------------------------------------------------
>>
>>     Message: 1
>>     Date: Mon, 23 Jan 2012 04:15:56 +0400
>>     From: Igor M <igorm...@hotmail.com
<mailto:igorm...@hotmail.com>>
>>     Subject: [Dspace-tech] JumpBox two week trial
>>     To: <dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>>
>>     Message-ID: <snt121-w260fce3d8da29e652164f986...@phx.gbl>
>>     Content-Type: text/plain; charset="koi8-r"
>>
>>
>>     Hello,
>>
>>     I installed JumpBox DSpace 1.7.2. It worked and I was able to
>>     test-drive the Manakin version of DSpace.
>>     It warned me about the two weeks trial but it was not clear
what
>>     was going to happen in two weeks.
>>
>>     Now, when I
>>      start the VMware player it says "Waiting for IP Address". The
>>     IP address that I obtained from the player front panel after I
>>     installed it is not
>>     connecting me anywhere with only general "the connection has
timed
>>     out"
>>     message.
>>
>>     Does it m
ean the trial period is over?
>>
>>     Thank you,
>>
>>     - Igor
>>     -------------- next part --------------
>>     An HTML attachment was scrubbed...
>>
>>     ------------------------------
>>
>>     Message: 2
>>     Date: Mon, 23 Jan 2012 16:03:42 +0930
>>     From: Jennifer Whalan <jennifer.wha...@nt.gov.au 
>>     <mailto:jennifer.wha...@nt.gov.au>>
>>     Subject: [Dspace-tech] Submissions page on xmlui
>>     To: "dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>"
>>     <dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>>
>>     Message-ID:
>>    
<2920790549c5194b9b5797bb7145d8b101a32c24a...@emdch-es1.prod.main.ntgov>
>>
>>     Content-Type: text/plain; charset="us-ascii"
>>
>>     This is for Dspace 1.8.1, with xmlui, using a modified version
of
>>     the Reference theme.
>>
>>     Currently when you access the submissions page (/submission),
the
>>     order of tables is:
>>
>>     Unfinished submissions
>>     Archived submissions
>>     Tasks you own
>>     Tasks in the pool
>>     Submissions being reviewed.
>>
>>
>>     I was wondering if it is possible to change this order, as we
>>     would like archived submissions at the bottom of the page, due
to
>>     some long lists for some of our users. Previously I had done
this
>>     in org.dspace.app.xmlui.aspect.submissions.Submissions, but in
1.8
>>     it seems to have been split between Submissions and Workflow
(or
>>     xmlWorkflow, but we're not using that at the moment).  I thought
I
>>     was pretty okay with Java but I'm not quite sure how it is done
in
>>     this case. I couldn't find any classes that were calling those
>>     classes, and it sort of looks like the classes are getting
>>     themselves added, so I'm not sure how the order is decided. If
>>     anyone has any suggestions, please let me know.
>>
>>
>>     Thanks
>>     Jennifer
>>
>>     Jennifer Whalan
>>     Systems Support Officer | Innovation & Access
>>     Northern Territory Library
>>     Department of Natural Resources, Environment, The Arts and
Sport
>>     Northern Territory Government
>>
>>     Phone:  (08) 8922 0752
>>     Fax:    (08) 8922 0722
>>     Email: jennifer.wha...@nt.gov.au 
>>    
<mailto:jennifer.wha...@nt.gov.au><mailto:jennifer.wha...@nt.gov.au

> <mailto:jennifer.wha...@nt.gov.au>>
>>     Web: www.ntl.nt.gov.au 
>>     <http://www.ntl.nt.gov.au><http://www.ntl.nt.gov.au>
>>
>>     The information contained in this message and any attachments
may
>>     be confidential information and may be subject to legal
privilege,
>>     public interest or legal profession privilege. If you are not
the
>>     intended recipient, any use, disclosure or copying of this
message
>>     or any attachments is unauthorised. If you have received this
>>     document in error, please advise the sender. No representation
or
>>     warranty is given that attached files are free from viruses or
>>     other defects. The recipient assumes all responsibility for any
>>     loss or damage resulting directly or indirectly from the use of
>>     any attached files.
>>     -------------- next part --------------
>>     An HTML attachment was scrubbed...
>>
>>     ------------------------------
>>
>>     Message: 3
>>     Date: Mon, 23 Jan 2012 09:07:43 +0200
>>     From: Lewatle Phaladi <lewatle.phal...@wits.ac.za 
>>     <mailto:lewatle.phal...@wits.ac.za>>
>>     Subject: [Dspace-tech] IP BASED ACCESS
>>     To: <dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>>
>>     Message-ID:
>>     <5097ea230d3bf4449e4d2c2c901c9e54023bd...@gaia.ds.wits.ac.za 
>>    
<mailto:5097ea230d3bf4449e4d2c2c901c9e54023bd...@gaia.ds.wits.ac.za>>
>>     Content-Type: text/plain; charset="us-ascii"
>>
>>     Hi All
>>
>>
>>
>>     I would like to allow access to individual collection through
to
>>     use of
>>     institutional IP address, like if users are withing campus they

should
>>     access the collection without authentications, any idea is
>>     appreciated.
>>
>>
>>
>>
>>
>>     Regards,
>>
>>     Lewatle
>>
>>
>>     <html><p><font face = "verdana" size = "0.8" color =
"navy">This
>>     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>
>>     -------------- next part --------------
>>     An HTML attachment was scrubbed...
>>
>>     ------------------------------
>>
>>     Message: 4
>>     Date: Mon, 23 Jan 2012 09:17:23 +0100
>>     From: Claudia J?rgen <claudia.juer...@ub.tu-dortmund.de 
>>     <mailto:claudia.juer...@ub.tu-dortmund.de>>
>>     Subject: Re: [Dspace-tech] IP BASED ACCESS
>>     To: dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>
>>     Message-ID: <4f1d1793.6010...@ub.tu-dortmund.de 
>>     <mailto:4f1d1793.6010...@ub.tu-dortmund.de>>
>>     Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>>     Hallo Lewatle,
>>
>>     IP authentication is configurable see Chapter
>>     6.2.11.5. Configuring IP Authentication
>>     of the documentation.
>>
>>     You can create a group for the users within campus, grant the
>>     rights and
>>     add the authentication to the dspace.cfg. Note that changing
the
>>     rights
>>     of an existing collection will only affect newly ingested
items,
>>     as the
>>     rights are inherited during ingest. For existing items you can
use the
>>     advanced rights manager.
>>
>>
>>     Hope that helps
>>
>>     Claudia J?rgen
>>
>>
>>     Am 23.01.2012 08:07, schrieb Lewatle Phaladi:
>>     > Hi All
>>     >
>>     >
>>     >
>>     > I would like to allow access to individual collection through
to
>>     use of
>>     > institutional IP address, like if users are withing campus
they
>>     should
>>     > access the collection without authentications, any idea is
>>     appreciated.
>>     >
>>     >
>>     >
>>     >
>>     >
>>     > Regards,
>>     >
>>     > Lewatle
>>     >
>>     >
>>     > <html><p><font face = "verdana" size = "0.8" color =
"navy">This
>>     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>
>>     >
>>     >
>>     >
>>     >
>>     
>
-----------------------------------------------------------------------------
> -
>>     > Try before you buy = See our experts in action!
>>     > 
The most comprehensive online learning library for Microsoft
>>     developers
>>     > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5,
>>     CSS3, MVC3,
>>     > Metro Style Apps, more. Free future releases when you
subscribe now!
>>     > http://p.sf.net/sfu/learndevnow-dev2 
>>     >
>>     >
>>     >
>>     > _______________________________________________
>>     > DSpace-tech mailing list
>>     > DSpace-tech@lists.sourceforge.net 
>>     <mailto: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/ 
>>
>>
>>
>>     ------------------------------
>>
>>     Message: 5
>>     Date: Mon, 23 Jan 2012 14:05:09 +0100
>>     From: helix84 <heli...@centrum.sk <mailto:heli...@centrum.sk>>
>>     Subject: Re: [Dspace-tech] A More Detailed AIP Tool Question
>>     To: Patrick Etienne <patrick.etie...@library.gatech.edu 
>>     <mailto:patrick.etie...@library.gatech.edu>>
>>     Cc: DSpace Tech <dspace-tech@lists.sourceforge.net 
>>     <mailto:dspace-tech@lists.sourceforge.net>>
>>     Message-ID:
>>    
<CAGdvKqhropWSn1f3mYhGL+GetLD_8xnxhYyOp2+=lp-8hoz...@mail.gmail.com 
> <mailto:lp-8hoz...@mail.gmail.com>>
>>     Content-Type: text/plain; charset=UTF-8
>>
>>     On Thu, Jan 12, 2012 at 22:12, Patrick Etienne
>>     <patrick.etie...@library.gatech.edu 
>>     <mailto:patrick.etie...@library.gatech.edu>> wrote:
>>     > First I'll detail the specific action that I'm attempting to
make.
>>     > I have two dspace instances that I'm trying to "merge" in a
>>     specific way.
>>     > One instance is a "meta" instance of sorts - it contains the
>>     structure of
>>     > several different whole instances, where each outside whole
>>     instance is a
>>     > community within the meta-instance. My task has been to make
>>     certain that
>>     > all communities, collections and items from the original
whole
>>     instance are
>>     > present within the associated meta-instance community for
that
>>     source
>>     > instance. This means that the parent AIP objects (my term,
not
>>     sure if I'm
>>     > using it 100% correctly) are different for the source and
>>     destination
>>     > instances. Specifically, when working with the source
instance,
>>     I'm doing a
>>     > full export of the entire site (-i handle/0). But when
importing
>>     the export,
>>     > I'm attempting to place the entire tree at a specific
community
>>     within the
>>     > destination instance (-p handle/1234).
>>
>>     Hello Patrick,
>>
>>     did you succeed in this? I'm also considering to do something
similiar
>>     so any experience with it is appreciated. Especially any
caveats.
>>
>>     Regards,
>>     ~~helix84
>>
>>
>>
>>     ------------------------------
>>
>>     
>
-----------------------------------------------------------------------------
> -
>>     Try before you buy = See our experts in action!
>>     The most comprehensive online learning library for Microsoft
>>     developers
>>     is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5,
CSS3,
>>     MVC3,
>>     Metro Style Apps, more. Free future releases when you subscribe
now!
>>     http://p.sf.net/sfu/learndevnow-dev2 
>>
>>     ------------------------------
>>
>>     _______________________________________________
>>     DSpace-tech mailing list
>>     DSpace-tech@lists.sourceforge.net 
>>     <mailto:DSpace-tech@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/dspace-tech 
>>
>>
>>     End of DSpace-tech Digest, Vol 69, Issue 41
>>     *******************************************
>>
>>
>>
>> 
>
-----------------------------------------------------------------------------
> -
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft
developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe
now!
>> http://p.sf.net/sfu/learndevnow-dev2 
>>
>>
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech 
> 
> 
> -- 
> Álvaro Sandoval Pizarro
> 
> BCN, Biblioteca del Congreso Nacional de Chile
> Ingeniería y Desarrollo
> Fono (5632) 226 3981
> 
> http://www.bcn.cl/

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to