Hello, I am having a weird problem with solrcloud and sorting, I will open a bug ticket about this too, but wondering if anyone had similar problems like mine
Background: Basically, I have added a new feature to Solr after I got the source code. Similar to the we get "score" in the resultset, I am now able to get position (or ranking) information of each document in the list. i.e if there are 5 documents in the result set, each of them has its position information if you add "fl=*,position" to the query. Problem: Briefly, when a solr instance is standalone, there is no problem with sorting and posiiton information of each document, but when the same solr is on a cloud (as a master), the result set is some kinda shuffled and position information is incorrect. So it ls like this: Both standalone and the on cloud finds the same amount of documents in the index (say 15000), which is filled by using the same data source. So till this point everything seems normal But here are the results Standalone Solr: <doc> <id>a</id> <position>1</position> </doc> <doc> <id>b</id> <position>2</position> </doc> <doc> <id>c</id> <position>3</position> </doc> <doc> <id>d</id> <position>4</position> </doc> <doc> <id>e</id> <position>5</position> </doc> <doc> <id>f</id> <position>6</position> </doc> Same Solr on Cloud (as master) <doc> <id>z</id> <position>4</position> </doc> <doc> <id>x</id> <position>6</position> </doc> <doc> <id>y</id> <position>1</position> </doc> <doc> <id>v</id> <position>3</position> </doc> <doc> <id>r</id> <position>2</position> </doc> <doc> <id>o</id> <position>5</position> </doc> As clear above, the *same configs with the same query and sorting parameter*, are returning *different documents and totally shuffled position* information. Anyone has any ideas on this? ----- Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-Sorting-Problem-tp4023382.html Sent from the Solr - User mailing list archive at Nabble.com.