Re: set field with value 0 to the end

2010-07-21 Thread Grijesh.singh
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

2010-07-21 Thread Grijesh.singh
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

Re: set field with value 0 to the end

2010-07-20 Thread Grijesh.singh
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