RE: Building a facet query in SolrJ

2011-08-11 Thread Simon, Richard T
Thanks! I actually found a page on line that explained this. -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Wednesday, August 10, 2011 4:01 PM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: RE: Building a facet query in SolrJ

RE: Building a facet query in SolrJ

2011-08-10 Thread Chris Hostetter
: query.addFacetQuery(MyField + ":" + "\"" + uri + "\""); ... : But when I examine queryResponse.getFacetFields, it's an empty list, if "facet.query" constraints+counts do not come back in the "facet.field" section of hte response. they come back in the "facet.query" section of the re

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
ssage- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: Wednesday, August 10, 2011 2:04 PM To: solr-user@lucene.apache.org Subject: Re: Building a facet query in SolrJ Try making your queries, manually, to see this closer in action... q=MyField: and see what you get. In this case, b

Re: Building a facet query in SolrJ

2011-08-10 Thread Erik Hatcher
facet field. If I set the facet field to MyField, then I get > facets for ALL the values of MyField, not just the ones in the facet queries. > > Can anyone help here? > > Thanks. > > > From: Simon, Richard T > Sent: Wednesday, August 10, 2011 11:07 AM > To: Simo

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
I get facets for ALL the values of MyField, not just the ones in the facet queries. Can anyone help here? Thanks. From: Simon, Richard T Sent: Wednesday, August 10, 2011 11:07 AM To: Simon, Richard T; solr-user@lucene.apache.org Subject: RE: Building a facet query in SolrJ Oops. I think I fo

RE: Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
Oops. I think I found it. My desiredFieldValues list has the wrong info. Knew there was something simple wrong. From: Simon, Richard T Sent: Wednesday, August 10, 2011 10:55 AM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: Building a facet query in SolrJ Hi - I'm trying to do a (