public DocRef getIndexPipeline(final String name,
                                   final Path pipelineLocation,
                                   final Path xsltLocation,
                                   final DocRef indexDocRef) {
        final DocRef pipelineRef = getPipeline(name, pipelineLocation);
        final PipelineDoc pipelineDoc = pipelineStore.readDocument(pipelineRef);

        // Setup the xslt.
        final DocRef xslt = getXSLT(name, xsltLocation);
        final PipelineData pipelineData = pipelineDoc.getPipelineData();

        // Change some properties.
        if (xslt != null) {
            pipelineData.addProperty(PipelineDataUtil.createProperty("xsltFilter", "xslt", xslt));
        }
        if (indexDocRef != null) {
            pipelineData.addProperty(PipelineDataUtil.createProperty("indexingFilter", "index", indexDocRef));
        }

        pipelineStore.writeDocument(pipelineDoc);
        return pipelineRef;
    }
Adds event data to a stream store.

@param feedName                         The feed name to use.
@param translationTextConverterType     Type of text converter
@param translationTextConverterLocation The Text Converter location
@param translationXsltLocation          The XSLT location
@param dataLocation                     The event data location.
@param referenceFeeds                   The reference feeds used.
@return An event feed definition.
@throws IOException Thrown if files not found.
stroom-app/src/test/java/stroom/test/StoreCreationTool.java