blob: 512c28b28b1d7cc7f4d7d5fe07df1aca63c2c5d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2016 Yahoo Inc. 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();
}
}
|