Changeset 33370 for gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm
- Timestamp:
- 2019-07-29T11:59:24+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm
r33359 r33370 474 474 if (!defined $buildproc->{'indexfieldmap'}->{$field}) 475 475 { 476 my $shortname = ''; 477 if (defined $buildproc->{'fieldnamemap'}->{$field}) 478 { 479 $shortname = $buildproc->{'fieldnamemap'}->{$field}; 480 } 481 else 482 { 483 $shortname = $buildproc->create_shortname($field); 484 $buildproc->{'fieldnamemap'}->{$field} = $shortname; 485 $buildproc->{'fieldnamemap'}->{$shortname} = 1; 486 } 476 my $shortname = $buildproc->get_or_create_shortname($field); 487 477 $buildproc->{'indexfieldmap'}->{$field} = $shortname; 488 478 $buildproc->{'indexfieldmap'}->{$shortname} = 1;
Note:
See TracChangeset
for help on using the changeset viewer.