In solr, I want to know id “587” is in what position?

泄露秘密 提交于 2019-12-23 02:54:13

问题


Solr, I have document data, with uniqueKey field "id" in schema.xml

I just want to know what position id "587" is in document in all documents with sort,return i;

Can someone know what I mean?

Can someone help me?

2012-6-4 11:26 update

data example:search result [5,8,1,9,12,6,7,........] ids form solr document

How to know id=9 index/position in the result?

来源:https://stackoverflow.com/questions/10844118/in-solr-i-want-to-know-id-587-is-in-what-position

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!