Michael McCandless created LUCENE-5832:
------------------------------------------
Summary: Explore a combined DocValues/PostingsFormat that shares a
single terms dict
Key: LUCENE-5832
URL: https://issues.apache.org/jira/browse/LUCENE-5832
Project: Lucene - Core
Issue Type: New Feature
Reporter: Michael McCandless
With LUCENE-5819, which adds ordinals support to block tree terms dict, it's in
theory possible to create a codec that uses a single shared terms dict for both
Sorted/SetDocValues and postings as long as the app "promises" that the given
field(s) will always be indexed as both S/SDV and inverted.
The codec should ideally throw an exc if that promise was broken, instead of
adding incorrect values to the index.
This would save RAM because at search time only one shared "terms index" is
loaded, vs two today. Of course the forward index for S/SDV (mapping doc ->
term ords) must still be separately stored from the inverted postings (mapping
term ord -> docs).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]