Hello All,
I am trying to develop a custom request handler.
Here is the snippet :
// returnMe is nothing but a list of Document going to return
try {
// FLAG ???
DocList docList = searcher.getDocList(parsedQuery,
parsedFilterQueryList, Sort.RELEVANCE, 1, maxDocs , FLAG);
// Now get DocIterator
DocIterator it = docList.iterator();
// Now for each id get doc and put it in list<Document>
int i =0;
while (it.hasNext()) {
returnMe.add(searcher.doc(it.next()));
}
Ques 1 - > My question is , what does FLAG represent in getDocList method ?
Ques 2 - > How can I ensure that searcher.getDocList method give me
score also with each document.
--
Amit Aggarwal
8095552012