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 03:14:01 UTC

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

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


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


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-723?page=all ]

Yonik Seeley resolved LUCENE-723.
---------------------------------

    Resolution: Fixed

> 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


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-723?page=comments#action_12454065 ] 
            
Yonik Seeley commented on LUCENE-723:
-------------------------------------

Committed.

> 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


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-723?page=all ]

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

    Lucene Fields: [New, Patch Available]  (was: [New])

> 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


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Chuck Williams (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-723?page=comments#action_12451849 ] 
            
Chuck Williams commented on LUCENE-723:
---------------------------------------

+1

With this could also come negative-only queries, e.g.

-foo

as a shortcut for

*:* -foo


> 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
>
> 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