On Nov 23, 2008, at 3:06 PM, Paolo Ruscitti wrote:
Thanks Ryan for your answer.

The only thing that may be weird is that if you id field is named "myid",
your elevate.xml file still refers to "id" as the unique key. Is that what
you are refering to?

yes, my id field is named "myid", but elevate.xml expects its name is "id" .

Please find below more info:

I' using the very last revision (720030)

I also tried both

<elevate>
<query text="cars">
<doc myid="77b81d932353a5d16880043bdb4fe22b"/>
</query>
</elevate>

As Ryan said, that is incorrect - it must be id="..." regardless of what your uniqueKey field is.

<elevate>
<query text="cars">
<doc id="myid:77b81d932353a5d16880043bdb4fe22b"/>
</query>
</elevate>

remove "myid:" from that value and you should be in good shape.

Granted it is confusing. But what's the alternative? Maybe calling every attribute that needs to refer to a uniqueKey literally "uniqueKey"? I don't think we want to have attributes changing their name based on the uniqueKey field name.

        Erik

Reply via email to