Skip to content

Apache Lucene open-source search software

made instructions a bit clearer and more correct

Andrew C. Oliver5b47a1185f4f
diff --git a/xdocs/demo3.xml b/xdocs/demo3.xml
index 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 is
outside of a web accessible context. By default the webapp is configured
to look in <b>/opt/lucene/index</b> for this index.