Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagable totalElement count is incorrect when group by [DATASOLR-291] #411

Open
spring-projects-issues opened this issue Apr 4, 2016 · 0 comments
Assignees
Labels
in: core type: bug

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Apr 4, 2016

Yogya H opened DATASOLR-291 and commented

When getting the totalElements using the following group by query.

Field field = new SimpleField("personId");
Query search = new SimpleQuery(cb);
search.addGroupByField(field);
Page<PatientIndex> results = solrOperations.queryForPage(search, PatientIndex.class);

The Number of Elements and the results are returning correctly. But the totalElements count is incorrect.

It returns the whole number of record count not the count after grouped by the records


Affects: 1.5.4 (Gosling SR4)

Reference URL: http://stackoverflow.com/questions/36336816/spring-data-solr-groupoptions-is-not-working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core type: bug
Projects
None yet
Development

No branches or pull requests

2 participants