lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367560#comment-14367560
] 

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: https://issues.apache.org/jira/browse/SOLR-7264
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message