Hi,

I have a use case where I have to highlight indexed field values in
arbitrary text without indexing arbitrary text.

Here is an example

*Indexed field values are*
Lucid
Platform
Solr

*Arbitrary text (not indexed)*
Lucid Imagination and Guardian News and Media today announced that the
Guardian‘s Open Platform, commercially launched today,  is powered by Solr,
the Lucene Enterprise Search Server. During development of the Content API,
the Guardian tapped Lucid Imagination's deep expertise with Solr and related
technologies, unlocking the Guardian’s content for new online commercial
service models.

*Expected result
<em>Lucid</em>* Imagination and Guardian News and Media today announced that
the Guardian‘s Open *<em>Platform</em>*, commercially launched today,  is
powered by *<em>Solr</em>*, the Lucene Enterprise Search Server. During
development of the Content API, the Guardian tapped Lucid Imagination's deep
expertise with *<em>Solr</em>* and related technologies, unlocking the
Guardian’s content for new online commercial service models.


One approach is to use FieldAnalysisRequestHandler which takes three inputs
1) field name 2) field value 3) query. I can provide 1 and 3 but I have to
query index to get field value(s). Querying index for values and feeding
them to FieldAnalaysisRequestHandler doesn't sound like a good option in my
opinion.

How can I achieve this? Any pointers would be helpful.

Thank You
Binesh Gummadi

Reply via email to