This sounds like you didn't actually start fresh, but just reindexed your data.
This would mean that docValues would still exist in the index for this
field (just with no values), and that normal faceting would use those.
Forcing facet.method=enum forces the use of the index instead of
docvalues (or the fieldcache if the field is configured w/o


On Tue, Oct 18, 2016 at 9:43 PM, John Davis <> wrote:
> Hi,
> I have converted one of my fields from StrField to TextField and am not
> getting back any facets for that field. Here's the exact configuration of
> the TextField. I have tested it with 6.2.0 on a fresh instance and it
> repros consistently. From reading through past archives and documentation,
> it feels like this should just work. I would appreciate any input.
> <fieldType name="lowercase" class="solr.TextField" omitNorms="true"
> omitTermFreqAndPositions="true" indexed="true" stored="true"
> positionIncrementGap="100" sortMissingLast="true" multiValued="true">
>     <analyzer>
>       <tokenizer class="solr.KeywordTokenizerFactory"/>
>       <filter class="solr.LowerCaseFilterFactory"/>
>     </analyzer>
>   </fieldType>
> Search
> query: 
> /select/?facet.field=FACET_FIELD_NAME&facet=on&indent=on&q=QUERY_STRING&wt=json
> Interestingly facets are returned if I change facet.method to enum instead
> of default fc.
> John

Reply via email to