Re: Re: Re: BlockGroupingCollector, not always getting first document

2012-03-09 Thread Grzegorz Tańczyk
Hello, I found the problem and it was my misunderstanding. I didn't get first documents in every group, because some of head documents didn't match given query. I made a wrong assumption that I can sort between all documents within group. -- Regards, Grzegorz

Re: Re: BlockGroupingCollector, not always getting first document

2012-03-08 Thread Grzegorz Tańczyk
Hello, Thanks for reply, I can find first document from group using non grouping search. To be sure about this I deleted index and indexed only first 100 groups which gives around 2300 documents and I see the problem on at least half of groups. No problem in finding first documents normally

Re: Re: BlockGroupingCollector, not always getting first document

2012-03-08 Thread Grzegorz Tańczyk
Hello, Thanks for reply, I can find first document from group using non grouping search. To be sure about this I deleted index and indexed only first 100 groups which gives around 2300 documents and I see the problem on at least half of groups. No problem in finding first documents normally

BlockGroupingCollector, not always getting first document

2012-03-08 Thread Grzegorz Tańczyk
Hello, I am using BlockGroupingCollector for first time and I have some small problem with it. Indexing code is pretty much copy of the one from docs. Searching looks like this: Filter groupEndFilter = new CachingWrapperFilter(new QueryWrapperFilter(new TermQuery(new Term("la

NIOFSDirectory and Thread.interrupt

2011-10-16 Thread Grzegorz Tańczyk
Hello, I had some problem with this issue: https://issues.apache.org/jira/browse/LUCENE-2239 I was getting ClosedByInterruptException even though my application was not calling Thread.interrupt() anywhere. There were 2 scenarios of getting this exception: class MyThread extends Thread { p