Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 40319 invoked from network); 20 Sep 2010 05:15:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 05:15:38 -0000 Received: (qmail 3887 invoked by uid 500); 20 Sep 2010 05:15:37 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 3454 invoked by uid 500); 20 Sep 2010 05:15:34 -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 Delivered-To: moderator for dev@lucene.apache.org Received: (qmail 1439 invoked by uid 500); 20 Sep 2010 05:10:56 -0000 Delivered-To: apmail-lucene-solr-dev@lucene.apache.org X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of sreelals@huawei.com does not designate 216.139.236.158 as permitted sender) Date: Sun, 19 Sep 2010 22:10:30 -0700 (PDT) From: sreelalsl To: solr-dev@lucene.apache.org Message-ID: <1284959430027-1527078.post@n3.nabble.com> Subject: Solr HighLighting With wildcard is effected only for Text and String types MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit HI .. As per the SolrIndexSearcher.getStoredHighlightFieldNames it will return only Text and String fields. This method is used in HighLight component to get the FieldNames if hl.fl=* . So if i use hl.fl=* , fileds of other types(eg: slong or custom types ) will not be highlighted. But we can highlight the slong field if we directly specify hl.fl=slongfieldname Is there any reason this is done like this. Whether the check ( type instaceof text || type instanceof string) is required in getStoredHighlightFieldNames Thanks... -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-HighLighting-With-wildcard-is-effected-only-for-Text-and-String-types-tp1527078p1527078.html Sent from the Solr - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org