On Wed, 2002-02-27 at 16:18, John Howay wrote:
> Greetings. I've managed to create a few indexes and get the demo web app
> working...mostly. However, I get no results from queries. I know the IndexHTML
> routine is picking up lots of stuff....
> 

did you follow the instructions in the getting started guide?

> Several things are unclear:
> 1. when creating an index, after the -index switch, should you type in a
> relative or absolute path? If you simply enter -index index, I can see that the
> index is created in the directory from which the command was executed.

You'll need to do this in such a way that the index entries stored
happen to be the same as realtive to lucene...  the easiest thing to do
is to do this from a context under webapp and go against ..

For the index, put it anywhere you like...suggest it not be accessible
via tomcat.  Make sure you tell the webapp where to find it in the
configuration jsp.

> 2. similarly, in configuration.jsp, should indexLocation contain an absolute or
> relative path? I have used an absolute, as such
> indexLocation="/usr/local/.../index"
> 

absolute

> I then update luceneweb.war and restart Tomcat... to no avail. No results...
> thanks in advance.
> jdh
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
-- 
http://www.superlinksoftware.com
http://jakarta.apache.org - port of Excel/Word/OLE 2 Compound Document 
                            format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
                        - fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to