You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Modassar Ather <mo...@gmail.com> on 2021/07/15 07:55:14 UTC

Lucene grouping on non-doc value field.

Hi,

I need to implement grouping search using Lucene APIs on fields which are
non-doc value fields.

The index is created using Solr-6.5.1 and spread across 12 shards.
The group field's definition is as follows.
<fieldType name="string" class="solr.StrField" sortMissingLast="true"
stored="false" omitNorms="true"/>

I tried to use Lucene group related APIs but it is failing as the
fields are not indexed as docValues.

Kindly provide your inputs/pointers on how I can achieve it outside the
context of Solr using Lucene APIs.

Thanks,
Modassar