In fact, you shouldn't need OR:

id:(123 456 789) 

will default to OR.

Upayavira

On Mon, Nov 19, 2012, at 10:45 PM, Shawn Heisey wrote:
> On 11/19/2012 1:49 PM, Dotan Cohen wrote:
> > On Mon, Nov 19, 2012 at 10:27 PM, Otis Gospodnetic
> > <otis.gospodne...@gmail.com> wrote:
> >> Hi,
> >>
> >> How about id1 OR id2 OR id3? :)
> > Thank, Otis. This was my first inclination (id:123 OR 456), but it
> > didn't work when I tried. At your instigation I tried then id:123 OR
> > id:456. This does work. Thanks.
> 
> You can also use this query format:
> 
> id:(123 OR 456 OR 789)
> 
> This does get expanded internally by the query parser to the format that 
> has the field name on every clause, but it is sometimes easier to write 
> code that produces the above form.
> 
> Thanks,
> Shawn
> 

Reply via email to