Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BF8EE358 for ; Sun, 3 Mar 2013 04:35:34 +0000 (UTC) Received: (qmail 25349 invoked by uid 500); 3 Mar 2013 04:35:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 24992 invoked by uid 500); 3 Mar 2013 04:35:28 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 24958 invoked by uid 99); 3 Mar 2013 04:35:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 04:35:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of welshwang@gmail.com designates 209.85.214.54 as permitted sender) Received: from [209.85.214.54] (HELO mail-bk0-f54.google.com) (209.85.214.54) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Mar 2013 04:35:21 +0000 Received: by mail-bk0-f54.google.com with SMTP id w5so1902897bku.41 for ; Sat, 02 Mar 2013 20:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=BJw3LIG6nO+SE1BZ/CnkjheJ0GRDutbz1l0WNf38tCo=; b=MJTj3IRL0piQpa8UgcFA0DaPucIidLC61M8PRZVlwv3UTZQFXAlJP0CAgFaa79WlhD F4H70Waiwfl+KCZDuunD62H3XlDJwhQLa2ypudBbfvZq4kvaCL9nmOUjyOAdKXrU4hhX vGzjuaGVJT+xy7AGYF7RBE8wV633tzYf3CrRbxxF59VsXWdenrsOVNPi/PvFh1jrCvfq 1GnU9jgqDKn2g+Z7AfH6wk+E96EEUYO9AYNyhyrgdMB6NEBMJS8BS6yzZjEmwSqzKW4x 4MGEQAgIsIYq7huWUEPaNBzr8/EHn+lOkPQ/wONv0dklCYvmb3cYHEXMIhnJ3rXXJuKh Ppyg== MIME-Version: 1.0 X-Received: by 10.204.127.6 with SMTP id e6mr5659741bks.13.1362285299649; Sat, 02 Mar 2013 20:34:59 -0800 (PST) Received: by 10.204.145.220 with HTTP; Sat, 2 Mar 2013 20:34:59 -0800 (PST) Date: Sat, 2 Mar 2013 20:34:59 -0800 Message-ID: Subject: BlockJoinQuery: delete documents From: Wei Wang To: java-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, I understand BlockJoinQuery can be used to index nested documents with some internal structure. And at indexing time, addDocuments is used to create document blocks. In case we would like to update some data fields, we have to delete the old document block and add the updated block. How can we delete the old document block efficiently? It seems IndexWriter does not track these blocks. Thanks, Wei --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org