use of org.apache.hyracks.storage.am.lsm.invertedindex.util.LSMInvertedIndexTestContext in project asterixdb by apache.
the class AbstractInvertedIndexSearchTest method hashedWordTokensInvIndexTest.
@Test
public void hashedWordTokensInvIndexTest() throws IOException {
LSMInvertedIndexTestContext testCtx = LSMInvertedIndexTestUtils.createHashedWordInvIndexTestContext(harness, invIndexType);
testWordInvIndexIndex(testCtx);
}
use of org.apache.hyracks.storage.am.lsm.invertedindex.util.LSMInvertedIndexTestContext in project asterixdb by apache.
the class AbstractInvertedIndexDeleteTest method wordTokensInvIndexTest.
@Test
public void wordTokensInvIndexTest() throws IOException {
LSMInvertedIndexTestContext testCtx = LSMInvertedIndexTestUtils.createWordInvIndexTestContext(harness, invIndexType);
TupleGenerator tupleGen = LSMInvertedIndexTestUtils.createStringDocumentTupleGen(harness.getRandom());
runTest(testCtx, tupleGen);
}
use of org.apache.hyracks.storage.am.lsm.invertedindex.util.LSMInvertedIndexTestContext in project asterixdb by apache.
the class AbstractInvertedIndexDeleteTest method ngramTokensInvIndexTest.
@Test
public void ngramTokensInvIndexTest() throws IOException {
LSMInvertedIndexTestContext testCtx = LSMInvertedIndexTestUtils.createNGramInvIndexTestContext(harness, invIndexType);
TupleGenerator tupleGen = LSMInvertedIndexTestUtils.createPersonNamesTupleGen(harness.getRandom());
runTest(testCtx, tupleGen);
}
use of org.apache.hyracks.storage.am.lsm.invertedindex.util.LSMInvertedIndexTestContext in project asterixdb by apache.
the class AbstractInvertedIndexLoadTest method wordTokensInvIndexTest.
@Test
public void wordTokensInvIndexTest() throws IOException {
LSMInvertedIndexTestContext testCtx = LSMInvertedIndexTestUtils.createWordInvIndexTestContext(harness, invIndexType);
TupleGenerator tupleGen = LSMInvertedIndexTestUtils.createStringDocumentTupleGen(harness.getRandom());
runTest(testCtx, tupleGen);
}
Aggregations