lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Searching index problems with tomcat
Date Tue, 19 May 2009 15:53:03 GMT
> ...
> There are no exceptions.When I run the query a new shell is displayed but
>  with no result.

New shell?

> _*Are you sure the index is the same - what do IndexReader.maxDoc(),
> numDocs() and getVersion() say, standalone
> and in tomcat?
>
> *_What do you mean with this question??

IndexReader ir = ...
System.out.printf("maxDoc=%s, ...", ir.maxDoc(), ...);

and run in tomcat and standalone.  To absolutely confirm you're
looking at the same index, and it has documents, etc.


--
Ian.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message