My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
GettingStarted  

Featured, Phase-Deploy
Updated Feb 4, 2010 by john.w...@gmail.com

Getting Started

Prerequisites

  • Java 1.5+
  • Ant

Bundled

  • jetty 6.1.14
  • log4j 1.2.15
  • lucene 2.4.0
  • lucene Highlighter 2.3
  • mx4j
  • spring
  • fastutil 5.1.5
  • json
  • servlet-api

Directory Structure

  • java - library source code
  • lib - bundled libraries
  • jetty - jetty and servlet libraries
  • conf - configuration
  • test - unit tests and test resources
  • server
  • server/src - server source code
  • example/java - example source code
  • example/settings - example configuration
  • example/resource - example web.xml and dwr.xml
  • example/conf - example spring configuration
  • example/webapp - example web ui

Build

Just do ant

zoie-${version}.jar will be created in the dist directory

Configure the Example

Edit example/settings/index.properties to specify source directory location, by default, the java directory is specified.

Build Example War

do ant example-war zoie-example.war will be created in the dist directory

Run

Do ant run-server

zoie-example.war will be deployed.

Server is running on: http://localhost:8888/zoie-example

Logs are in logs directory Target index is example-index directory

Indexing

Data stream is NOT started by default, to start the data stream for indexing via JMX:

Bean: zoie-example:name=data-provider

method: start()

do: jconsole

You should be able to search immediately:

Now customize example/settings/index.properties to set the source directory to your own and search it in real time! (restart/redeploy required)

Comment by phn...@gmail.com, Apr 9, 2010

fsafs


Sign in to add a comment
Powered by Google Project Hosting