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 4F935E448 for ; Tue, 5 Feb 2013 01:21:13 +0000 (UTC) Received: (qmail 35995 invoked by uid 500); 5 Feb 2013 01:21:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 35879 invoked by uid 500); 5 Feb 2013 01:21: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 35702 invoked by uid 99); 5 Feb 2013 01:21:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 01:21:11 +0000 Date: Tue, 5 Feb 2013 01:21:11 +0000 (UTC) From: "Jason Nacional (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4743) ComplexPhraseQuery highlight problem after rewriting using ComplexPhraseQuery.rewrite(IndexReader) 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/LUCENE-4743?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D135= 70829#comment-13570829 ]=20 Jason Nacional commented on LUCENE-4743: ---------------------------------------- I tried to generate the translated query. Here it is: spanNear([spanOr([content:make, spanOr([content:sur, content:sure, content:= surely, content:surely.=C3=A2, content:surer, content:surest, content:suret= y, content:surf, content:surface, content:surfaced, content:surfaces, conte= nt:surge, content:surged, content:surgeon, content:surgeon=C3=A2, content:s= urgery, content:surges, content:surgical, content:surging, content:surlier,= content:surly, content:surmise, content:surmised, content:surmises, conten= t:surmount, content:surmounted, content:surmounting, content:surname, conte= nt:surnames, content:surovsky, content:surpass, content:surpassed, content:= surpassing, content:surplice, content:surplices, content:surplus, content:s= urprise, content:surprised, content:surprises, content:surprising, content:= surprisingly, content:surrender, content:surrendered, content:surrendering,= content:surrenders, content:surreptitiously, content:surround, content:sur= rounded, content:surrounding, content:surroundings, content:surrounds, cont= ent:suruchi, content:survey, content:surveyed, content:surveying, content:s= urveys, content:survival, content:survive, content:survived, content:surviv= ing, content:sury])]), content:inbox], 10, true) could it be possible that the problem is on the first spanOr?? =20 > ComplexPhraseQuery highlight problem after rewriting using ComplexPhraseQ= uery.rewrite(IndexReader) > -------------------------------------------------------------------------= ------------------------- > > Key: LUCENE-4743 > URL: https://issues.apache.org/jira/browse/LUCENE-4743 > Project: Lucene - Core > Issue Type: Bug > Components: core/search, modules/queryparser > Affects Versions: 3.6 > Reporter: Jason Nacional > Labels: complexqueryparser, newbie, queryparser > > Just want to ask an assistance using ComplexPhraseQuery. I mean, when it = comes to highlighting the hits are not correct. I also started using Comple= xPhraseQueryParser to support complex proximity searches. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs 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