BroadLeaf DemoSite comes with a embedded Solr, which is basically to have the ease of demonstration. But Ideally you should be using a separate Solr Instance with your web application for obvious performance benefits.

The link below in the Broadleaf commerce shows the exact steps that needs to be followed to spin up a local solr instance