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 E976CF604 for ; Sat, 13 Apr 2013 21:26:16 +0000 (UTC) Received: (qmail 25325 invoked by uid 500); 13 Apr 2013 21:26:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 25240 invoked by uid 500); 13 Apr 2013 21:26:15 -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 25232 invoked by uid 99); 13 Apr 2013 21:26:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Apr 2013 21:26:15 +0000 Date: Sat, 13 Apr 2013 21:26:15 +0000 (UTC) From: "Erick Erickson (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-1401) solr should error on document add/update if uniqueKey field has multiple tokens. 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-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631175#comment-13631175 ] Erick Erickson commented on SOLR-1401: -------------------------------------- SPRING_CLEANING_2013 JIRAS. I can freely define the ID field as text_en_splitting, index weird IDs, and get lots of documents. Seems like this is quite valid even today. Don't know how it plays with distributed indexing and doc routing though.... > solr should error on document add/update if uniqueKey field has multiple tokens. > -------------------------------------------------------------------------------- > > Key: SOLR-1401 > URL: https://issues.apache.org/jira/browse/SOLR-1401 > Project: Solr > Issue Type: Improvement > Reporter: Hoss Man > > over the years, have seem more then a few solr-user posts noticing odd behavior when using a uniqueKey field configured to use TextField with a non trivial analyzer ... we shouldn't error on TextField (KeyworkdTokenizer is perfectly legitimate) but we should error if that analyzer produces multiple tokens. > Likewise we should verify that good error messages if uniqueKey field is configured such that multivalued=true. -- 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