I have documents that are shared between different sites. Each wants
to measure the popularity of a document and be able to sort on this
value or have it impact the search relevance.
There is the obvious naive solution to have a field per site, per
document to measure this. This would get updated by some batch process
at some interval. I have some concerns on how well this will scale, as
we'd be nearly constantly re-indexing documents, in most cases these
are multi page reports.
It seems that the parent/child support might be able to fulfill this
case, but I am still trying to wrap my head around use cases for this
functionality. If I had the main parent document, and each child
document is a per site popularity score, I'd be able to update just
However, I'd need to be able to search against the parent docs and
sort on a child doc value. Is that possible?
Are there any alternatives I may be overlooking?