Apache Nutch will only help you crawl the data, but you need to index what it finds on the search server. This is where Apache Solr comes in. You can then write a Java application to interact with Solr using SolrJ .
Watch this thread on which versions of Nutch and Solr work best.
source share