uwdanny wrote:
Basically, the problem is that query keyword "pizza" occurs in 4 out of 10
values in multi-valued field "TEST_KEYWORDS"; in the first two
matching/highlighting, only "pizz" is highlighted with an extra space
beforehand (<em> pizz</em>), and "a" is left behind; and in the other two
highlighting, "pizza" is correctly highlighted.
Any hints on this weirdness?
thanks,
- dz
here's the data
<arr name="TEST_KEYWORDS">
<str>little caesars</str>
<str>little caesars pizza</str>
<str>little ceasers</str>
<str>little ceasars pizza</str>
<str>little ceasers pizza</str>
<str>little ceasars</str>
<str>little ceasar</str>
<str>Little Caesar</str>
<str>little cesar</str>
<str>little ceasar pizza</str>
</arr>
<str name="id">2664694</str>
and the following is the highlight for this field
<lst name="2664694">
−
<arr name="TEST_KEYWORDS">
−
<str>
little caesars<em> pizz</em>a
</str>
−
<str>
little ceasars<em> pizz</em>a
</str>
−
<str>
little ceasers <em>pizza</em>
</str>
−
<str>
little ceasar <em>pizza</em>
</str>
</arr>
</lst>
Which version are you using and can you paste your definition of
TEST_KEYWORDS field (field and fieldType) in schema.xml?
Koji
--
http://www.rondhuit.com/en/