: Guess then I must set indexed="true" ;) Is it true the BooleanField may not 
have docValues?

Yeah ... open jira to add this still: SOLR-7264

FWIW: you could also use an EnumField (which does support docvalues) with 
2 values ("true" and "false") ... that should be just as efficient as 
BooleanField even once we add docValues support.

: 
: -----Ursprüngliche Nachricht-----
: Von: Muhammad Zahid Iqbal [mailto:zahid.iq...@northbaysolutions.net] 
: Gesendet: Donnerstag, 3. Dezember 2015 08:01
: An: solr-user
: Betreff: Re: Is it possible to sort on a BooleanField?
: 
: Please share your schema.
: 
: On Thu, Dec 3, 2015 at 11:28 AM, Clemens Wyss DEV <clemens...@mysign.ch>
: wrote:
: 
: > Looks like not. I get to see
: > 'can not sort on a field which is neither indexed nor has doc values:
: > <field name>'
: >
: > - Clemens
: >
: 

-Hoss
http://www.lucidworks.com/

Reply via email to