lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1819) MatchAllDocsQuery.toString(String field) does not honor the javadoc contract
Date Tue, 18 Aug 2009 14:53:14 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744530#action_12744530
] 

John Wang commented on LUCENE-1819:
-----------------------------------

Thanks Mark for taking care of this issue!
w.r.t. this class, funny coincidence :)

What are you thoughts about QueryParser being able to know about custom Query implementations?
E.g. if I were to write a MyQuery class and implemen the toString method a certain way, how
would QueryParser know about MyQuery? Is it possible to extend QueryParser?

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message