[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Re: Best way to retrieve 20 specific documents
From:       Dotan Cohen <dotancohen () gmail ! com>
Date:       2012-11-21 10:31:40
Message-ID: CAKDXFkOGj78pqj6R0+JcfBgdXKGgZJB4E0nwfi50Ey5nHj6F9Q () mail ! gmail ! com
[Download RAW message or body]

On Tue, Nov 20, 2012 at 12:45 AM, Shawn Heisey <solr@elyograg.org> wrote:
> 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.
>

Thank you Shawn, that is much cleaner and will be easier to debug when
/ if things go wrong.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic