Hi everyone , I'm stuck in sorting with solr . I have documents of some institutions differentiated by an id named instanta . I indexed all those documents and among other things I put in the index the date the document was created and the id of the institution .When I want sort the documents wich contain a certain word by date or by instituion all I get is an order that I don't understand .
<field name="datecreated" type="date" indexed="true" stored="false" /> <field name="instanta" type="int" indexed="true" stored="false" required="true" /> QueryOptions options = new QueryOptions { Rows = resultsPerPage, Start = (pageNumber - 1) * resultsPerPage, OrderBy = new[] { new SortOrder("instanta", Order.DESC) } }; Thank you in advance jud. Adrian Neacsu Presedinte Tribunalul Vrancea http://www.adrianneacsu.jurindex.ro www.jurisprudenta.org www.societateapentrujustitie.ro (+40) 0721949875 ; (+40) 0749182508 fax 0337814221