You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2017/05/05 13:55:04 UTC

[jira] [Commented] (LUCENE-7804) Add point field handling to QueryParserBase

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

Adrien Grand commented on LUCENE-7804:
--------------------------------------

I like your idea to make it easier to inject a schema into query parsers. I think your patch should target {{QueryBuilder}} directly (the super class of most query parsers) rather than just QueryParserBase? Also maybe it could go further and extract the current defaults to a {{STRING_FIELD_BUILDER}}, and then add an abstract method to {{QueryBuilder}} that would return {{STRING_FIELD_BUILDER}} by default and that sub-classes could override (I'm not a fan of the setter)?

> Add point field handling to QueryParserBase
> -------------------------------------------
>
>                 Key: LUCENE-7804
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7804
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/queryparser
>            Reporter: Alan Woodward
>         Attachments: LUCENE-7804.patch
>
>
> The classic query parser (and other parsers extending it) don't handle point fields yet.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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