Getting Started with Jetty

  1. Create a folder named searchblox under /webapps in the jetty directory.
  2. Extract searchblox.war, using for example the Java jar tool or a regular unzip command. On Windows, applications like WinZip work as well. Extract the files into the newly created /searchblox directory.
  3. Edit the etc/demo.xml file to add following context:
    <Call name="addWebApplication">
    <Arg>/searchblox/*</Arg>
    <Arg><SystemProperty name="jetty.home" default="."/>/webapps/searchblox</Arg>
    </Call>
  4. Start Jetty.
  5. Go to http://yourhost/searchblox/admin/main.jsp in your browser and Login using username : admin / password : admin
  6. Go to Collections Tab and Click on Add Collection to create a new collection.
  7. Choose whether it is a HTTP or FileSystem based collection, assign a unique name and choose the language for this collection. And Click Add to finish creating the collection.
  8. Click on Root Sub-Tab and Type in RootURL / Filepath and click OK.
  9. Go to Indexer Sub-Tab and click Index button to start indexing.
  10. Click on the DashBoard Sub-Tab under Collections to view indexing status.
  11. Go to http://yourhost/searchblox/search.jsp to start searching.