Using a precompiled index with a WAR archive

2009-11-12 Thread Nathan Howard
I'm trying to use a precompiled Lucene index from within a WAR archive, and was having difficulty, but found a possible solution: http://mail-archives.apache.org/mod_mbox/lucene-java-user/200305.mbox/%3c20030524152100.28075.qm...@web12707.mail.yahoo.com%3e The gotcha to the solution: it's written

Hits and TopDoc

2009-10-20 Thread Nathan Howard
This is sort of related to the above question, but I'm trying to update some (now depricated) Java/Lucene code that I've become aware of once we started using 2.4.1 (we were previously using 2.3.2): Hits results = MultiSearcher.search(Query)); int start = currentPage * resultsPerPage; int stop =