[
https://issues.apache.org/jira/browse/JENA-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-1706.
---------------------------------
Resolution: Fixed
Assignee: Andy Seaborne
> Creating QueryParser causes WARN.
> ---------------------------------
>
> Key: JENA-1706
> URL: https://issues.apache.org/jira/browse/JENA-1706
> Project: Apache Jena
> Issue Type: Task
> Components: Text
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
> Fix For: Jena 3.12.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The jena-text test suite generates two kinds of warning:
> {noformat}
> 13:30:38 WARN TextIndexLucene :: Unknown query parser type
> 'QueryParser'. Defaulting to standard QueryParser
> {noformat}
> due to TextIndexLucene.parseQuery not dealing with {{"QueryParser"}} (it
> works because it drops in the code that create the default choice). There are
> many of these.
>
> {noformat}
> 13:35:07 WARN TextIndexLucene :: Deprecated query parser type
> 'AnalyzingQueryParser'. Defaulting to standard QueryParser
> {noformat}
> due to not setting the logging messages to trigger on ERROR.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)