Factor out most of the code for indexing a doc. The cosine index may
take longer to construct now; both indexers' _get_frequencies routines were fiddled to return the same kind of stuff again, and I had previously fiddled the cosine indexer's _get_frequencies to do something weirder but (probably) faster than this.
Showing
Please register or sign in to comment