Re: filtering facets

2009-08-31 Thread Avlesh Singh
> > when I will have more motivation, I will submit a patch to solr :-) > You want to add more here?- https://issues.apache.org/jira/browse/SOLR-1387 Cheers Avlesh On Tue, Sep 1, 2009 at 2:51 AM, Olivier H. Beauchesne wrote: > yeah, but then I would have to retrieve *a lot* of facets. I think fo

Re: filtering facets

2009-08-31 Thread Olivier H. Beauchesne
yeah, but then I would have to retrieve *a lot* of facets. I think for now i'll retrieve all the subdomains with facet.prefix and then merge those queries. Not ideal, but when I will have more motivation, I will submit a patch to solr :-) Michael a écrit : You could post-process the response

Re: filtering facets

2009-08-31 Thread Michael
You could post-process the response and remove urls that don't match your domain pattern. On Mon, Aug 31, 2009 at 9:45 AM, Olivier H. Beauchesne wrote: > Hi Mike, > > No, my problem is that the field article_outlinks is multivalued thus it > contains several urls not related to my search. I would

Re: filtering facets

2009-08-31 Thread Olivier H. Beauchesne
Hi Mike, No, my problem is that the field article_outlinks is multivalued thus it contains several urls not related to my search. I would like to facet only urls matching my query. For exemple(only on one document, but my search targets over 1M docs): Doc1: article_url: url1.com/1 url2.com/2

Re: filtering facets

2009-08-31 Thread Mike Topper
Hi Olivier, are the facet counts on the urls you dont want 0? if so you can use facet.mincount to only return results greater than 0. -Mike Olivier H. Beauchesne wrote: > Hi, > > Long time lurker, first time poster. > > I have a multi-valued field, let's call it article_outlinks containing > al

filtering facets

2009-08-30 Thread Olivier H. Beauchesne
Hi, Long time lurker, first time poster. I have a multi-valued field, let's call it article_outlinks containing all outgoing urls from a document. I want to get all matching urls sorted by counts. For exemple, I want to get all outgoing wikipedia url in my documents sorted by counts. So I