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

Support for Query in Grouping results #562

Open
kanikasharma7 opened this issue Jul 1, 2021 · 0 comments
Open

Support for Query in Grouping results #562

kanikasharma7 opened this issue Jul 1, 2021 · 0 comments

Comments

@kanikasharma7
Copy link

I am currently using solrnet version 0.4.0.2002 and I urgently need query support in grouping results. I tried to fire group query, it is working with Fields property but not with Query. It is returning 0 results. This is the code I am using :
List<ISolrQuery> groupQuery = new List<ISolrQuery>(); foreach (var title in listOfTitles) { groupQuery.Add(Query.Field("title").Is(title)); } GroupingParameters groupingParams = new GroupingParameters() { Limit = count, OrderBy = order, Query= groupQuery };

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

No branches or pull requests

1 participant