On 9/25/07, Ben Shlomo, Yatir <[EMAIL PROTECTED]> wrote:
> I know I can delete multiple docs with the following:
> <delete><query>mediaId:(6720 OR 6721 OR .... )</query></delete>
>
> My question is can I do something like this?
> <delete><query>languageId:123 AND manufacturer:456 </query></delete>
> (It does not work for me and I didn't forget to commit....)

Do you get an error, or do you just not see this document deleted?
Does a query identical to this show matching documents after a commit?

Also keep in mind that delete by id is currently more efficient than
delete by query, so if mediaId is your uniqueKeyField, you would be
better served by using that.

-Yonik

Reply via email to