There are multiple Highlighter implementations for this purpose. Check
them out -- I'm sure one of them will suit your needs. In fact,
there's a new highlighter implemented very recently! Check out this
JIRA issue:

https://issues.apache.org/jira/browse/LUCENE-7438

Dawid

On Fri, Sep 30, 2016 at 8:46 AM, szzoli <reg9sz...@freemail.hu> wrote:
> I would like to show the results of a Query, including hits/document and then
> the position of the term found.
> What makes it more complicated, is, that I have to use a PhaseQuery, to
> search for a list of terms.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-can-I-get-the-term-positions-from-a-query-tp4298640p4298785.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to