[
https://issues.apache.org/jira/browse/LUCENE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463659
]
Steven Parkes commented on LUCENE-542:
--------------------------------------
Actually, this has been changed as of the commit of LUCENE-489. It's disabled
by default, but you can call QueryParser.setAllowLeadingWildcard( true ).
This has been committed to the trunk but is not in any release at this point.
I've updated the wiki.
> QueryParser doesn't support keywords staring with *
> ---------------------------------------------------
>
> Key: LUCENE-542
> URL: https://issues.apache.org/jira/browse/LUCENE-542
> Project: Lucene - Java
> Issue Type: Bug
> Components: QueryParser
> Affects Versions: 1.9
> Environment: Windows Server 2003, Linux ES 3.0
> Reporter: Colin Yu
>
> It seems that the QueryParser can't handle the keyword starting with "*",
> such as *test. It throws out ParserException. But this syntax is a valid one,
> even "dir" or "ls" supports it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]