Re: Under the hood of SpanQueries

2013-04-11 Thread Karsten F.
of the BooleanQuery and then search with the SpanQuery only inside this collection (use DocIdSet as Filter). If this does not help use a profiler and ask again ;-) Best regards, Karsten ps. in context: http://lucene.472066.n3.nabble.com/Under-the-hood-of-SpanQueries-td4053638.html On 04/03/2013

Under the hood of SpanQueries

2013-04-03 Thread Igor Shalyminov
Hi all! I have a ~20GB index of documents that have words with several attributes associated with them, e.g.: WORD: word_1 word_2 ... word_n POS:pos1_1:pos1_2:pos1:3 pos2 ... pos_n_1:pos_n_2 LEMMA: lemma1_1:lemma1:2:lemma1_3 lemma2 lemma_n_1:lemma_n_2 Field tokens separated by ':' are