On Tue, Feb 4, 2014 at 1:16 PM, Michael Sokolov wrote:

> 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

I am aware of Lux, but moving to use it would be a major redesign effort
for the project I am on, something that likely would not get management
approval.

BTW, just within the scope of the class you cite, doing a quick look at
it, it looks like I may have to modify highlighting code behavior to
support how the project I am transforms the XML data.  Example: we deal
with attribute data that gets transformed to render content in the HTML
served to the client, and the highlighting code cited does not appear to
handle XML attributes.

There are other technical challenges also due to the nature of the
project.  There may be ways deal with the challenges, but any further
analysis is not worth it if there is never any approval for me to pursue
a redesign for the project.

--ewh

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