Use of HasRelatedText facet?

What is the facet HasRelatedText for?

0 votes

1 answers

1925 views

ANSWER



This facet can be added dynamically to a document to store arbitrary related text that will be used in the fulltext index for the document. In this way, you can find the document with a fulltext search on more that just what's stored in the document.

This is used for instance to add the Annotations fulltext to the document, or in the Semantic Entities plugin. We'd like to do it for comments as well but it's not done yet.

It can be used by third-parties to add further text.

Of course this requires that the fulltext index includes the relatedtext schema. This is the default, but if you redefine the default index it's important to know.

2 votes



Thanks - very clear.

It would be good cut and paste that here: What document facets are there.

05/24/2012

Ah yes, thanks for reminding me of this page.
05/24/2012