>
> Interesting there is a parameter (hl.requireFieldMatch) about this but
> default
> value is false.
Interesting indeed! I have tried setting hl.requireFieldMatch manually to false
before - but no luck.
>
> Are you using some default highlighting parameters defined in solrconfig.xml?
> You can see them appending &echoParams=all
I am using the standard solrconfig.xml that comes with the release. The
echoParams returns:
<str name="echoParams">all</str>
<str name="fl">sku,title,long_description</str>
<str name="echoParams">all</str>
<str name="hl.fl">long_description</str>
<str name="hl">true</str>
<str name="q">title:terminator</str>
>
> Are field type of title and long_description the same?
>
> Maybe your browser cache is deceiving you?
The title and long_description are almost the same. The only difference is that
I've taken out the "solr.SnowballPorterFilterFactory" filter, so that the
titles are not stemmed. I actually as part of the test before writing to this
list I tried creating the type that has only the standard tokenizer defined -
and the results were the same.
In regards to the caching... I cleaned out the index and now I it's containing
just those 2 documents (london and terminator). I can see the changes straight
away if I change and re-index - so I think that should be fine. It's really
puzzling that it works for one doc but not for the other.