[
https://issues.apache.org/jira/browse/LUCENE-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857132#comment-13857132
]
Yonik Seeley commented on LUCENE-5378:
--------------------------------------
readableToIndexed may not work well with some types... perhaps we should have a
FieldType.getPrefixQuery(SchemaField sfield, String prefix, QParser qparser)
> Enable using extended field types with prefix queries for non-default encoded
> strings
> -------------------------------------------------------------------------------------
>
> Key: LUCENE-5378
> URL: https://issues.apache.org/jira/browse/LUCENE-5378
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/queryparser
> Affects Versions: 4.6
> Reporter: Anshum Gupta
> Priority: Minor
>
> Enable users to be able to use prefix query with custom field types with
> non-default encoding/decoding for queries more easily. e.g. having a custom
> field work with base64 encoded query strings.
> Currently, the workaround for it is to have the override at getRewriteMethod
> level. Perhaps having the prefixQuery also use the calling FieldType's
> readableToIndexed method would work better.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]