On 9/20/07, Walter Ferrara <[EMAIL PROTECTED]> wrote: > I have an index with several fields, but just one stored: ID (string, > unique). > I need to access that ID field for each of the tops "nodes" docs in my > results (this is done inside a handler I wrote), code looks like: > > Hits hits = searcher.search(query); > for(int i=0; i<nodes; i++) { > id[i]=hits.doc(i).get("ID"); > score[i]=hits.score(i); > }
What is the higher level use-case you are trying to address that makes it necessary to write a plugin? -Yonik