Re: FacetedSearch and MultiReader

2013-04-09 Thread Shai Erera
;we have. > > > > >>Now I want to add the faceting search, than I created a > > > > >>categories index > > > > >>for every index I currently have. > > > > >>To accumulate the faceted results now I have a MultiReader >

Re: FacetedSearch and MultiReader

2013-04-09 Thread Nicola Buso
>>categories index > > > >>I have; all the way I see to obtain FacetResults are: > > > >>1 - FacetsCollector > > > >>2 - a FacetsAccumulator implementation > > > >> > > > >>suppo

Re: FacetedSearch and MultiReader

2013-01-24 Thread Nicola Buso
> >> - I create a FacetsAccumulator using the MultiReader and a > > >>TaxonomyReader > > >> - I get a list of FacetResult from the accumulator. > > >>- as I finish I should in some way merge all the > > >

Re: FacetedSearch and MultiReader

2013-01-23 Thread Nicola Buso
Thanks Shai, I'm trying your solution and it's working, I need to check some number to test it. As I said we are aware having big indexes, than I use facets only on subsets, but if it will result in performances issues too than I'll for sure take a look into facet sampling. Nicola. On Wed, 2013

Re: FacetedSearch and MultiReader

2013-01-23 Thread Shai Erera
> > I think we should open an issue to provide support for distributed > faceting? > Opened https://issues.apache.org/jira/browse/LUCENE-4710. BTW Nicola, I remember you said something about TBs of indexes. I just wanted to point out that if you have really large indexes, with many documents, the

Re: FacetedSearch and MultiReader

2013-01-22 Thread Michael McCandless
On Mon, Jan 21, 2013 at 11:20 PM, Shai Erera wrote: > (unfortunately, there's still no tool in Lucene to do that for you). I think we should open an issue to provide support for distributed faceting? For example, we already provide support for distributed searching (TopDocs.merge), and distribu

Re: FacetedSearch and MultiReader

2013-01-22 Thread Shai Erera
t; > > >>I have; all the way I see to obtain FacetResults are: > > > >>1 - FacetsCollector > > > >>2 - a FacetsAccumulator implementation > > > >> > > > >>suppose I use the second option. I should: > > > >>-

Re: FacetedSearch and MultiReader

2013-01-22 Thread Nicola Buso
t; > >> - I create a FacetsAccumulator using the MultiReader and a > > >>TaxonomyReader > > >> - I get a list of FacetResult from the accumulator. > > >>- as I finish I should in some way merge all the > > >>

Re: FacetedSearch and MultiReader

2013-01-21 Thread Shai Erera
t;are pointing the multireader instead the taxonomyreader is > >>pointing to > >>the categories index of a single reader. > >>I neither like to merge all the List of FacetResult I retrieve > >>from the > >>

Re: FacetedSearch and MultiReader

2013-01-21 Thread Denis Bazhenov
#x27;m missing something, can somebody clarify to me how >>I should >> collect the facets in this case? >> >> >>Nicola. >> >> >> >>On Mon, 2013-01-21 at 16:22 +0100, Uwe Schindler wrote: >>> Just use Mu

[Fwd: Re: FacetedSearch and MultiReader]

2013-01-21 Thread Nicola Buso
--- Begin Message --- Hi, it's not clear your proposal. On Mon, 2013-01-21 at 18:21 +0200, Shai Erera wrote: > Hi > > > First, if it's a one time operation, you can merge the taxonomy > indexes into one, without merging the content indexes too (but you'll > need to re-map the ordinals in each

Re: FacetedSearch and MultiReader

2013-01-21 Thread Nicola Buso
gt; > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > > -Original Message- > > >

Re: FacetedSearch and MultiReader

2013-01-21 Thread Shai Erera
t; > Just use MultiReader, it extends IndexReader, so you can pass it > anywhere where IndexReader can be passed. > > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > >

Re: FacetedSearch and MultiReader

2013-01-21 Thread Nicola Buso
www.thetaphi.de > eMail: u...@thetaphi.de > > > -Original Message- > > From: Nicola Buso [mailto:nb...@ebi.ac.uk] > > Sent: Monday, January 21, 2013 3:59 PM > > To: java-user@lucene.apache.org > > Subject: FacetedSearch and MultiReader > > > &

RE: FacetedSearch and MultiReader

2013-01-21 Thread Uwe Schindler
> Sent: Monday, January 21, 2013 3:59 PM > To: java-user@lucene.apache.org > Subject: FacetedSearch and MultiReader > > Hi all, > > I'm trying to develop faceted search using lucene 4.0 faceting framework. > In our project we are searching on multiple indexes using luce

FacetedSearch and MultiReader

2013-01-21 Thread Nicola Buso
Hi all, I'm trying to develop faceted search using lucene 4.0 faceting framework. In our project we are searching on multiple indexes using lucene MultiReader. How should we use the faceted framework to obtain FacetResults starting from a MultiReader? all the example I see are using a "single" Ind