Hi forest 
Do you have a html to richtext converter? You could use it on the highlighter's 
output. Otherwise you could count characters in the html. That might only be 
useful if your richtext font is fixed width.
Cheers -- Rick

On March 30, 2017 4:39:39 AM EDT, forest_soup <tanglin0...@gmail.com> wrote:
>Unfortunately the rich text is not an html/xml/doc/pdf or any other
>popular
>rich text format. And we would like to show the highlighted text in the
>doc's own specific viewer. That's why I'm eagerly want the offset.
>
>The /tvrh(term vector component) and tv.offsets/tv.positions can give
>us
>such info, but they returns all terms' data instead of the being
>searched
>ones. So we are still seeking ways to filter the results.
>
>Any ideas? 
>
>Thanks!
>
>
>
>--
>View this message in context:
>http://lucene.472066.n3.nabble.com/Is-there-a-way-to-retrieve-the-a-term-s-position-offset-in-Solr-tp4326931p4327623.html
>Sent from the Solr - User mailing list archive at Nabble.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to