You can do this from RecentX Preferences:
After changing, click on the Reindex button just below that box.
Note that, RecentX has automatic tracking of recently accessed files. RecentX will still continue to list some of the recently accessed files outside the locations specified. However, complete indexing will be done only for the locations you specify.