Details
-
Task
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
2.9.1, 3.0
-
None
-
New
Description
Found this issue when following the getting started tutorial with Lucene 3.0. It appears the QueryParser constructor was deprecated
The new code in results.jsp should be changed from:
new QueryParser("contents", analyzer)
to:
new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer)