}
@Test
public void shouldFindNodesByFullTextSearchWithOffset() {
indexWorkspace(workspaceName1);
QueryResults results = search(workspaceName1, "toyota prius", 1, 0);
assertThat(results, is(notNullValue()));
assertRowCount(results, 1);
Location first = (Location)(results.getTuples().get(0)[0]);
assertThat(first.getPath(), is(path("/Cars/Hybrid/Toyota Prius")));
results = search(workspaceName1, "+Toyota", 1, 1);
assertThat(results, is(notNullValue()));
assertRowCount(results, 1);
first = (Location)(results.getTuples().get(0)[0]);
assertThat(first.getPath(), is(path("/Cars/Hybrid/Toyota Highlander")));
}