Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CD0FEF22 for ; Sun, 17 Mar 2013 15:01:18 +0000 (UTC) Received: (qmail 88368 invoked by uid 500); 17 Mar 2013 15:01:17 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 88097 invoked by uid 500); 17 Mar 2013 15:01:16 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 88049 invoked by uid 99); 17 Mar 2013 15:01:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Mar 2013 15:01:15 +0000 Date: Sun, 17 Mar 2013 15:01:15 +0000 (UTC) From: "David Smiley (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4658) Per-segment tracking of external/side-car data 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/LUCENE-4658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604618#comment-13604618 ] David Smiley commented on LUCENE-4658: -------------------------------------- As I understand it, Lucene's faceting module uses a side-car index. If so, then if the feature proposed here is a good API then the faceting module will use it. No? Ultimately, it would be cool to be able to expose an externally managed field as if it were DocValues, and thus any code that uses DocValues could use it without changing its code. That would be awesome. I don't know if that would be a part of this issue or follow-on that would use the API in this issue to make that happen. > Per-segment tracking of external/side-car data > ---------------------------------------------- > > Key: LUCENE-4658 > URL: https://issues.apache.org/jira/browse/LUCENE-4658 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Attachments: LUCENE-4658.patch, LUCENE-4658.patch > > > Spinoff from David's idea on LUCENE-4258 > (https://issues.apache.org/jira/browse/LUCENE-4258?focusedCommentId=13534352&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13534352 ) > I made a prototype patch that allows custom per-segment "side-car > data". It adds an abstract ExternalSegmentData class. The idea is > the app implements this, and IndexWriter will pass each Document > through to it, and call on it to do flushing/merging. I added a > setter to IndexWriterConfig to enable it, but I think this would > really belong in Codec ... > I haven't tackled the read-side yet, though this is already usable > without that (ie, the app can just open its own files, read them, > etc.). > The random test case passes. > I think for example this might make it easier for Solr/ElasticSearch > to implement things like ExternalFileField. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org