Solr respects case for field names.  Database fields are supplied in
lower-case, so it should be 'attribute_name' and 'string_value'. Also
'product_id', etc.

It is easier if you carefully emulate every detail in the examples,
for example lower-case names.

On Tue, Jul 27, 2010 at 2:59 PM, kenf_nc <ken.fos...@realestate.com> wrote:
>
> for STRING_VALUE, I assume there is a property in the 'select *' results
> called string_value? if so I'm not sure why it wouldn't work. If not, then
> that's why, it doesn't have anything to put there.
>
> For ATTRIBUTE_NAME, is it possibly a case issue? you called it
> 'Attribute_Name' in your query, but ATTRIBUTE_NAME in your schema...just
> something to check I guess.
>
> Also, not sure why you are using name= in your fields, for example,
> <field column="PARENT_FAMILY" name="Parent Family" />
> I thought 'column' was the source field name and 'name' was supposed to be
> the schema field name and if not there it would assume 'column' name. You
> don't have a schema field called "Parent Family" so it looks like it's
> defaulting to column name too which is lucky for you I suppose. But you may
> want to either remove 'name=' or make it match the schema. (and I may be
> completely wrong on this, it's been a while since I got DIH going).
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Indexing-Problem-Where-s-my-data-tp1000660p1000843.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to