We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SearchResult.String() does not include NumericRange and DateRange Facets in the output. Resulting in facets with empty Terms. E.g.:
Facets: CreationDate (15): State (15): Done (15)
Correctly checking the f.NumericRanges and f.DateRanges when looping over the facets should fix it. (in here https://github.com/blevesearch/bleve/blob/master/search.go#L549)
f.NumericRanges
f.DateRanges
With that fixed, it correctly checks for and appends the respective ranges along with their counts, as expected:
Facets: CreationDate (15): ThisWeek (10) Older (5) State (15): Done (15)
The text was updated successfully, but these errors were encountered:
Emit numeric range and date range facets for SearchResult's String()
ced3958
Fixes: #1763
a1f2b3e
Successfully merging a pull request may close this issue.
SearchResult.String() does not include NumericRange and DateRange Facets in the output. Resulting in facets with empty Terms. E.g.:
Correctly checking the
f.NumericRanges
andf.DateRanges
when looping over the facets should fix it. (in here https://github.com/blevesearch/bleve/blob/master/search.go#L549)With that fixed, it correctly checks for and appends the respective ranges along with their counts, as expected:
The text was updated successfully, but these errors were encountered: