Only index particular post type?

How can I make this plugin only index new posts from a custom post type?