Embedded Solr Index



I am attempting to create an index for embedded solr that only indexes specific content. But currently I cannot restrict the indexed content thus everything under root is indexed. Is there someway to exclude paths as I would do using a lucene index. I have tried placing the solrIndex under a non root location and that did not work. I have tried excluding paths as you would do with a lucene index and that did not work. Any help would be much appreciated. Thanks.