Hi All,
I am having a problem with search highlighting for multiValued fields and am
wondering if someone can point me in the right direction.
I have in my schema a multiValued field as such:
<field name="description" type="text" stored="true" indexed="true"
multiValued="true"/>
When I search for term "Tel", it returns me the correct doc:
<doc>
...
<arr name="description">
<str>Tel to talent 1</str>
<str>Tel to talent 2</str>
</arr>
...
</doc>
When I enable highlighting, it returns me the following highlight with only
one vector returned:
...
<lst name="highlighting">
<lst name="1">
<arr name="description">
<str><em>Tel</em> to talent 1</str>
</arr>
</lst>
</lst>
What I'm expecting is actually both vectors to be returned as such:
<lst name="highlighting">
<lst name="1">
<arr name="description">
<str><em>Tel</em> to talent 1</str>
<str><em>Tel</em> to talent 2</str>
</arr>
</lst>
</lst>
Am I doing something wrong in my config or query (I'm using default)? Any
help is appreciated.
Thanks,
Jeff