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 7048A9F27 for ; Mon, 7 May 2012 10:04:22 +0000 (UTC) Received: (qmail 76567 invoked by uid 500); 7 May 2012 10:04:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 76128 invoked by uid 500); 7 May 2012 10:04:19 -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 75401 invoked by uid 99); 7 May 2012 10:04:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:04:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 10:04:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 52BDD437611 for ; Mon, 7 May 2012 10:03:50 +0000 (UTC) Date: Mon, 7 May 2012 10:03:50 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <82223725.33670.1336385030363.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1986839461.30859.1336251228735.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3439) Add "content" field to example schema to make SolrCell easier to use out of the box MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3439?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13269= 485#comment-13269485 ]=20 Jan H=C3=B8ydahl commented on SOLR-3439: ----------------------------------- bq. That said, I am a little reluctant to change the overall pattern/approa= ch simply to add one field. Maybe the pattern change should be a separate i= ssue. SOLR-3442 =20 > Add "content" field to example schema to make SolrCell easier to use out = of the box > -------------------------------------------------------------------------= ---------- > > Key: SOLR-3439 > URL: https://issues.apache.org/jira/browse/SOLR-3439 > Project: Solr > Issue Type: Improvement > Components: contrib - Solr Cell (Tika extraction), Schema and An= alysis > Reporter: Jack Krupansky > Priority: Minor > Fix For: 4.0 > > Attachments: Lincoln-Gettysburg-Address.docx, Lincoln-Gettysburg-= Address.pdf, SOLR-3439.patch > > > Currently, SolrCell is configured to map Tika "content" (the main body of= a document) to the "text" field which is the indexed-only (not stored) cat= ch-all for default queries. That searches fine, but doesn't show the docume= nt content in the results, sometimes leading users to think that something = is wrong. Sure, the user can easily add the field (and this is documented),= but it would be a better user experience to have such a basic feature work= right out of the box without any config editing and without the need for t= he user to read the fine print in the documentation. > I propose that we add the "content" field to the example schema in the se= ction of fields already defined to support SolrCell metadata. It would be s= tored and indexed. > I further propose that a copyField be added for the "title", "description= ", (and maybe a couple of others) and "content" fields to add them to the "= text" field for searching. Again, trying to improve the out of the box user= experience. It also simplifies testing - less setup. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a 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