On Mon, Aug 3, 2009 at 8:45 PM, Stephen Green<
[hidden email]> wrote:
> On Mon, Aug 3, 2009 at 8:38 PM, Stephen Green<
[hidden email]> wrote:
>> On Mon, Aug 3, 2009 at 8:34 PM, Erik Hatcher<
[hidden email]> wrote:
>>> Is default-search-field stored (as specified in schema.xml)?
>>
>> Yep:
>>
>> <field name="default-search-field"
>> type="html" indexed="true" stored="true"
>> termVectors="true" multiValued="true"/>
>>
>> While trying to figure this out, I went and did ant run-examples to
>> bring up the example in Jetty (I'm using Tomcat), and tried a couple
>> of queries in the resulting /solr/admin, and they don't appear to be
>> highlighted either.
>
> Actually, if I check the highlighting box in the "full interface"
> query option in the Solr admin panel, I notice that an element like:
>
> <lst name="highlighting">
> <lst name="SOLR1000"/>
> </lst>
>
> Is added to the end of the results that are returned.
>
> Oh, and thanks for the fast response, Erik :-)
OK, I think I might just be dumb. The query response has a set of
highlighted things with references to the docs that were highlighted.
There's enough information there to create the highlighted
representation that I want.
Duh.
Steve Green