From dev-return-13577-apmail-nutch-dev-archive=nutch.apache.org@nutch.apache.org Thu Nov 25 12:04:38 2010 Return-Path: Delivered-To: apmail-nutch-dev-archive@www.apache.org Received: (qmail 7723 invoked from network); 25 Nov 2010 12:04:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 12:04:38 -0000 Received: (qmail 48309 invoked by uid 500); 25 Nov 2010 12:04:37 -0000 Delivered-To: apmail-nutch-dev-archive@nutch.apache.org Received: (qmail 47931 invoked by uid 500); 25 Nov 2010 12:04:35 -0000 Mailing-List: contact dev-help@nutch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nutch.apache.org Delivered-To: mailing list dev@nutch.apache.org Received: (qmail 47850 invoked by uid 99); 25 Nov 2010 12:04:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 12:04:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 12:04:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAPC4D7S025869 for ; Thu, 25 Nov 2010 12:04:13 GMT Message-ID: <28073898.307091290686653468.JavaMail.jira@thor> Date: Thu, 25 Nov 2010 07:04:13 -0500 (EST) From: "Andrzej Bialecki (JIRA)" To: dev@nutch.apache.org Subject: [jira] Updated: (NUTCH-932) Bulk REST API to retrieve crawl results as JSON In-Reply-To: <23760678.144881288371683119.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NUTCH-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrzej Bialecki updated NUTCH-932: ------------------------------------ Attachment: NUTCH-932-4.patch Final version of the patch. > Bulk REST API to retrieve crawl results as JSON > ----------------------------------------------- > > Key: NUTCH-932 > URL: https://issues.apache.org/jira/browse/NUTCH-932 > Project: Nutch > Issue Type: New Feature > Components: REST_api > Affects Versions: 2.0 > Reporter: Andrzej Bialecki > Assignee: Andrzej Bialecki > Attachments: db.formatted.gz, NUTCH-932-2.patch, NUTCH-932-3.patch, NUTCH-932-4.patch, NUTCH-932.patch, NUTCH-932.patch, NUTCH-932.patch > > > It would be useful to be able to retrieve results of a crawl as JSON. There are a few things that need to be discussed: > * how to return bulk results using Restlet (WritableRepresentation subclass?) > * what should be the format of results? > I think it would make sense to provide a single record retrieval (by primary key), all records, and records within a range. This incidentally matches well the capabilities of the Gora Query class :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.