On Jan 9, 2007, at 6:25 AM, Dalton, Jeffery wrote:
e. <impact, num_docs, (doc1,...docN)>
f. <impact, num_docs, ([doc1, freq ,<positions>],...[docN, freq
,<positions>])

How do you build an efficient PhraseScorer to work with an impact- sorted posting list?

The way PhraseScorer currently works is: find a doc that contains all terms, then see if the terms occur consecutively in phrase order, then determine a score. The TermDocs objects feeding PhraseScorer return doc_nums in ascending order, so finding an intersection is easy. But if the document numbers are returned in what looks to the PhraseScorer like random order... ??

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to