Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A9C1906B for ; Tue, 20 Mar 2012 21:00:16 +0000 (UTC) Received: (qmail 56713 invoked by uid 500); 20 Mar 2012 21:00:15 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 56677 invoked by uid 500); 20 Mar 2012 21:00:15 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 56669 invoked by uid 99); 20 Mar 2012 21:00:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 21:00:15 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fcarriedos@gmail.com designates 209.85.161.170 as permitted sender) Received: from [209.85.161.170] (HELO mail-gx0-f170.google.com) (209.85.161.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2012 21:00:07 +0000 Received: by ggmb2 with SMTP id b2so857598ggm.1 for ; Tue, 20 Mar 2012 13:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; bh=FlhBGM8i2KxrQ9nBJcaw33GsaFJk9SsUfgCJVLgoNRE=; b=RxVGC+5quAMI/cezIyZHLVp0HAfWp8P6Vze//nNqkve7VpYmuSoZmwrYOTKhinLseT 36bbvFsMxGpsmuXv5nA4HJJZX7vqLITzlDuoyDrI4Uv85hdlaJXUCNVKqsHMUfCdsz4R tOgJAWOY/7++GRr2qLuIvL3Lz/jk/Mu4Z/v1WHgnnxAjq1HXQhXiGoD13Bsl31H4GhDv LVQgqTjVG2yDMTX4F+ZaSsiMKgA1EoY09j6JE4FeR9K1xlyZlM8sjHKdKvPwwp9In//L nYxOWxUX80ilT7sgIbU9LaPxZCtVpx/T/7Q7ks5ysZF/RR+dqAmfyJl7zcdp7OZqs/id w4FQ== Received: by 10.236.136.4 with SMTP id v4mr1475554yhi.44.1332277185989; Tue, 20 Mar 2012 13:59:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.13.10 with HTTP; Tue, 20 Mar 2012 13:59:25 -0700 (PDT) Reply-To: fcarriedos@gmail.com From: Francisco Carriedo Scher Date: Tue, 20 Mar 2012 21:59:25 +0100 Message-ID: Subject: JR Future idea To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=485b397dd07369ccf504bbb2f46e X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd07369ccf504bbb2f46e Content-Type: text/plain; charset=ISO-8859-1 Hi there, i wrote two posts last week http://mail-archives.apache.org/mod_mbox/jackrabbit-users/201203.mbox/ajax/%3CCAFWtOcMMPZC6zn9AGX3PBUM2%2BmAiEcibay%3DxfL2v6QDtzCoGYw%40mail.gmail.com%3E and http://mail-archives.apache.org/mod_mbox/jackrabbit-users/201203.mbox/ajax/%3CCAFWtOcO3dpR0AQd3gpiuasa2d7MO45fxGn3YVXR3YMZt2iEyyw%40mail.gmail.com%3E asking about issues related to saving the transfer of big binary values when they are already present in the repository. I have been inspecting the source code and i must confess that figuring the way the binary data follows overcomes me a little bit... So to say, i tried to go from the abstract point of view: *************************************************************************************************** C: client side S: server side C: i want to publish the (large) file with hash 1234, already present? S: no THEN TRANSFER TAKES PLACE C: i want to publish the (large) file with hash 1234, already present? S: yes THEN CREATE A LINK ************************************************************************************************** I can imagine lots of questions to properly integrate this (efficient methods for asking about the existence, for instance), but i really need some (expertise) tips to do this... Let's say, an entry point... By the way, just to clarify: would be a good (and efficient) solution defining a custom node type (with some additional properties, being one the hash of the content) and then querying normally the repository? Depending on the query result, create a nt:file or a nt:linkedFile... Would this be a solution? Thanks for your attention! --485b397dd07369ccf504bbb2f46e--