Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      This field type supports bit-wise matching with scoring over fields containing 32-bit integer values.

      Internally during indexing the field value is interpreted as a 32-bit integer and converted to a set of bitmask terms. During search the query term is also converted into a BooleanQuery of corresponding bitmask terms, added as Occur.SHOULD clauses. The scoring of such query over such field produces the desired effect, where bit patterns closest to the query get highest scores.

      NOTE: currently only single value per field, a future extension will support multiple values.

      The difference between this issue and SOLR-1913 is that SOLR-1913 offers filtering only (no scoring), while this implementation performs scoring, which allows finding the best matching inexact bit patterns. This has applications in e.g. near-duplicate detection.

      1. bitwise.patch
        11 kB
        Andrzej Bialecki

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrzej Bialecki
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development