[ 
https://issues.apache.org/jira/browse/LUCENE-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anshum Gupta updated LUCENE-5378:
---------------------------------

    Description: 
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.

  was:
Enable users to be able to use prefix query with custom field types with 
non-default encoding/decoding for queries more easily.

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.


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

Reply via email to