Changeset 24460 for main/trunk/greenstone2/perllib/lucenebuilder.pm
- Timestamp:
- 2011-08-24T15:52:02+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/lucenebuilder.pm
r24362 r24460 26 26 ########################################################################### 27 27 # /* 28 # * @version 1.0 ?28 # * @version 1.0 Automated incremental building 29 29 # * @version 2.0 Incremental building assistance added, including 30 30 # * remove_document_from_database which implements the granddad's … … 33 33 # * perl script is. John Rowe 34 34 # * 35 # * @authro Waikato Digital Library Research Group 35 36 # * @author John Rowe, DL Consulting Ltd. 36 37 # */ … … 117 118 } 118 119 } 119 120 120 } 121 121 … … 227 227 my $outhandle = $self->{'outhandle'}; 228 228 229 $self->pre_build_indexes($indexname); 230 229 231 my $indexes = []; 230 232 if (defined $indexname && $indexname =~ /\w/) { … … 233 235 $indexes = $self->{'collect_cfg'}->{'indexes'}; 234 236 } 235 # have we got para index? 237 238 # Have we got para index? 236 239 foreach my $level (keys %{$self->{'levels'}}) { 237 240 if ($level =~ /paragraph/) { 238 print $outhandle "Warning: Paragraph level indexing not supported by Lucene \n";241 print $outhandle "Warning: Paragraph level indexing not supported by Lucene/Solr\n"; 239 242 last; 240 243 } 241 244 } 242 # create the mapping between the index descriptions 245 246 # Create the mapping between the index descriptions 243 247 # and their directory names (includes subcolls and langs) 244 248 $self->{'index_mapping'} = $self->create_index_mapping ($indexes); … … 246 250 # build each of the indexes 247 251 foreach my $index (@$indexes) { 252 248 253 if ($self->want_built($index)) { 249 254 … … 271 276 } 272 277 273 #define the final field lists 274 $self->make_final_field_list(); 278 $self->post_build_indexes(); 275 279 } 276 280
Note:
See TracChangeset
for help on using the changeset viewer.