You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael McCandless (Jira)" <ji...@apache.org> on 2020/02/04 15:50:00 UTC

[jira] [Created] (LUCENE-9205) Add a mock/test codec that redirects all doc values formats to BINARY

Michael McCandless created LUCENE-9205:
------------------------------------------

             Summary: Add a mock/test codec that redirects all doc values formats to BINARY
                 Key: LUCENE-9205
                 URL: https://issues.apache.org/jira/browse/LUCENE-9205
             Project: Lucene - Core
          Issue Type: Task
            Reporter: Michael McCandless


We have some exciting proposed changes that will use `BINARY` doc values, e.g. [using block compression in the default codec|https://github.com/apache/lucene-solr/pull/1234#pullrequestreview-353073188], supporting approximate nearest-neighbor search using [HNSW|https://issues.apache.org/jira/browse/LUCENE-9004] or [IVFFLAT|https://issues.apache.org/jira/browse/LUCENE-9136], but I think our testing of `BINARY` doc values could be improved.

A possibly simple way to do that would be to make a mock/test codec that wraps the default codec but implements all doc values formats (`NUMERIC`, `SORTED`, etc.) on top of the wrapped codec's `BINARY` format.  This way the wrapped codec only ever sees `BINARY`, and then all Lucene tests that test the other doc values codecs, would be testing `BINARY`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org