I tried the following.  Creating 2 different indexes, search each
individually and print score details and compare to searching both
indexes with MulitSearcher and printing score details.  

The "docFreq" value printed don't seem right - is this just a problem
with using Explain together with the MultiSearcher?


Code is like:
MultiSearcher multi = new MultiSearcher(searchables);
Hits hits = multi.search(query);
for(int i=0; i<hits.length(); i++)
{
  Explanation expl = multi.explain(query, hits.id(i));
  System.out.println(expl.toString());
}


Output:
id = 14 score = 0.071
0.07073946 = (MATCH) fieldWeight(contents:climate in 2), product of:
  1.0 = tf(termFreq(contents:climate)=1)
  1.8109303 = idf(docFreq=1)
  0.0390625 = fieldNorm(field=contents, doc=2)

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

Reply via email to