You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/10/11 23:53:20 UTC

[jira] [Commented] (LUCENE-7490) SimpleQueryParser should parse "*" as MatchAllDocsQuery

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

Michael McCandless commented on LUCENE-7490:
--------------------------------------------

I think this is reasonable?  And the patch looks great, thanks [~dakrone].

> SimpleQueryParser should parse "*" as MatchAllDocsQuery
> -------------------------------------------------------
>
>                 Key: LUCENE-7490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7490
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/queryparser
>    Affects Versions: 6.2.1
>            Reporter: Lee Hinman
>            Priority: Minor
>             Fix For: 6.x, master (7.0)
>
>         Attachments: 0001-Parse-as-MatchAllDocsQuery-in-SimpleQueryParser.patch
>
>
> It would be beneficial for SimpleQueryString to parse as a MatchAllDocsQuery, rather than a "field:*" query.
> Related discussion on the Elasticsearch project about this: https://github.com/elastic/elasticsearch/issues/10632



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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