The open source
Search Engine demo
What does the sample do?This sample application performs as a web search engine. It takes a search query and performs the search starting from a specified URL.
The application will follow every link of each visited page, up to the specified link depth limit.
It will then return the list of URLs matching the search query, ordered by relevance.
The visiting of the pages is realized through the integration of JPPF with the Smart and Simple Web Crawler project.
The search and page indexing are implemented thanks to the Lucene project from the Apache Foundation.
How do I run it?Before running this sample application, you must have a JPPF server and at least one node running.
For information on how to set up a node and server, please refer to the JPPF documentation.
Once you have a server and node, from a command prompt, type: "ant run"
How do I use it?
The GUI is separated in two main parts, the search parameters at the top and the search results at the bottom.
The "Compute" button submits the web search for processing by JPPF.
The "Reset defaults" button restores the start url, search query and link depth to their original values
The web search relies on 3 parameters:
What integration features of JPPF are demonstrated?
How can I build the sample?To compile the source code, from a command prompt, type: "ant compile"
To generate the Javadoc, from a command prompt, type: "ant javadoc"
I have additional questions and comments, where can I go?
If you need more insight into the code of this demo, you can consult the source, or have a look at the API documentation.
In addition, There are 2 privileged places you can go to:
|Copyright © 2005-2018 JPPF.org||Tweet|