blob: c7a44e8acebe6ac9aeadd45b0cfb35ac11d9df43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.querytransform;
import com.yahoo.prelude.query.Item;
import com.yahoo.search.Result;
public class TestUtils {
public static Item getQueryTreeRoot(Result result) {
return result.getQuery().getModel().getQueryTree().getRoot();
}
}
|