mirror of https://github.com/apache/lucene.git
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:
parent
5b47a1185f
commit
4932518f4c
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue