Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
frontend:fulltext [2012/05/15 11:34]
giancarlo
frontend:fulltext [2013/10/14 18:43]
giancarlo
Line 4: Line 4:
 \\ \\
 Applicable only to **one** search block. Applicable only to **one** search block.
 +\\
 +\\
 +**IMPORTANT NOTE**
 +\\
 +\\
 +There is a bug in the solr-tomcat package which emits a required library (lucene-memory.jar) from Solr include path.\\
 +The bug only becomes apparent when you search for an exact match.\\
 +All that needs to be done is this:
 +<WRAP prewrap center>
 +<code>
 +cd /usr/share/solr/WEB-INF/lib
 +ln -s ../../../java/lucene-memory.jar lucene-memory.jar
 +sudo service tomcat6 restart
 +</code>
 +</WRAP>
 +\\
 +\\
  
   * Edit **''/sites/all/modules/islandora_solr_search/IslandoraSolrQueryProcessor.inc''**:   * Edit **''/sites/all/modules/islandora_solr_search/IslandoraSolrQueryProcessor.inc''**:
  
 +<WRAP prewrap center>
 <code php> <code php>
 <?php <?php
Line 81: Line 99:
         $this->solrStart = max(0, $startPage) * $this->solrLimit;         $this->solrStart = max(0, $startPage) * $this->solrLimit;
 </code> </code>
-<WRAP prewrap center tip 90%>+</WRAP> 
 +<wrap tip>Tip</wrap> 
 +<WRAP prewrap center caution>
 <code php> <code php>
         // The breadcrumb should go in the display class         // The breadcrumb should go in the display class
Line 171: Line 191:
         $this->solrParams['hl.simple.post'] = '</b>';         $this->solrParams['hl.simple.post'] = '</b>';
 </code> </code>
-<WRAP center tip 90%>+<wrap tip>Tip</wrap> 
 +<WRAP prewrap center caution>
 <code php> <code php>
         $bcksolrQuery = $this->solrQuery;         $bcksolrQuery = $this->solrQuery;
Line 226: Line 247:
    ...    ...
 </code> </code>
-<WRAP prewrap center tip 90%>+<wrap tip>Tip</wrap> 
 +<WRAP prewrap center caution>
 <code php> <code php>
     /**     /**
Line 369: Line 391:
     }        }   
 </code> </code>
-<WRAP center tip 90%>+<wrap tip>Tip</wrap> 
 +<WRAP prewrap center caution>
 <code php> <code php>
     // append AND or OR at the end of string     // append AND or OR at the end of string
 
 
frontend/fulltext.txt · Last modified: 2013/10/14 18:43 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki