On Wed, Jan 18, 2017 at 12:37 PM, Enste, Patrick <patrick.enste(a)atos.net>
wrote:
Hey,
thank you very much :) This helped a lot! Now the raw content is not shown.
Unfortunately I have another problem now: The text
inside {{html}} tags
(and so on) seems not to be indexed.
It is indexed, but as part of the raw content.. See
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
. So if you have:
one {{html}}two{{/html}} three
doccontent: one three
doccontentraw: one {{html}}two{{/html}} three
So you can't have "two" without "{{html}}" ATM. Of course, you can
try to
overwrite the DocumentSolrMetadataExtractor component, but I don't know if
there is a renderer that does what you wish.
Hope this helps,
Marius
Best regards,
Patrick