Hi,

I think the problem may lie in the first line.  It should be

import org.apache.lucene.analysis.ISOLatin1AccentFilter;

and be included at the top of the file with the rest of the imports.  The 
second line looks fine, and goes with the rest of the filter statements.

B--

>>> On 8/8/2012 at 12:14 PM, in message
<85c980bb1085994793231c3abd13a5629ee...@xmbx03.sti.usherbrooke.ca>, Hatem
Jlassi <hatem.jla...@usherbrooke.ca> wrote:
> Hi all,
> 
> We are running a bilingual (French/English) instance of last version of 
> Dspace (1.8.2). We have some problems with the search with diacritics. The 
> Dspace's searcher doesn't find words with accented characters when the search 
> doesn't include these accents.
> We modified 
> (\dspace-1.8.2-src-release\dspace-api\src\main\java\org\dspace\search
> \DSAnalyzer.java) and we added the followings two lines:
> ISOLatin1AccentFilter;
> result = new ISOLatin1AccentFilter(result);
> Rebuild, Re-index Dspace
> But the problem was not resolved.
> 
> If anyone has solved this problem - Please Help!!! Thank You
> 
> Regards,


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to