Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 97818200BA8 for ; Mon, 24 Oct 2016 17:15:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8EB45160AEB; Mon, 24 Oct 2016 15:15:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D4389160AE1 for ; Mon, 24 Oct 2016 17:15:48 +0200 (CEST) Received: (qmail 57583 invoked by uid 500); 24 Oct 2016 15:15:46 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 56900 invoked by uid 99); 24 Oct 2016 15:15:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 15:15:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AC0701A7AC2 for ; Mon, 24 Oct 2016 15:15:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.501 X-Spam-Level: ** X-Spam-Status: No, score=2.501 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=insystechinc-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id rNspKzOekCGQ for ; Mon, 24 Oct 2016 15:15:40 +0000 (UTC) Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 818F95F3A1 for ; Mon, 24 Oct 2016 15:15:40 +0000 (UTC) Received: by mail-qk0-f176.google.com with SMTP id i68so1611054qke.7 for ; Mon, 24 Oct 2016 08:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=insystechinc-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=45D/63fmC+xN4XZ8Y/dZMwBDVa1XFT9NfTZF1IuH49g=; b=RKtN3JycSvxAOQTZ3x7BOKH34a8ayRL42n937X99kR87WSlX4ZHNjvpMrUDNq6yS6j sKTo1ihgjLljFowxeJRbm/Vf8E1lh8BO/BK5MR58WamIclBewTHIx8ScdsmjfxI5y74N WJIqCjHlC5J+tOoYlWiULIW3sP7ial1lIIyBh1YBoehblN9M6Z/KjncEW651MBuyzukT z8al+s+2DtC93rdX80CNAHkpQWY4Ln1yEwilGsTLvwpkdvRbA3cYehp65VHcG3UumZHl 95buQV0G0PzefmEPL17n00yxtujqdZJ9+alkZEySVcI+lIKBasjrU3jDI0piIC4J+i3+ 9jow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=45D/63fmC+xN4XZ8Y/dZMwBDVa1XFT9NfTZF1IuH49g=; b=HR8pwoLmuWjJdI4/GlBi7X6wrKf0ZroNOFH57fkp8lFyOdvM//EXdBjQBELicBpLjJ 9ElNg8WBICY/fTKu9/ZnLytc8Z24w2q8bGgvZbdnRqu7FrKnmvLmfn1iu4h0QHqaKVCx gRDEyiy/9/sy4zd9mQM2du/guRGOzFmwQUR8HXEiFvYcnWMoIgqBolmW1gtjs+Se1X8v UwaF6SglCGEZHiwqbuIxk4SzBRZ7f1B5gjbzHRNGh7jB4yoah7ZH2Uf1En6gPUPbVKMl yfuyAu7dK07Pk53vUxmFM2v5YsWAeuGCcgYNHoumeQs2KP6utzgvIgza4uFntNA6BFBg jjCQ== X-Gm-Message-State: ABUngvenkLRaw1+ZcMrsaUq9RHC18M2/cyPGgtpjQc9T1TZOqlsnx3hjR+xQBWaSCmzGLQ== X-Received: by 10.55.128.129 with SMTP id b123mr14826380qkd.69.1477322139920; Mon, 24 Oct 2016 08:15:39 -0700 (PDT) Received: from LT050230 (wsip-174-78-151-164.dc.dc.cox.net. [174.78.151.164]) by smtp.gmail.com with ESMTPSA id n14sm8621584qtn.37.2016.10.24.08.15.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 08:15:39 -0700 (PDT) From: "Teague James" To: Subject: Solr 6.0 Highlighting Not Working Date: Mon, 24 Oct 2016 11:15:38 -0400 Message-ID: <004501d22e09$7a8fbf30$6faf3d90$@insystechinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdIuCXn5xZkis4eVTESu3A9+mr4dAw== Content-Language: en-us archived-at: Mon, 24 Oct 2016 15:15:49 -0000 Can someone please help me troubleshoot my Solr 6.0 highlighting issue? I have a production Solr 4.9.0 unit configured to highlight responses and it has worked for a long time now without issues. I have recently been testing Solr 6.0 and have been unable to get highlighting to work. I used my 4.9 configuration as a guide when configuring my 6.0 machine. Here are the primary configs: solrconfig.xml In my query requestHandler I have the following: on text html <b> </b> It is worth noting here that the documentation in the wiki says hl.simple.pre and hl.simple.post both accept the following: Using this config in 6.0 causes the core to malfunction at startup throwing an error that essentially says that an XML statement was not closed. I had to add the escaped characters just to get the solrconfig to load! Why? That isn't documented anywhere I looked. It makes me wonder if this is the source of the problems with highlighting since it works in my 4.9 implementation without escaping. Is there something wrong with 6's ability to parse XML? I upload documents using cURL: curl http://localhost:8983/solr/[CORENAME]/update?commit=true -H "Content-Type:text/xml" --data-binary '7518TEST02. This is the second test.' When I search using a browser: http://50.16.13.37:8983/solr/pp/query?indent=true&q=TEST04&wt=xml The response I get is: 7518 TEST02. This is the second test. TEST02. This is the second test. 1548827202660859904 2.2499826 Note that nothing appears in the highlight section. Why? Any help would be appreciated - thanks! -Teague