[
https://issues.apache.org/jira/browse/LUCENE-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744565#action_12744565
]
Yonik Seeley commented on LUCENE-1819:
--------------------------------------
bq. it would just hopefully allow for a lot of non cut and paste reuse if you
just want to add syntax
But the new query parser still uses the JavaCC grammar... so the most difficult
part of adding new syntax (by far IMO) is unchanged.
> MatchAllDocsQuery.toString(String field) does not honor the javadoc contract
> ----------------------------------------------------------------------------
>
> Key: LUCENE-1819
> URL: https://issues.apache.org/jira/browse/LUCENE-1819
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 2.4.1
> Reporter: John Wang
> Assignee: Mark Miller
> Priority: Minor
> Fix For: 2.9
>
> Attachments: LUCENE-1819.patch
>
>
> Should be
> public String toString(String field){
> return "*:*";
> }
> QueryParser needs to be able to parse the String form of this query.
--
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: [email protected]
For additional commands, e-mail: [email protected]