Move the searchForFacetValues struct into a dedicated module

This commit is contained in:
Clément Renault 2024-03-13 10:24:21 +01:00
parent 9f7a4fbfeb
commit 306b25ad3a
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
4 changed files with 308 additions and 301 deletions

View file

@ -57,10 +57,10 @@ pub use self::heed_codec::{
UncheckedU8StrStrCodec,
};
pub use self::index::Index;
pub use self::search::facet::{FacetValueHit, SearchForFacetValues};
pub use self::search::{
FacetDistribution, FacetValueHit, Filter, FormatOptions, MatchBounds, MatcherBuilder,
MatchingWords, OrderBy, Search, SearchForFacetValues, SearchResult, TermsMatchingStrategy,
DEFAULT_VALUES_PER_FACET,
FacetDistribution, Filter, FormatOptions, MatchBounds, MatcherBuilder, MatchingWords, OrderBy,
Search, SearchResult, TermsMatchingStrategy, DEFAULT_VALUES_PER_FACET,
};
pub type Result<T> = std::result::Result<T, error::Error>;