public class NexusIndexerTest extends AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
Constructor and Description |
---|
NexusIndexerTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkResults(Field field,
String query,
org.apache.lucene.search.Query q,
IteratorSearchResponse res,
File expectedResults)
Will "print" the result set, and suck up a file and compare the two
|
void |
performQueryCreatorNGSearch(NexusIndexer indexer,
IndexingContext context) |
void |
testIdentity() |
void |
testQueryCreatorNG() |
void |
testQueryCreatorNGSearch() |
void |
testQueryCreatorNGSearchOnMergedContext() |
void |
testSearchFlat() |
void |
testSearchGrouped() |
void |
testSearchIterator() |
void |
testSearchIteratorWithFilter() |
void |
testSearchPackaging() |
void |
testSingleQuery() |
void |
testUnpack() |
void |
testUpdateArtifact() |
deleteDirectory, getDirectory, setUp, testDirectory
customizeContainerConfiguration
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown, teardownContainer
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public void performQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) throws Exception
Exception
public void testQueryCreatorNGSearchOnMergedContext() throws Exception
Exception
public void checkResults(Field field, String query, org.apache.lucene.search.Query q, IteratorSearchResponse res, File expectedResults) throws IOException
IOException
public void testSearchIteratorWithFilter() throws Exception
Exception
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.