Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Resolved: (LUCENE-2253) Lucene 3.0 - Deprecated QueryParser Constructor in Demo Code [new QueryParser( "contents", analyzer)]

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 7, 2010, 5:12 AM

Post #1 of 1 (274 views)
Permalink
[jira] Resolved: (LUCENE-2253) Lucene 3.0 - Deprecated QueryParser Constructor in Demo Code [new QueryParser( "contents", analyzer)]

[ https://issues.apache.org/jira/browse/LUCENE-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-2253.
---------------------------------

Resolution: Duplicate

duplicate of LUCENE-2132, fixed there in both trunk and 3.0 branch.

> Lucene 3.0 - Deprecated QueryParser Constructor in Demo Code [new QueryParser( "contents", analyzer)]
> -----------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2253
> URL: https://issues.apache.org/jira/browse/LUCENE-2253
> Project: Lucene - Java
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.9.1, 3.0
> Reporter: Lock Levels
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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)
> http://www.locklevels.com

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.