public static String serialize(Item item) {
        return new QueryTreeSerializer().serialize(item);
    }
@author Tony Vaagenes
Facade
Allows serializing/deserializing  a query to the programmatic format.
container-search/src/main/java/com/yahoo/search/query/textserialize/TextSerialize.java