On Tue, Jan 24, 2017 at 10:21 PM, Michael McCandless
<luc...@mikemccandless.com> wrote:
> Hi Trejkaz,
>
> A normal codec would call visitor.compare on smaller and smaller cells
> (1D ranges for the 1D case) of the byte[] space and depending on that
> result would call one of the visit methods, or skip that cell if
> compare returned CELL_OUTSIDE_QUERY.
>
> I think for your case (to migrate all values) you could simply call
> visitor.visit(int docID, byte[] packedValue) for every value in the
> segment.

This does appear to be working. Although admittedly I don't have any
very good tests yet. :)

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to