| 114 | |
| 115 | === Index === |
| 116 | One index by language is created and specific language analyzer could be define (eg. FrenchAnalyzer, GermanAnalyzer provided by Lucene). |
| 117 | Lucene index is stored in WEB-INF/lucene directory : |
| 118 | {{{ |
| 119 | lucene |
| 120 | +-- nonspatial_eng |
| 121 | +-- nonspatial_fra |
| 122 | +-- nonspatial_deu |
| 123 | }}} |
| 124 | |
| 125 | Metadata indexing is done in default language using index-fields.xsl and multilingual content using language-index-fields.xsl which will extract all fragments to be stored in index. |
| 126 | |
| 127 | More details on indexing mechanism MultilingualIndexMechanism . |
| 128 | |
| 129 | === Search === |
| 130 | Search is done using a MultiSearcher (ie. in all index) and the index corresponding to GUI language is "boost" to be on top. |
| 131 | A duplicate filter filter search result in order to not to have duplicate in results as one record will appear in more than on index. |
| 132 | |
| 133 | |