Skip to content

Unexpected argument when trying to iterate #44

Description

@paulheijman

Hi,

I need to iterate over a large dataset, so according to documentation I need to use --iterate-by and a corresponding --query.
So I tried the following command:

solrcopy backup --query 'tdate:[{begin} TO {end}]' --iterate-by day --between '1970-01-01' '2071-01-01'

but this fails:
error: unexpected argument 'TO' found

Tested on Linux and Windows with Solrcopy 0.8.1

Could you please tell me what I'm doing wrong?
Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions