You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2006/11/22 07:17:03 UTC

[jira] Updated: (LUCENE-723) QueryParser support for MatchAllDocs

     [ http://issues.apache.org/jira/browse/LUCENE-723?page=all ]

Yonik Seeley updated LUCENE-723:
--------------------------------

    Attachment: matchalldocs.patch

Here's the patch....  *:* means MatchAllDocsQuery

Since it required a grammar change I made it allow "*" as a fieldname (so one could do *:foo).
This allows one to come up with a specialized syntax for searching across multiple fields by simply subclassing QueryParser methods.

> QueryParser support for MatchAllDocs
> ------------------------------------
>
>                 Key: LUCENE-723
>                 URL: http://issues.apache.org/jira/browse/LUCENE-723
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: QueryParser
>    Affects Versions: 2.0.0
>            Reporter: Yonik Seeley
>         Assigned To: Yonik Seeley
>            Priority: Minor
>         Attachments: matchalldocs.patch
>
>
> It seems like there really should be QueryParser support for MatchAllDocsQuery.
> I propose *:* (brings back memories of DOS :-)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org