I'm using:

recordID:(18 OR 19 OR 20)

Which should return 2 records (as 18 doesn't exist), but it returns none. 
recordID is a LongPointField (sorry I said Int in my previous message).

-----Original Message-----
From: Saurabh Sharma <saurabh.infoe...@gmail.com> 
Sent: 06 January 2020 10:35
To: solr-user@lucene.apache.org
Subject: Re: Edismax ignoring queries containing booleans

Please share the query which you are creating.

On Mon, Jan 6, 2020, 3:52 PM Claire Pollard <claire.poll...@imagen.io>
wrote:

> In Solr 8.3.0 I've got an edismax query parser in my search handler, 
> and it seems to be ignoring Boolean operators such as AND and OR when 
> searching using an IntPointField.
>
> I was hoping to use a query to this field to return a batch of 
> documents with non-sequential IDs, so a range would be inappropriate.
>
> We had a previous 4.10.2 instance of Solr which uses the now 
> deprecated Trie fields, and these seem to search without issue using boolean 
> operators.
>
> Is there something extra I need to do with my setup for PointFields to 
> use booleans or should they work as default.
>
> Cheers,
> Claire.
>

Reply via email to