Arabic Customization

18 views
Skip to first unread message

das

unread,
Feb 8, 2012, 9:17:53 AM2/8/12
to Constellio
We are interested in Adding our own Arabic stemmer to Constellio. What
is the procedure to . perform this task?
Daoud

Nicolas Bélisle

unread,
Feb 9, 2012, 2:23:26 PM2/9/12
to const...@googlegroups.com
Hi, 

Add the JAR in the web application (tomcat/webapps/constellio/WEB-INF/lib). 
And your analyzer to the list in the "Server Management > Analyzers" menu (ref. http://wiki.constellio.com/index.php/Analysers). 
You can now customize the "text" field type in the "Server Management > Field Types" menu (ref. http://wiki.constellio.com/index.php/Field_Types). 

Make sure the default search search field in your collection uses the "text" field type (ref. http://wiki.constellio.com/index.php/Index_Fields). 
Reindex your collection (Reindex All : http://wiki.constellio.com/index.php/Manage_a_Collection). 

Regards, 

Nicolas

2012/2/8 das <daoud....@gmail.com>
We are interested in Adding our own Arabic stemmer to Constellio. What
is the procedure to . perform this task?
Daoud

--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Constellio.
Pour envoyer un message à ce groupe, adressez un e-mail à const...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse constellio+...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/constellio?hl=fr




--
Nicolas Bélisle
DocuLibre inc.
http://www.doculibre.com
Phone/Tél. 514.655.5185
Skype: nicolas.belisle

Daoud Daoud

unread,
Feb 9, 2012, 6:35:58 PM2/9/12
to const...@googlegroups.com
Thanks Nicolas,
It seems that it is not too complicated to add the JAR using Constellio.

What about building the JAR itself? Is there a documentation or a procedure to build this Arabic Analyzer ?
Currently we have our Arabic Analyzer in Perl. Migration to Java is not an issue. I think the challenge would be in putting it within the framework of Constellio.

Regards,
Daoud

Nicolas Bélisle

unread,
Feb 9, 2012, 7:04:41 PM2/9/12
to const...@googlegroups.com
Hi Daoud, 

Most of the search features use Apache Solr in Constellio, including the support for analyzers. If you want to integrate a custom analyzer, you can start with the following documentation http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
There is also the following on Arabic support in Solr : http://wiki.apache.org/solr/LanguageAnalysis#Arabic

Regards, 

Nicolas
Reply all
Reply to author
Forward
0 new messages