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 Simon, Richard T
acetField) where you'd get the values of each URI facet query in that list anyway. Erik On Aug 10, 2011, at 13:42 , Simon, Richard T wrote: > I take it back. I didn't find it. I corrected my values and the facet queries > still don't find what I want. > > The va

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

Building a facet query in SolrJ

2011-08-10 Thread Simon, Richard T
Hi - I'm trying to do a (I think) simple facet query, but I'm not getting the results I expect. I have a field, MyField, and I want to get facets for specific values of that field. That is, I want a FacetField if MyField is "ABC", "DEF", etc. (a specific list of values), but not if MyField is an

Highlighting map use unique key field?

2011-06-20 Thread Simon, Richard T
Hi - A simple yes or no question, I think. I want to retrieve highlighting result from a QueryResponse. I know to use the following: Map>> highlighting = resp.getHighlighting(); Most of the examples I've seen use the document uid to extract the results like so: String key = resultDec.getFi

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
Ah! That was the problem. The version was 1.0. I'll change it to 1.2. Thanks! -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:33 PM To: Simon, Richard T Cc: solr-user@lucene.apache.org Subject: RE: getFieldValue a

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
ued="false". -Rich -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Thursday, June 16, 2011 2:18 PM To: solr-user@lucene.apache.org Cc: Simon, Richard T Subject: RE: getFieldValue always returns an ArrayList? : and all of a sudden I get S

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
of String. ### Field asserted_type_label is an instance of String. ### Field provider_uri is an instance of String. ### Field provider_label is an instance of String. -Rich -Original Message----- From: Simon, Richard T Sent: Thursday, June 16, 2011 10:08 AM To: solr-user@lucene.

RE: getFieldValue always returns an ArrayList?

2011-06-16 Thread Simon, Richard T
ure you didn't have some leftover cruft where your field was multi-valued from previous experiments, but if you're reindexing each time that's not the problem. Arrrh, camel case may be striking again. Try multiValued, not multivalued If that's still not it, can we see th

RE: getFieldValue always returns an ArrayList?

2011-06-15 Thread Simon, Richard T
might happen if part of your index has that field as a multi-valued field If that't not the problem, what version of solr are you using? I presume this is SolrJ? Best Erick On Wed, Jun 15, 2011 at 2:21 PM, Simon, Richard T wrote: > Hi - I am examining a SolrDocument I retrieved through

getFieldValue always returns an ArrayList?

2011-06-15 Thread Simon, Richard T
Hi - I am examining a SolrDocument I retrieved through a query. The field I am looking at is declared this way in my schema: I know multivalued defaults to false, but I set it explicitly because I'm seeing some unexpected behavior. I retrieve the value of the field like so: final String resou

Solr Newbie: Starting embedded server with multicore

2011-04-26 Thread Simon, Richard T
I'm just starting with Solr. I'm using Solr 3.1.0, and I want to use EmbeddedSolrServer with a multicore setup, even though I currently have only one core (various documents I read suggest starting that way even if you have one core, to get the better administrative tools supported by mutlicore