On Wed, Jan 18, 2017 at 12:37 PM, Enste, Patrick <patrick.en...@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/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/metadata/DocumentSolrMetadataExtractor.java#L106 . 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 > >