delete by query multiple Ids

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

delete by query multiple Ids

Michael Ravits
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.
Reply | Threaded
Open this post in threaded view
|

Re: delete by query multiple Ids

Erik Hatcher

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 .... )