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
Sorry, if I'm missing something obvious here, but...
As a user of Tantivy as a library and using a FacetCollector, I'd like to write a function that takes in FacetCounts and process the results into something more fit for my application. Alas, the FacetCounts struct is not exported as public for users of Tantivy.
I can only process the facet counts inside the same function I obtain the results in. This approach works, but limits how I as a user can organize my code around FacetCounts.
Are there any downsides to this type being exported publicly? Maybe in the same tantivy::collector module?
The text was updated successfully, but these errors were encountered:
An alternative could be to use MultiCollector, which returns MultiFruit, from which you can extract results for each collector using a handle. Alas, MultiFruit is also not exported publicly, so there goes that plan.
Going with processing in-place for now, but I still think it would be nice, if I could write a separate function for each collector separately.
Sorry, if I'm missing something obvious here, but...
As a user of Tantivy as a library and using a
FacetCollector
, I'd like to write a function that takes inFacetCounts
and process the results into something more fit for my application. Alas, theFacetCounts
struct is not exported as public for users of Tantivy.I can only process the facet counts inside the same function I obtain the results in. This approach works, but limits how I as a user can organize my code around
FacetCounts
.Are there any downsides to this type being exported publicly? Maybe in the same
tantivy::collector
module?The text was updated successfully, but these errors were encountered: