lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Topper <>
Subject Re: filtering facets
Date Mon, 31 Aug 2009 13:08:14 GMT
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.


Olivier H. Beauchesne wrote:
> 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 execute a query like this:
> q=article_outlinks:http**  and I facet on article_outlinks
> But I get facets containing the other urls in the documents. I can get
> something close by using facet.prefix= but I
> want to include other subdomains on wikipedia (ex:
> Is there a way to do a search and getting facets only matching my query?
> I know facet.prefix isn't a query, but is there a way to get that
> behavior?
> Is it easy to extend solr to do something like that?
> Thank you,
> Olivier
> Sorry for my english.

my public key can be found by:

gpg --keyserver  --recv-keys 26A5C87F

View raw message