Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following operations are currently supported. The header SolrConstants.OPERATION is required to be set to one of the following.

operation

message body value

description

INSERT

N/A

insert a new record based on headers values (headers must be prefixed with "SolrField.")

ADD_BEAN

bean instance

insert a new record based on values in an annotated bean

DELETE_BY_ID

id to delete

delete a record by ID

DELETE_BY_QUERY

query to use

delete a record by a query

COMMIT

N/A

performs a commit on any pending index changes

ROLLBACK

N/A

performs a rollback on any pending index changes

OPTIMIZE

N/A

performs a commit on any pending index changes and then runs the optimize command

...