我将cursorMark返回为cursorMark = AoE%2FBTAwZDI4ZWNjLTFmMGItNGIxMS1hZDI2LTQzMTVjZjljZGVmOA%3D%3D
但是,在尝试获取下一组结果时,使用(Solrj)调用...
SolrQuery query = new SolrQuery();
query.set("cursorMark", cursorMark);
QueryResponse response = solr.query(query);
'%' in the value changes to %25 as below (see bold or between double stars):
cursorMark=AoE**%25**2FBTBkN2VjYjRlLTc5YmItNGZjYS05MDkzLTM4MWNiMTk5NTIyNQ**%25**3D**%25**3D
由于此更改,solr无法获得nextcursormark结果。如何防止编码或更改?
答案 0 :(得分:0)
使用Method.POST而不是默认GET解决了这个问题。