[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to