lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Floyd Wu <floyd...@gmail.com>
Subject Re: DocValues uasge and senarios?
Date Wed, 20 Nov 2013 10:15:28 GMT
Hi Yago

Thanks for you reply. I once thought that DocValues feature is one for me
to store some extra values.

May I summarized that DocValues is a feature that "speed up" sorting and
faceting?

Floyd



2013/11/20 Yago Riveiro <yago.riveiro@gmail.com>

> Hi Floyd,
>
> DocValues are useful for sorting and faceting per example.
>
> You don't need to change nothing in your xml's, the only thing that you
> need to do is set the docValues=true in your field definition in the schema.
>
> If you don't want use the default implementation (all loaded in the heap),
> you need to add the tag <codecFactory class="solr.SchemaCodecFactory"/> in
> the solrconfig.xml and the docValuesFormat=true on the fieldType definition.
>
> --
> Yago Riveiro
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
> On Wednesday, November 20, 2013 at 9:38 AM, Floyd Wu wrote:
>
> > Hi there,
> >
> > I'm not fully understand what kind of usage example that DocValues can be
> > used?
> >
> > When I set field docValues=true, do i need to change anyhting in xml
> that I
> > sent to solr for indexing?
> >
> > Please point me.
> >
> > Thanks
> >
> > Floyd
> >
> > PS: I've googled and read lots of DocValues discussion but confused.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message