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

Refactor PointField & TrieField to share common code

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      We should eliminate PointTypes and TrieTypes enum to have a common enum for both. That would enable us to share a lot of code between the two field types.

      In the process, fix the bug:
      PointFields with indexed=false, docValues=true seem to be using (Int|Double|Float|Long)Point.newRangeQuery() for performing exact matches and range queries. However, they should instead be using DocValues based range query.

        Attachments

        1. SOLR-10011.patch
          14 kB
          Ishan Chattopadhyaya
        2. SOLR-10011.patch
          15 kB
          Ishan Chattopadhyaya
        3. SOLR-10011.patch
          36 kB
          Ishan Chattopadhyaya
        4. SOLR-10011.patch
          36 kB
          Ishan Chattopadhyaya
        5. SOLR-10011.patch
          42 kB
          Tomás Fernández Löbbe

          Issue Links

            Activity

              People

              • Assignee:
                ichattopadhyaya Ishan Chattopadhyaya
                Reporter:
                ichattopadhyaya Ishan Chattopadhyaya
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: