Hi, I managed to retrive the groups using the *SortedSetDocValuesField* in
*GroupingSearch* by initialising the groupsearch with *SortedSetFieldSource*
The problem is when a document has multiple values in the field
"SortedSetDocValuesField" than not the grouping query does not return all
the
Hi:
This is a unit test, and I changed to NumericDocValuesField with a similar
error.
I tried testing the NumericDocValuesField, SortedNumericDocValuesField and
SortedSetDocValuesField, these three fields can not be specified in
groupingSearch. Does groupingSearch only support
Hi,
On Tue, May 14, 2019 at 8:28 PM 顿顿 wrote:
> When I use groupingSearch specified as SortedNumericDocValuesField,
> I got an "unexpected docvalues type NUMERIC for field 'id'
> (expected=SORTED)" Exception.
>
> My code is as follows:
> String indexPath = "tmp/grouping";
> Analyzer
When I use groupingSearch specified as SortedNumericDocValuesField,
I got an "unexpected docvalues type NUMERIC for field 'id'
(expected=SORTED)" Exception.
My code is as follows:
String indexPath = "tmp/grouping";
Analyzer standardAnalyzer = new StandardAnalyzer();
Directory