[
https://issues.apache.org/jira/browse/SOLR-13192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759083#comment-16759083
]
Erick Erickson commented on SOLR-13192:
---------------------------------------
Solr does not implement pure boolean logic, see:
[https://lucidworks.com/2011/12/28/why-not-and-or-and-not/]
So first I'd verify that your expectations are appropriate. "NOT" operators
really mean "remove these items from the results that satisfy other clauses"
rather then the boolean sense of "give me any documents that don't have this
clause".
> Streaming expression - when query consist from only "NOT"("-") condition,
> Solr returns no results
> -------------------------------------------------------------------------------------------------
>
> Key: SOLR-13192
> URL: https://issues.apache.org/jira/browse/SOLR-13192
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: streaming expressions
> Affects Versions: 7.2.1
> Reporter: Nuriel
> Priority: Major
> Labels: streaming, streaming-api
> Attachments: AlsoPositiveCondition_ThereAreResults.PNG,
> OnlyNegativeCondition_NoResults.PNG
>
>
> Hi,
> We found a case which Streaming in Solr is returning us no results, when it
> should return us results.
> When the query parameter ("q") in streaming expression consist from only
> "NOT" (or "-") condition, Solr will not give us any results.
> But if we are adding to it also "positive" condition it will work as expected.
> In "normal" world, as more conditions we will add to the query, as less
> results we should get back :)
>
> You can see that in the pictures we attached here.
>
> Please let us know what you think and when do you think this issue will be
> fixed?
> Thanks,
> Nuriel
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]