You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Grijesh.singh" <pi...@gmail.com> on 2010/07/20 11:13:29 UTC

Re: set field with value 0 to the end

If u can do ,then don't store as 0 ,then by sorting it will come at last (if
is used SortMissingLast=true).
Either u can create a different field for shorting and for empty price don't
set anything to field.
-- 
View this message in context: http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p980760.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: set field with value 0 to the end

Posted by "Grijesh.singh" <pi...@gmail.com>.
why using  default="0" its optional remove that from field definition
-- 
View this message in context: http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p986115.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: set field with value 0 to the end

Posted by "Grijesh.singh" <pi...@gmail.com>.
Integer field can be empty also, I think u have set required=true if that
remove required=true,
and u can live field without data at the time of indexing.
-- 
View this message in context: http://lucene.472066.n3.nabble.com/set-field-with-value-0-to-the-end-tp980580p983728.html
Sent from the Solr - User mailing list archive at Nabble.com.