Oh, you're running into a "quirk" of Solr. Pure negative queries in
main clauses require a *:* in front unless there's some special
handling. So try:
q=*:* -id:8733
instead in both cases.

Best,
Erick

On Sun, Mar 12, 2017 at 7:57 AM, radha krishnan
<dradhakrishna...@gmail.com> wrote:
> q=-id:xxxx in export handler does not work but works ok in select.
>
> Works:
> http://localhost:8983/solr/bucket4/select?q=id:8733*&rows=1&sort=_version_%20desc&fl=id
> Does not work:
> http://localhost:8983/solr/bucket4/export?q=id:8733*&rows=1&sort=_version_%20desc&fl=id
>
> looks a bug with solr or am i making a mistake here
>
>
> Thanks,
> Radhakrishnan

Reply via email to