{"id":64,"date":"2013-03-10T19:27:43","date_gmt":"2013-03-10T18:27:43","guid":{"rendered":"http:\/\/sam-soul.fr\/Info\/?p=64"},"modified":"2013-03-10T19:27:43","modified_gmt":"2013-03-10T18:27:43","slug":"lucene-pour-la-recherche-sous-drupal","status":"publish","type":"post","link":"http:\/\/les-fougs.com\/wordpress\/2013\/03\/10\/lucene-pour-la-recherche-sous-drupal\/","title":{"rendered":"Luc\u00e8ne pour la recherche sous Drupal"},"content":{"rendered":"<h2>Installation d&rsquo;Apache Luc\u00e8ne pour la recherche sous Drupal<\/h2>\n<p><span>Tue, 06\/23\/2009 &#8211; 20:01<\/span><\/p>\n<h1><strong>Qu&rsquo;est ce que Luc\u00e8ne? <\/strong><\/h1>\n<p>Lucene est un moteur de recherche libre \u00e9crit en Java qui permet d&rsquo;indexer et de rechercher du texte. C&rsquo;est un projet open source de la fondation Apache mis \u00e0 disposition sous licence Apache. Il est \u00e9galement disponible pour les langages Ruby, Perl, C++, PHP. Pour plus d&rsquo;information : <a href=\"http:\/\/fr.wikipedia.org\/wiki\/Lucene\" target=\"_blank\">http:\/\/fr.wikipedia.org\/wiki\/Lucene<\/a><\/p>\n<h1>Ou trouver Luc\u00e8ne ?<\/h1>\n<p>Le module peut-\u00eatre t\u00e9l\u00e9charg\u00e9 directement sur ce site, dans les fichiers attach\u00e9s en bas de page, ou sur la page suivante : <a href=\"http:\/\/drupal.org\/project\/luceneapi\" target=\"_blank\">http:\/\/drupal.org\/project\/luceneapi<\/a> (version actuelle : 6.x-1.1)<\/p>\n<p>En plus du module, l&rsquo;API est requise (toujours t\u00e9l\u00e9chargeable en bas de page) ou sur le site de <a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=250077&amp;package_id=305575\" target=\"_blank\">Sourceforge<\/a> (version actuelle : 6.x-1.0)<\/p>\n<h1>Comment l&rsquo;installer?<\/h1>\n<p>Copier le dossier LuceneApi dans le r\u00e9pertoire <em>sites\/all\/modules <\/em>. Copier le dossier <em>lib<\/em> (contenu dans LuceneApi-Lib) directement dans le r\u00e9pertoire LuceneApi (<em>sites\/all\/modules\/luceneapi<\/em>).<\/p>\n<p>Ensuite, il suffit simplement d&rsquo;activer les modules, et de les configurer comme d\u00e9sir\u00e9.<\/p>\n<h1>Les options de recherche<\/h1>\n<h2>Ranked search results<\/h2>\n<p>Lucene has a more sophisticated scoring algorithm that returns the most relevant content first.<\/p>\n<h2>Wildcard searching<\/h2>\n<p>ap* matches apple, application, te?t matches test, tent.<\/p>\n<h2>Boolean operators<\/h2>\n<p>AND, OR, AND NOT are supported. + and &#8211; are supported as well.<\/p>\n<p>The queries Drupal AND NOT Joomla and Drupal -Joomal are equivalent.<\/p>\n<h2>Term grouping<\/h2>\n<p>php AND (Drupal OR Zend) matches PHP articles about Drupal or Zend.<\/p>\n<h2>Fuzzy searching<\/h2>\n<p>test~ matches test, tent based on their Levenshtein distance.<\/p>\n<h2>Proximity searching<\/h2>\n<p>&laquo;&nbsp;Chris Pliakas&nbsp;&raquo;~2 matches Chris Middle Name Pliakas because Chris and Pliakas are within 2 words of each other.<\/p>\n<h2>Term boosting<\/h2>\n<p>php drupal^4 matches PHP and Drupal, but more importance will be placed on Drupal.<\/p>\n<p>The higher the boost factor number, the more relevant the term becomes.<\/p>\n<h2>Fielded searching<\/h2>\n<p>drupal +title:theming -name:chris matches Drupal articles with the word theming in the title not authored by Chris.<\/p>\n<h2>Word stemming (2.x only)<\/h2>\n<p>test matches test, testing, tests, tested.<\/p>\n<table id=\"attachments\" border=\"0\">\n<thead>\n<tr>\n<th>Attachment<\/th>\n<th>Size<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"http:\/\/helpdrupal.tubaldo.com\/sites\/default\/files\/luceneapi-lib-6.x-1.0.zip\">luceneapi-lib-6.x-1.0.zip<\/a><\/td>\n<td>169.28 KB<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/helpdrupal.tubaldo.com\/sites\/default\/files\/luceneapi-6.x-1.1.zip\">luceneapi-6.x-1.1.zip<\/a><\/td>\n<td>47.87 KB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Installation d&rsquo;Apache Luc\u00e8ne pour la recherche sous Drupal Tue, 06\/23\/2009 &#8211; 20:01 Qu&rsquo;est ce que Luc\u00e8ne? Lucene est un moteur de recherche libre \u00e9crit en Java qui permet d&rsquo;indexer et de rechercher du texte. C&rsquo;est un projet open source de la fondation Apache mis \u00e0 disposition sous licence Apache. Il est \u00e9galement disponible pour les &hellip; <a href=\"http:\/\/les-fougs.com\/wordpress\/2013\/03\/10\/lucene-pour-la-recherche-sous-drupal\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;Luc\u00e8ne pour la recherche sous Drupal&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[],"_links":{"self":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/64"}],"collection":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/comments?post=64"}],"version-history":[{"count":0,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/media?parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/categories?post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/les-fougs.com\/wordpress\/wp-json\/wp\/v2\/tags?post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}