Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2127

SpatialFieldBridges implement MetadataProvidingFieldBridge but does not provide useful information about the added fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 5.5.2.Final
    • Fix versions: 5.6.0.Alpha3
    • Components: spatial
    • Labels:
      None

      Description

      In SpatialFieldBridge, there is a default implementation of configureFieldMetadata which does not provide information about the fields really added in the child classes of SpatialFieldBridge:

              @Override
      	public void configureFieldMetadata(String name, FieldMetadataBuilder builder) {
      		builder.field( name, FieldType.DOUBLE )
      			.sortable( true );
      	}
      

      It looks like an oversight.

      Each child classes should implement configureFieldMetadata and provide information about the fields they really add.

        Attachments

          Activity

            People

            • Assignee:
              gsmet Guillaume Smet
              Reporter:
              gsmet Guillaume Smet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: