add relatedDoc in fulltext api