> ...
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to