You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GroupingSearch might miss some groups, even if searching for docs using IndexSearcher.Search indicates that the group should be present.
For instance, using IndexSearcher.Search will reveal a document with field name and value CreateFileW, but using GroupingSearch, like below:
GroupingSearchgroupingSearch=new("name");
groupingSearch.SetAllGroups(true);// query here works with IndexSearcher.Searchvargroups= groupingSearch.Search(searcher, query,0,10);// groups variable doesn't contain all the possible groups.
contains no group with the name being CreateFileW.
In addition, the TotalGroupCount is inconsistent with that of the real dataset (in the repro below GroupingSearch returns 4 instead of the expected 10).
Expected Behavior
The group should exist in the search, and there should not be a mismatch between TotalGroupCount and the index.
Is there an existing issue for this?
Describe the bug
GroupingSearch might miss some groups, even if searching for docs using
IndexSearcher.Search
indicates that the group should be present.For instance, using
IndexSearcher.Search
will reveal a document with fieldname
and valueCreateFileW
, but usingGroupingSearch
, like below:contains no group with the
name
beingCreateFileW
.In addition, the
TotalGroupCount
is inconsistent with that of the real dataset (in the repro belowGroupingSearch
returns 4 instead of the expected 10).Expected Behavior
The group should exist in the search, and there should not be a mismatch between
TotalGroupCount
and the index.Steps To Reproduce
A repro repository is here: https://github.com/dongle-the-gadget/TestLucene
The real dataset has documents of the following
name
s:Exceptions (if any)
No response
Lucene.NET Version
4.8.0-beta00016
.NET Version
8.0
Operating System
Windows 11
Anything else?
No response
The text was updated successfully, but these errors were encountered: