Home » Support » Getting Started » Jetty
Getting Started with Jetty
- Create a folder named searchblox under /webapps in the jetty directory.
- 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.
- 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>
- Start Jetty.
- Go to http://yourhost/searchblox/admin/main.jsp in your browser and Login using username : admin / password : admin
- Go to Collections Tab and Click on Add Collection to create a new collection.
- 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.
- Click on Root Sub-Tab and Type in RootURL / Filepath and click OK.
- Go to Indexer Sub-Tab and click Index button to start indexing.
- Click on the DashBoard Sub-Tab under Collections to view indexing status.
- Go to http://yourhost/searchblox/search.jsp to start searching.