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 Mon, 04 Feb 2013 06:36:13 GMT

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

Jason Nacional commented on LUCENE-4743:
----------------------------------------

I also have a question about rewriting ComplexPhraseQuery. Do I really need to always open
an IndexReader? I mean, in our system, searching and viewing the hit document is a separate
page. So what I'm doing to highlight terms (since I used ComplexPhraseQuery and it needs to
be "rewritten") is to open an IndexReader.

I hope you understand my concerns. And I apologize for so many questions.

Thanks.


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