Product Selector

Fusion 5.12
    Fusion 5.12

    Install the Random Content Connector

    The Connectors SDK comes with a sample connector to help you.

    Random Content Connector

    The Random Content connector generates a configurable number of documents with random titles and body fields.

    Quick start

    1. Clone the repo:

      git clone https://github.com/lucidworks/connectors-sdk-resources.git
      cd connectors-sdk-resources/java-sdk/connectors/
      ./gradlew assemblePlugins
    2. This produces one zip file, named simple-connector.zip, located in the build/plugins directory. This artifact is now ready to be uploaded directly to Managed Fusion as a connector plugin.

    Connector properties

    Random content generator properties

    Property Name Property description

    Total

    The total number of documents to generate

    Minimum number of sentences

    The minimum number of sentences to generate per document, the random generator will use this value as lower bound to calculate a random number of sentences

    maximum number of sentences

    The maximum number of sentences to generate per document, the random generator will use this value as upper bound to calculate a random number of sentences

    How to use the connector

    • Create a configuration with the properties listed above.

    • After the first job is completed, the connector will index the same number of documents as defined in the Random content generator properties.Total property.