@sonali_d I think this should be the includedPaths property that you need to add to the oak:QueryIndexDefinition node.
Use for Path restrictions is disabled by default and you can enable the same by modifying the following configuration from the system console :
org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.