"Is there a way to register extension sample repository in global search?"

czeyen
czeyen New Altair Community Member
edited November 5 in Community Q&A
Hello RM Community,

I am developing an extension with a sample repository. I already bundled the repository with the extension following this tutorial: https://docs.rapidminer.com/latest/developers/how-to/sample-repositories.html. However, it seems that the global search feature does not include it. Is there a way to register the extension sample repository in global search?

Regards,
Christian

Best Answer

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Answer ✓
    Hi,

    Unfortunately, the docs page is outdated and this is no longer the recommended way to add sample repositories. Please have a look at "com.rapidminer.repository.RepositoryManager#registerExtensionSamples()" which was added in 9.0. Since then, this is the new supported hook to register samples. See the JavaDoc of the method for details. Data registered that way will be indexed by the Global Search.

    Regards,
    Marco

Answers

  • IngoRM
    IngoRM New Altair Community Member
    Hmm, no idea.  But I am sure @Marco_Boeck will know...
    Cheers,
    Ingo
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Answer ✓
    Hi,

    Unfortunately, the docs page is outdated and this is no longer the recommended way to add sample repositories. Please have a look at "com.rapidminer.repository.RepositoryManager#registerExtensionSamples()" which was added in 9.0. Since then, this is the new supported hook to register samples. See the JavaDoc of the method for details. Data registered that way will be indexed by the Global Search.

    Regards,
    Marco
  • czeyen
    czeyen New Altair Community Member
    Hi,

    thanks for the answer. This worked perfectly and it is much simpler now.

    Regards,
    Christian