lucene-dev mailing list archives

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


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message