: Well IndexSearcher doesn't have a constructor that accepts a string, : maybe you should pass in an indexreader instead?
speciically: the code you are trying to run was compiled against a version of lucene in which the IndexSearcher class had a constructor that accepted a single string argument -- but at runtime, the classpath you are using contains a compiled version of the IndexSearcher class where that constructor does not exist. the likely sitaution is that your code was compiled with an older version of lucene (once upone a time IndexSearcher had a constructor that took a String argument) and you are now running that code against a newer version of lucene. Alternatively: it's possible you have many versions of lucene in your classpath, and the JVM is getting confused. -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org