Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5594

Enable using extended field types with prefix queries for non-default encoded strings

    XMLWordPrintableJSON

Details

    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.

      Attachments

        1. SOLR-5594-branch_4x.patch
          16 kB
          Anshum Gupta
        2. SOLR-5594.patch
          3 kB
          Anshum Gupta
        3. SOLR-5594.patch
          15 kB
          Anshum Gupta
        4. SOLR-5594.patch
          30 kB
          Anshum Gupta
        5. SOLR-5594.patch
          23 kB
          Anshum Gupta
        6. SOLR-5594.patch
          26 kB
          Anshum Gupta
        7. SOLR-5594.patch
          26 kB
          Anshum Gupta

        Activity

          People

            anshum Anshum Gupta
            anshum Anshum Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: