Re: Solr 7.X negative filter not working

2018-09-21 Thread damian.pawski
Hi Yonik Seeley This is what I am getting, for JobTitle: (NOT resources ) I am getting: /parsed_filter_queries: parsed_filter_queries:*+(-*JobTitle:resources)/ for -JobTitle:(resources ) /parsed_filter_queries:

Re: Solr 7.X negative filter not working

2018-09-20 Thread Yonik Seeley
I just tried the master branch quickly, and I can't reproduce this. "params":{ "q":"*:*", "debug":"true", "fq":"title_t:(NOT Kings)"}}, [...] "QParser":"LuceneQParser", "filter_queries":["title_t:(NOT Kings)"], "parsed_filter_queries":["-title_t:kings"],

Re: Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Hi Thank you for a very quick response and the link :) Damian -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Thank you for a very quick response, in that case, I will have to update the C# to build queries in the "proper" way. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr 7.X negative filter not working

2018-09-20 Thread Shawn Heisey
On 9/20/2018 2:04 AM, damian.pawski wrote: On the Solr 5.4.x below query works fine: * "q": "*:*", "_": "1537429094299", "wt": "json", "fq": "JobTitle:(NOT programmer)" ... * I'm surprised this works on any version. See this page:

Re: Solr 7.X negative filter not working

2018-09-20 Thread Till Kinstler
Am 20.09.2018 um 10:04 schrieb damian.pawski: The problematic search "JobTitle:(NOT programmer)" is constructed via C# code, so I can ont easily update to "-JobTitle". JobTitle:(* NOT programmer) should also work, if that helps... I think, NOT without left side term was never officially

Solr 7.X negative filter not working

2018-09-20 Thread damian.pawski
Hi On the Solr 5.4.x below query works fine: * "q": "*:*", "_": "1537429094299", "wt": "json", "fq": "JobTitle:(NOT programmer)" ... * , however the same query returns 0 results (I have checked and index contains correct data) in the Solr 7.4.1. I