assertEquals("numhits is wrong", 3264, res.getInt("numhits"));
}
@Test
public void testSpanNotQuery() throws Exception
{
SenseiClientRequest request = SenseiClientRequest.builder().query(
Queries.spanNot( Queries.spanTerm("contents", "compact", 1.0), Queries.spanTerm("contents", "red", 1.0), 1.0)
).build();
System.out.println(JsonSerializer.serialize(request));
SenseiResult res = senseiServiceProxy.sendSearchRequest( request);