You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Marcio Napoli <na...@gmail.com> on 2016/06/15 13:25:08 UTC

Facet

Hey!

The Lucene facets module uses integer encoding using the method "
FacetsConfig.dedupAndEncode " . It would be convenient to use the IntPoint ?

Thanks!
Marcio Napoli

Re: Facet

Posted by Marcio Napoli <na...@gmail.com>.
Mike,

Sure, but we can override the method FacetsConfig#dupAndEncode by
IntPoint#encodeDimension, storing bytesref as a docvalue?

Thanks!
Marcio

Em sex, 17 de jun de 2016 às 19:42, Michael McCandless <
lucene@mikemccandless.com> escreveu:

> IntPoint would really work for facets because it's an inverted structure
> but facets need a forward structure.
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
> On Wed, Jun 15, 2016 at 9:25 AM, Marcio Napoli <na...@gmail.com>
> wrote:
>
> > Hey!
> >
> > The Lucene facets module uses integer encoding using the method "
> > FacetsConfig.dedupAndEncode " . It would be convenient to use the
> IntPoint
> > ?
> >
> > Thanks!
> > Marcio Napoli
> >
>

Re: Facet

Posted by Michael McCandless <lu...@mikemccandless.com>.
IntPoint would really work for facets because it's an inverted structure
but facets need a forward structure.

Mike McCandless

http://blog.mikemccandless.com

On Wed, Jun 15, 2016 at 9:25 AM, Marcio Napoli <na...@gmail.com>
wrote:

> Hey!
>
> The Lucene facets module uses integer encoding using the method "
> FacetsConfig.dedupAndEncode " . It would be convenient to use the IntPoint
> ?
>
> Thanks!
> Marcio Napoli
>