lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Nacional (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4743) ComplexPhraseQuery highlight problem after rewriting using ComplexPhraseQuery.rewrite(IndexReader)
Date Tue, 05 Feb 2013 01:21:11 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570829#comment-13570829
] 

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.â,
content:surer, content:surest, content:surety, content:surf, content:surface, content:surfaced,
content:surfaces, content:surge, content:surged, content:surgeon, content:surgeonâ, content:surgery,
content:surges, content:surgical, content:surging, content:surlier, content:surly, content:surmise,
content:surmised, content:surmises, content:surmount, content:surmounted, content:surmounting,
content:surname, content:surnames, content:surovsky, content:surpass, content:surpassed, content:surpassing,
content:surplice, content:surplices, content:surplus, content:surprise, content:surprised,
content:surprises, content:surprising, content:surprisingly, content:surrender, content:surrendered,
content:surrendering, content:surrenders, content:surreptitiously, content:surround, content:surrounded,
content:surrounding, content:surroundings, content:surrounds, content:suruchi, content:survey,
content:surveyed, content:surveying, content:surveys, content:survival, content:survive, content:survived,
content:surviving, content:sury])]), content:inbox], 10, true)

could it be possible that the problem is on the first spanOr??
                
> ComplexPhraseQuery highlight problem after rewriting using ComplexPhraseQuery.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 ComplexPhraseQueryParser to support complex
proximity searches.

--
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


Mime
View raw message