lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss DEV <clemens...@mysign.ch>
Subject AW: Is it possible to sort on a BooleanField?
Date Thu, 03 Dec 2015 07:45:31 GMT
...
	<field name="a_boolean_field" type="boolean" indexed="false"
		stored="true" />
...
	<fieldType class="solr.BoolField" name="boolean"
		sortMissingLast="true" />
...

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

-----Urspr√ľngliche Nachricht-----
Von: Muhammad Zahid Iqbal [mailto:zahid.iqbal@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 <clemensdev@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
>
Mime
View raw message