[GeoNetwork-devel] What is the meaning of summary

Hi,

I have been looking at the method LuceneSearcher.buildSummaryMaps. Currently the summary that is built find the number of occurrences of a particular info element. If an element is present 3 times in one metadata it is counted 3 times. I had expected the summary to say how many metadata that contain a particular element, not how many occurrences there are of that element.

Does anyone have an opinion on this? I have attached the patch if anyone wants to review it.

Jesse

(attachments)

summary.patch (2.05 KB)