[
https://issues.apache.org/jira/browse/JENA-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826424#comment-16826424
]
ASF subversion and git services commented on JENA-1706:
-------------------------------------------------------
Commit aef21bf6f9832cf2402b11f795401892057dbd8a in jena's branch
refs/heads/java11_javadocs from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=aef21bf ]
Merge pull request #560 from afs/text-parser
JENA-1706: Handle "QueryParser"; suppress logging WARN
> 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)