Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 42870 invoked from network); 23 Jun 2010 18:48:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jun 2010 18:48:13 -0000 Received: (qmail 50261 invoked by uid 500); 23 Jun 2010 18:48:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 50198 invoked by uid 500); 23 Jun 2010 18:48:11 -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 50187 invoked by uid 99); 23 Jun 2010 18:48:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jun 2010 18:48:11 +0000 X-ASF-Spam-Status: No, hits=-1540.4 required=10.0 tests=ALL_TRUSTED,AWL 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; Wed, 23 Jun 2010 18:48:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5NIlo8i004566 for ; Wed, 23 Jun 2010 18:47:50 GMT Message-ID: <27741827.21581277318870578.JavaMail.jira@thor> Date: Wed, 23 Jun 2010 14:47:50 -0400 (EDT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1971) Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name In-Reply-To: <12622598.21101277317614522.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/SOLR-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881820#action_12881820 ] Yonik Seeley commented on SOLR-1971: ------------------------------------ That doesn't fully solve the problem though... if someone is going to set a uniqueKey w/o knowing what field it is, they also don't know the type of field it is. if one can assume that the id field is a string, why not just also assume that this field is named "id"... seems like "best practice". > Add uniqueKey parameter to Solr Cell, allowing client to work without knowing the actual field name > --------------------------------------------------------------------------------------------------- > > Key: SOLR-1971 > URL: https://issues.apache.org/jira/browse/SOLR-1971 > Project: Solr > Issue Type: Improvement > Components: contrib - Solr Cell (Tika extraction) > Reporter: Erik Hatcher > Fix For: Next > > > This comes from an LCF need of indexing content generically into Solr, where the LCF side does not know the field name of the schema.xml uniqueKey specified field. You can send in literals to Solr Cell, such as literal.id=my_unique_key, but this relies on the client knowing that "id" is the field name. > Let's add a parameter to Solr Cell, such as uniqueKey=my_unique_key, and underneath Solr Cell will map that to the proper field. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org