[Xapian-devel] Backend for Lucene format indexes-How to get doclength
jiangwen127 at gmail.com
Mon Jun 17 14:28:23 BST 2013
*Or do you mean that it's one number per document whereas the other stats
are per database, so it's harder to store it?*
yes, I mean this. It's a huge data. If a new doclength list(contains all
the doclength in a list, like chert)
is added by myself, I am concern about:
1. This doclength list may be the bottlenect in this backend,
2. Change too much above Lucene file format, then it's hard to compare
performance between Xapian and Lucene
1. Using rank algorithm without doclength, such as BM25Weight or TradWeight
without doclength, or tfidfWeight.
If ranking results will be not good without doclength?
2. Stores doclength in .prx payload when doing Lucene indexing.
But this method has obvious drawback, it's not for general Lucene index
data, if doclength is not stored, this method
> Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xapian-devel