lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Sokolov <msoko...@safaribooksonline.com>
Subject Re: Highlighting text, do I seriously have to reimplement this from scratch?
Date Tue, 04 Feb 2014 19:16:25 GMT
On 2/4/14 12:16 PM, Earl Hood wrote:
> On Tue, Feb 4, 2014 at 12:20 AM, Trejkaz wrote:
>
>> I'm trying to find a precise and reasonably efficient way to highlight
>> all occurrences of terms in the query, only highlighting fields which
>> ...
>    [snip]
>
> I am in a similiar situation with a web-based application, plus the
> content (XML) is dynamically transformed for purposes of rendering,
> making using the highlighter features of Lucene problematic from an
> intergration perspective.
You might be interested in looking at Lux, which layers XML services 
like XQuery on top of Lucene and Solr, and includes an XML-aware 
highlighter: 
https://github.com/msokolov/lux/blob/master/src/main/java/lux/search/highlight/XmlHighlighter.java

-Mike

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


Mime
View raw message