Skip to content

Commit af0c84e

Browse files
author
Jordan Maples
committed
undo name rename
1 parent 88e4c52 commit af0c84e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

diskann-benchmark/src/inputs/graph_index.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl BetaSearchPhase {
218218
}
219219

220220
#[derive(Debug, Serialize, Deserialize)]
221-
pub(crate) struct MultiHopSearchPhase {
221+
pub(crate) struct MultihopFilterSearchPhase {
222222
pub(crate) queries: InputFile,
223223
pub(crate) query_predicates: InputFile,
224224
pub(crate) groundtruth: InputFile,
@@ -229,7 +229,7 @@ pub(crate) struct MultiHopSearchPhase {
229229
pub(crate) runs: Vec<GraphSearch>,
230230
}
231231

232-
impl MultiHopSearchPhase {
232+
impl MultihopFilterSearchPhase {
233233
pub(crate) fn validate(&mut self, checker: &mut Checker) -> Result<(), anyhow::Error> {
234234
self.queries.resolve(checker)?;
235235
self.query_predicates.resolve(checker)?;
@@ -360,7 +360,7 @@ pub(crate) enum SearchPhase {
360360
Topk(TopkSearchPhase),
361361
Range(RangeSearchPhase),
362362
TopkBetaFilter(BetaSearchPhase),
363-
TopkMultihopFilter(MultiHopSearchPhase),
363+
TopkMultihopFilter(MultihopFilterSearchPhase),
364364
TopkInlineFilter(InlineSearchPhase),
365365
}
366366

@@ -424,7 +424,7 @@ impl SearchPhase {
424424

425425
pub(crate) fn as_topk_multihop_filter(
426426
&self,
427-
) -> Result<&MultiHopSearchPhase, WrongSearchPhaseKind> {
427+
) -> Result<&MultihopFilterSearchPhase, WrongSearchPhaseKind> {
428428
match self {
429429
Self::TopkMultihopFilter(phase) => Ok(phase),
430430
_ => Err(WrongSearchPhaseKind::new(

0 commit comments

Comments
 (0)