class MavenSearchDocumentProducer extends DefaultSearchDocumentProducer {

  @Override
  protected boolean isPrerelease(final FluentComponent component) {
    String baseVersion = (String) component.attributes().child(Maven2Format.NAME).get(P_BASE_VERSION);
    if (baseVersion == null) {
      return false;
    }
    return baseVersion.endsWith(SNAPSHOT_VERSION_SUFFIX);
  }

  @Inject public  MavenSearchDocumentProducer(final Set<SearchDocumentExtension> documentExtensions);

}