I'm somewhat perplexed, under what circumstances would you be able to send one query to Solr but not two?

-Mike

On 21-Jul-08, at 8:37 PM, Jon Baer wrote:

Well that's my problem ... I can't :-)

When you put a fq=doctype:news in there your can't get an explicit facet.query, it will only let you deal w/ the stuff you have already filtered out. I think what I was is possible, just need to dig in the code more.

- Jon

On Jul 21, 2008, at 9:14 PM, Mike Klaas wrote:


On 17-Jul-08, at 6:27 AM, Jon Baer wrote:

Ive gone from a complex multicore setup back to a single solrconfig setup and using a doctype field (since the index is pretty small), however there are a few spots where items are laid out in tabs and each tab has a count of docs associated, ie:

News (123) | Images (345) | Video (678) | Blogs (901)

Unfortunately the tab controlling is server side and Im trying to grab a facet count on doctype w/ a filter query and can't seem to do it w/o having to send the small facet query (for the counts on all items) and the filter query itself. Is there any way to do this in a single request w/ any params Im missing? (Using SolrJ if that helps).

No, there isn't, but does this really bother you? It doesn't seem that the advantages to combining everything in one request are huge.

-Mike






Reply via email to