Export to GitHub

bobo-browse - issue #31

i fail to get the BrowseHit,but successed to get NumHits.


Posted on Apr 20, 2010 by Happy Ox

int totalHits = result.getNumHits(); BrowseHit bh[] = result.getHits(); System.out.println(totalHits); System.out.println(bh.length);

out put: 2 0

version: lucene:2.4.1 bobo:2.5.0

Comment #1

Posted on Apr 20, 2010 by Happy Ox

I got it. browserequest.setOffset(0); browserequest.setCount(2);

Status: New

Labels:
Type-Defect Priority-Medium