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

DocValues should support BoolField

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 6.2, 7.0
    • None
    • None

    Description

      DocValues supports numerics and strings, but it currently does not support booleans. Please add this support.

      Here is the error message you get if you try to use DocValues with a BoolField.

      ERROR - 2015-03-18 00:49:54.041; org.apache.solr.common.SolrException; null:org.apache.solr.common.SolrException: SolrCore 'test' is not available due to init failure: Could not load conf for core test: F
      ield type boolean{class=org.apache.solr.schema.BoolField,analyzer=org.apache.solr.schema.FieldType$DefaultAnalyzer,args={sortMissingLast=true, class=solr.BoolField}} does not support doc values. Schema fi
      le is /Users/kosborn/solr/server/solr/test/conf/schema.xml

      Attachments

        1. SOLR-7264.patch
          3 kB
          Kevin Osborn

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              osbornk0 Kevin Osborn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: