Hello,
I want to use the moreLikeThis Component to get similar documents from a
sharded SOLR. This works quite well except for the fact that the
documents in the moreLikeThis-list only contain the id/unique key of the
documents.
Is it possible to get the other fields? I can of course do another query
for the given IDs, but this would be complicated and very slow.
For example:
http://mysolrsystem/?q=id:524507260&mlt=true&mlt.fl=title&mlt.mintf=0&indent=true&mlt.match.include=true&fl=title,id,topic
creates
(...)
<lst name="moreLikeThis">
<result name="524507260" numFound="5" start="0" maxScore="4.583166">
<doc><str name="id">646199803</str></doc>
<doc><str name="id">613210832</str></doc>
<doc><str name="id">562239472</str></doc>
<doc><str name="id">819200034</str></doc>
<doc><str name="id">539877271</str></doc>
</result>
(...)
I tried to modify the fl-parameter, but I can only switch the ID-field
in the moreLikeThis-Documents on and off (the latter resulting in empty
document tags). In the result list however, the fl-fields are shown as
specified.
I would be very grateful for help.
Best wishes,
Jan Maas