made instructions clearer and more correct

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew C. Oliver 2002-02-09 12:39:16 +00:00
parent 5b47a1185f
commit 4932518f4c
1 changed files with 11 additions and 1 deletions

View File

@ -14,6 +14,8 @@
<meta name="author" value="Andrew C. Oliver"> <meta name="author" value="Andrew C. Oliver">
<meta name="email" value="acoliver@apache.org"> <meta name="email" value="acoliver@apache.org">
<title>Jakarta Lucene - Jakarta Lucene - Building and Installing the Basic Demo</title> <title>Jakarta Lucene - Jakarta Lucene - Building and Installing the Basic Demo</title>
</head> </head>
@ -144,7 +146,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, Since you've already set your classpath in the previous examples,
all you need to do is type all you need to do is type
<b> "java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .."</b>. <b> "java org.apache.lucene.demo.IndexHTML -create -index {index-dir} .."</b>.
You'll need to do this from your {tomcat}/webapps/luceneweb 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 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 outside of a web accessible context. By default the webapp is configured
to look in <b>/opt/lucene/index</b> for this index. to look in <b>/opt/lucene/index</b> for this index.
@ -262,3 +266,9 @@ If you want to know more about how this web app works or how to customize it the