pivot search in lucene

2015-10-07 Thread rlitschk
Hi, excuse me for my double post. I have asked this about a week ago already, can anyone tell me if it's directly possible to do pivot faceting in lucene? I know that it's available in Solr, you can specify your categories and it's going to return conditional counts. Cheers, Robert

RE: pivot search in lucene

2015-10-07 Thread Uwe Schindler
Hi, you should always start a *new* mail thread when asking such questions. You just replied to another mail, so this is treated as an answer to another thread, so most people on the mailing list will not notice your e-mail. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://w

Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Trejkaz
Hi all. I have a situation where I want to look up some DocValues for each hit in the search. I have a few ways I could go about this: 1. Use search() as normal and then iterate the hits at the end to collect the values (easiest?) 2. Use TopStoreDocsCollector, TopFieldCollector, etc. as

Re: Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Erick Erickson
This may be an "XY" problem, you're asking how to do X thinking it will solve Y without telling us what Y is. What do you want to _do_ with the DV values you look up for each hit? Best, Erick On Wed, Oct 7, 2015 at 5:22 PM, Trejkaz wrote: > Hi all. > > I have a situation where I want to look u

Re: Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Trejkaz
On Thu, Oct 8, 2015 at 1:16 PM, Erick Erickson wrote: > This may be an "XY" problem, you're asking how to do X thinking > it will solve Y without telling us what Y is. > > What do you want to _do_ with the DV values you look up for each hit? Keep them around as the ID to use to look up informatio

Re: Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Erick Erickson
First off, the internal Lucene doc ID has never been stable as long as any segment merging of whatever style was going on, don't quite know where you're getting that idea. It sounds like what you're really looking for is to export complete result sets to "do something with them later". That's what

Re: Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Trejkaz
On Thu, Oct 8, 2015 at 1:48 PM, Erick Erickson wrote: > First off, the internal Lucene doc ID has never been stable as long as any > segment merging of whatever style was going on, don't quite know > where you're getting that idea. > > It sounds like what you're really looking for is to export com

Re: Recommendation for doing a search plus collecting extra information?

2015-10-07 Thread Erick Erickson
Oops, wrong list. Then I'm clueless. On Wed, Oct 7, 2015 at 7:51 PM, Trejkaz wrote: > On Thu, Oct 8, 2015 at 1:48 PM, Erick Erickson > wrote: >> First off, the internal Lucene doc ID has never been stable as long as any >> segment merging of whatever style was going on, don't quite know >> wher