use of org.vitrivr.cineast.core.data.query.containers.TextQueryTermContainer in project cineast by vitrivr.
the class TextRetrievalCommand method run.
public void run() {
final ContinuousRetrievalLogic retrieval = new ContinuousRetrievalLogic(Config.sharedConfig().getDatabase());
System.out.println("Querying for text " + text);
TextQueryTermContainer qc = new TextQueryTermContainer(text);
List<Retriever> retrievers = new ArrayList<>();
retrievers.add(new SubtitleFulltextSearch());
retrievers.add(new OCRSearch());
retrievers.add(new AudioTranscriptionSearch());
retrievers.add(new DescriptionTextSearch());
retrievers.add(new TagsFtSearch());
CliUtils.retrieveAndLog(retrievers, retrieval, limit, printDetail, qc);
System.out.println("Done");
}
Aggregations