title: How to make nutch index only pages with certain text?
body: <p>I have 2 requirements.</p>
  
  <p>First one is that I want Nutch to index only pages that contain certain words in the html. For example I only want nutch to index pages that contain "wounderful" word in the html.
  Second one is that I want nutch to index certain URLs from the site. For example I want nutch to index URLs that are similar to "mywebsite.com/XXXX/ABC/XXXX" or "mywebsite.com/grow.php/ABC/XXXX", where "XXXX" can be any word of any length.</p>
  
  <p>This is the content of my seed.txt file</p>
  
  <pre><code>http://mysite.org/
  </code></pre>
  
  <p>this is the content of my regex-urlfilter.txt</p>
  
  <pre><code>+^http://mysite.org/work/.*?/text/
  </code></pre>
  
  <p>I have commented</p>
  
  <pre><code>#+.
  </code></pre>
  
  <p>By I am still getting below error</p>
  
  <pre><code>crawl started in: crawl
  rootUrlDir = bin/urls
  threads = 10
  depth = 3
  solrUrl=http://localhost:8983/solr/
  topN = 5
  Injector: starting at 2013-07-09 11:05:51
  Injector: crawlDb: crawl/crawldb
  Injector: urlDir: bin/urls
  Injector: Converting injected urls to crawl db entries.
  Injector: total number of urls rejected by filters: 1
  Injector: total number of urls injected after normalization and filtering: 0
  Injector: Merging injected urls into crawl db.
  Injector: finished at 2013-07-09 11:06:08, elapsed: 00:00:17
  Generator: starting at 2013-07-09 11:06:08
  Generator: Selecting best-scoring urls due for fetch.
  Generator: filtering: true
  Generator: normalizing: true
  Generator: topN: 5
  Generator: jobtracker is 'local', generating exactly one partition.
  Generator: 0 records selected for fetching, exiting ...
  Stopping at depth=0 - no more URLs to fetch.
  No URLs to fetch - check your seed list and URL filters.
  crawl finished: crawl
  </code></pre>