lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Osborn (JIRA)" <>
Subject [jira] [Commented] (SOLR-7264) DocValues should support BoolField
Date Wed, 18 Mar 2015 17:57:38 GMT


Kevin Osborn commented on SOLR-7264:

So, are booleans just stored as in int in Lucene? I will try to take a stab at this. Looks
like I need to implement createField and createFields. I looked at the implementation in TrieField.
If I am understanding it correctly, I should just treat my boolean value as an int. Correct?

> DocValues should support BoolField
> ----------------------------------
>                 Key: SOLR-7264
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.0
>            Reporter: Kevin Osborn
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message