[
https://issues.apache.org/jira/browse/LUCENE-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066631#comment-13066631
]
Paul Elschot commented on LUCENE-3325:
--------------------------------------
Perhaps this also speeds up segment merging, as there is no more need to
uninvert the positions.
> Transpose positions in index
> ----------------------------
>
> Key: LUCENE-3325
> URL: https://issues.apache.org/jira/browse/LUCENE-3325
> Project: Lucene - Java
> Issue Type: Wish
> Components: core/index
> Reporter: Paul Elschot
> Priority: Minor
>
> When positions are used in queries with many terms, each term in each
> document causes a seek in the positions, and in large indexes these seeks can
> be far apart even when the terms are in the same document.
> The number of (disk) cache misses of such position seeks might be reduced by
> putting the positions for all terms in the same document directly behind each
> other. This should have a noticable effect when terms are alphabetically
> close, for example for truncations, and it should also help when the
> documents have few enough positions to fill a cache entry (disk page, cache
> line).
> This might also help the performance of highlighting based on indexed
> positions.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]