Skip to content

Commit

Permalink
Merge pull request #3930 from inception-project/bugfix/3929-Spaces-in…
Browse files Browse the repository at this point in the history
…-feature-names-not-treated-same-as-in-layer-names-when-indexing

#3929 - Spaces in feature names not treated same as in layer names when indexing
  • Loading branch information
reckart authored Apr 5, 2023
2 parents a89cf86 + 3d9c246 commit 516526a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ private int indexFeatures(AnnotationFS aAnnotation, String aLayer, String aPrefi
MultiValuedMap<String, String> fieldsAndValues = fis.get().indexFeatureValue(aLayer,
aAnnotation, aPrefix, feature);
for (Entry<String, String> e : fieldsAndValues.entries()) {
indexFeatureValue(e.getKey(), e.getValue(), mtasId++, aAnnotation.getBegin(),
aAnnotation.getEnd(), aRange, aFSAddress);
indexFeatureValue(getIndexedName(e.getKey()), e.getValue(), mtasId++,
aAnnotation.getBegin(), aAnnotation.getEnd(), aRange, aFSAddress);
}

if (LOG.isTraceEnabled()) {
Expand Down

0 comments on commit 516526a

Please sign in to comment.