Thread:Extension talk:Lucene-search/Searching from a Java program by including LuceneSearch.jar/reply

Try IndexId.get(dbname). And you should be able to search when the initial index warmup (to pre-fill the cache) is finished. There should be a thread started when you make new SearcherCache that does it. You might want to skip it or wait for it to finish (see method waitForInitialDeployment) --15:04, 31 March 2011 (UTC)