Hi Emilio,

It works perfectly! Thank u! You helped us a lot!


From: emilio lorenzo <[email protected]>
Subject: Re: [Dspace-tech] Search problems with special characters and
    diacritics
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Bruna
Typical problems with diacritic searches comes from the ausence of an specific 
filterm ISOLatin1AccentFilter in the DSPace configuration of the Lucene 
engine.  You must try to change DSAnalyzer.java adding two lines:

import org.apache.lucene.analysis.ISOLatin1AccentFilter;
result = new ISOLatin1AccentFilter(result);

You will also need to recompile DSPACE AND rebuilt the indexes

best luck
Emilio




El 05/04/2012 1:30, Bruna Fagundes R?cio escribi?:
>
> Hi folks,
>
> We are using DSpace as the base for our objetc repository at UDESC 
> (Joinville, Brazil). But, now, we notticed a problem with search with 
> diacritics and special characters (acents, etc).
>
> For example: in portuguese the correct spelling for the word critic is 
> "cr?tico". In the DSpace Documentation we have the information that 
> the search ignores this signs, however, if we search for "critico" 
> without acent, we don't have the same results when we use "cr?tico".
>
> It doesn't work for searching Author, Title, Subjects... and doesn't 
> work for XMLUI neither JSPUI.
>
> Thanks for the help!
> ------------------------------------------------------------------------
> *Bruna Fagundes R?cio*
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev

------------------------------

_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


End of DSpace-tech Digest, Vol 72, Issue 9
******************************************
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to