lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomoko Uchida <tomoko.uchida.1...@gmail.com>
Subject Re: DOcValues
Date Fri, 03 Apr 2015 12:53:20 GMT
Hi,

According to line 430 in SImpleFacet.java (Solr 5.0.0), facet method is
forced to "fc" when we set docValues=true.
https://github.com/apache/lucene-solr/blob/lucene_solr_5_0_0/solr/core/src/java/org/apache/solr/request/SimpleFacets.java#L430

So we need not set facet.method to use doc values. Even if we specify
facet.method=enum, it might be ignored.
If my understanding is wrong, please correct that.

Regards,
Tomoko


2015-04-03 12:01 GMT+09:00 William Bell <billnbell@gmail.com>:

> If I set indexed=true and docvalues=true, when I
> facet=true&facet.field=manu_exact
> will it use docValues or the Indexed version?
>
> Also, does it help with "*Too many values for UnInvertedField faceting" ?*
>
>
> *Do I need to set facet.method when using docvalues?*
>
> <field name="manu_exact" type="string" indexed="true" stored="true"
> docValues="true" />
>
> --
> Bill Bell
> billnbell@gmail.com
> cell 720-256-8076
>

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