: element? I see this is a value of either the id field or the sku field,
: but neither field looks any special among other fields in
: schema.xml.  Neither field looks like a unique field.

it is the "id" field, which is declared to be the uniqueKey field in the
<uniqueKey> declaration...

        [EMAIL PROTECTED] grep unique solr/conf/schema.xml
         <!-- Field to use to determine and enforce document uniqueness.
         <uniqueKey>id</uniqueKey>

: How can I associate each highlighting result
: (each node in response/[EMAIL PROTECTED]'highlighting']) with
: a doc node in response/result ?

You have two choices: if you have a uniqueKey field defined, then doing a
lookup on it is one way ... regardless of whether you have a uniqueKey
field defined or not, the results are returned in the exact same order in
both blocks ... so just iterate over them in parallel.


-Hoss

Reply via email to