[ https://issues.apache.org/jira/browse/SOLR-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556975#comment-14556975 ]
Hoss Man commented on SOLR-7264: -------------------------------- took a quick look at the patch... At first glance it seems mostly fine -- but tests are key. Take a look at DocValuesTest.java, DocValuesMissingTest.java, and DocValuesMultiTest.java (and the corresponding schema files) for examples of the bare bones basics we should be sanity checking are working properly with the new code. > DocValues should support BoolField > ---------------------------------- > > Key: SOLR-7264 > URL: https://issues.apache.org/jira/browse/SOLR-7264 > Project: Solr > Issue Type: Improvement > Affects Versions: 5.0 > Reporter: Kevin Osborn > Attachments: SOLR-7264.patch > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org