Am 17.12.2012 11:54, schrieb Carsten Schnober:

> Might this have to do with the docbase? I collect the document IDs from
> the BooleanQuery through a Collector, adding the actual ID to the
> current AtomicReaderContext.docbase. In the corresponding SpanQuery, I
> pass these document IDs as a DocIdBitSet as an argument to
> SpanQuery.getSpans().

Answering my own question that has made me think about the document base
issue: indeed, I should be collecting document IDs relative to their
respective AtomicReaderContext rather than adding the context's docbase
because the subsequent SpanQuery is performed within an
AtomicReaderContext as well.
Best,
Carsten


-- 
Institut für Deutsche Sprache | http://www.ids-mannheim.de
Projekt KorAP                 | http://korap.ids-mannheim.de
Tel. +49-(0)621-43740789      | schno...@ids-mannheim.de
Korpusanalyseplattform der nächsten Generation
Next Generation Corpus Analysis Platform

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to