Multi-Document Operations

The following action allow multiple documents to be used as the target:

ResourceMethodNotes
DocumentGET
DocumentDELETE

To specify multiple documents, simply comma-delimit their identifiers in the url.

Request

GET /lucene/test/1,2 HTTP/1.1
Host: localhost:8080

Response

HTTP/1.x 200 OK
Content-Type: application/atom+xml;charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>Documents</title>
	<link href="http://localhost:8080/lucene/test/1,2" rel="self"/>
	<updated>2006-02-28T14:24:57-04:00</updated>
	<author>
		<name>Lucene Web Service</name>
	</author>
	<id>http://localhost:8080/lucene/test/1,2</id>
	<entry>
		<title>Test Document 1</title>
		<link href="http://localhost:8080/lucene/test/1/" rel="alternate"/>
		<updated>2006-02-28T10:17:10-04:00</updated>
		<id>http://localhost:8080/lucene/test/1/</id>
		<content type="xhtml">
			<div xmlns="http://www.w3.org/1999/xhtml">
				<dl class="xoxo">
					<dt class="stored indexed">id</dt>
					<dd>1</dd>
					<dt class="stored indexed tokenized">text</dt>
					<dd>Test Document 1</dd>
					<dt class="stored indexed">updated</dt>
					<dd>1141136230411</dd>
				</dl>
			</div>
		</content>
	</entry>
	<entry>
		<title>Test Document 2</title>
		<link href="http://localhost:8080/lucene/test/2/" rel="alternate"/>
		<updated>2006-01-26T16:35:47-04:00</updated>
		<id>http://localhost:8080/lucene/test/2/</id>
		<summary>Test Document 2</summary>
		<content type="xhtml">
			<div xmlns="http://www.w3.org/1999/xhtml">
				<dl class="xoxo">
					<dt class="stored indexed">id</dt>
					<dd>2</dd>
					<dt class="stored indexed tokenized">text</dt>
					<dd>Test Document 2</dd>
					<dt class="stored indexed">updated</dt>
					<dd>1138307747915</dd>
				</dl>
			</div>
		</content>
	</entry>
</feed>