...
Below is an example index that contains 7 documents with Phone and Credit Card fields.
Document ID | Phone | Credit Card |
---|---|---|
1 | phone1 | |
2 | phone2 | creditcard1 |
3 | phone1,phone3 | |
4 | phone3 | |
5 | creditcard2 | |
6 | phone4 | |
7 | creditcard1,creditcard2,creditcard3 |
The count operations will output the following counts with Multiple Fields selected:
Operations | Phone | Credit Card |
---|---|---|
Total Count | 6 | 5 |
Distinct Count | 4 | 3 |
Document Count | 5 | 3 |
With Single Field, phone for instance, we get the same numbers only for phone:
Operations | Phone |
---|---|
Total Count | 6 |
Distinct Count | 4 |
Document Count | 5 |