Apache Solr open-source search software
made instructions a bit clearer and more correct
Andrew C. Oliver5b47a1185f4f
diff --git a/xdocs/demo3.xml b/xdocs/demo3.xmlindex c31f4c1f232..c66ed0b41ec 100644--- a/xdocs/demo3.xml+++ b/xdocs/demo3.xml@@ -36,7 +36,9 @@ Let's start by creating the index you'll need for the web examples.Since you've already set your classpath in the previous examples,all you need to do is type<b> "java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .."</b>.-You'll need to do this from your {tomcat}/webapps directory. {index-dir}+You'll need to do this from a (any) subdirectory of your {tomcat}/webapps directory (make sure you didn't leave off the ".." or you'll get a null pointer+exception).+{index-dir}should be a directory that Tomcat has permission to read and write, but isoutside of a web accessible context. By default the webapp is configuredto look in <b>/opt/lucene/index</b> for this index.