Hello,
Try to boost every sub clause accordingly I.e. id:(34^1000 45^100 76^10) if
you can not just sort by id.
04.06.2014 8:29 пользователь "sachinpkale" <sachinpk...@gmail.com> написал:

> I have a following field in SOLR schema.
>
> <fieldType name="integer" class="solr.IntField" omitNorms="true"/>
> <field name="id" type="integer" indexed="true" stored="true"
> required="false" multiValued="false"/>
>
> If I issue following query:
>
> id:(1234 OR 2345 OR 3456)
>
> SOLR does not return the documents in that order. It is giving document
> with
> id 3456, then with 1234 and then with 2345.
>
> How do I get it in the same order as in the query?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SOLR-getting-documents-in-the-given-order-tp4139722.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to