|
From: Ning L. <nin...@gm...> - 2008-04-02 16:26:51
|
On Fri, Mar 28, 2008 at 5:42 PM, Doug Cutting <cu...@ap...> wrote: > I think we should add a Range element to Query that narrows it. But we > first need to define what it means in terms of other public API > elements. I think we define it in terms of the document's "position" > field, which is the hashCode of its id by default, but can be explicitly > specified. Does that sound right? I realize, we'll have to add getDoc(String id, int position) in addition to adding search(Range range, Query q, int maxHits) to Database? Ning |