You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by michael ravits <mi...@yahoo.com> on 2007/06/26 12:46:12 UTC
delete by query multiple Ids
hello solrs
is it possible to query multiple specific ids?
something like this:
<delete><query>mediaId:6720,6721,6722,8762,9754</query></delete>
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
Re: delete by query multiple Ids
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Jun 26, 2007, at 6:46 AM, michael ravits wrote:
> hello solrs
>
> is it possible to query multiple specific ids?
> something like this:
>
> <delete><query>mediaId:6720,6721,6722,8762,9754</query></delete>
sure, but you need to use proper query parser syntax:
mediaId:(6720 OR 6721 OR .... )