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
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 any
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
.
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 found it. My desiredFieldValues list has the wrong info. Knew
there was something
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 values I'm looking for are URIs, so they look like:
http
Hi - A simple yes or no question, I think.
I want to retrieve highlighting result from a QueryResponse. I know to use the
following:
MapString, MapString, ListString highlighting = resp.getHighlighting();
Most of the examples I've seen use the document uid to extract the results
like so:
not the problem.
Arrrh, camel case may be striking again. Try multiValued, not
multivalued
If that's still not it, can we see the code?
Best
Erick
On Wed, Jun 15, 2011 at 3:47 PM, Simon, Richard T
richard_si...@hms.harvard.edu wrote:
We rebuild the index from scratch each time we start
.
### 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.apache.org
Cc
.
-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 Strings. But, doesn'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 always
Hi - I am examining a SolrDocument I retrieved through a query. The field I am
looking at is declared this way in my schema:
field name=uri type=string indexed=true stored=true
multivalued=false required=true /
I know multivalued defaults to false, but I set it explicitly because I'm
seeing
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
richard_si...@hms.harvard.edu wrote:
Hi - I am examining a SolrDocument I
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
13 matches
Mail list logo