[TYPO3-Solr] Problem: the same page appears twice in search results
Dmitry Dulepov
dmitry.dulepov at gmail.com
Thu Feb 28 06:32:05 CET 2013
Hi Jigal!
Jigal van Hemert wrote:
>> When the user from group 68 searches for words, solr shows him both
>> instances of the same page. The customer (of course) says there should
>> be only one.
>
> I've come across the same problem quite a while ago. It is indeed caused
> by a content element that has limited access set to it.
> In such cases more than one version of the document (each with different
> fe_groups or virtual groups) is indexed by solr. Both documents will
> show up in the results (they are different documents for solr).
>
> It was reported to Ingo and also investigated a bit by him, but if I
> remember correctly it didn't have much priority.
> A solution could be that solr would be told somehow to only produce
> results with unique URLs. There seem to be possibilities in solr to do
> that, but I haven't looked into them.
After looking at it for 3 hours I think the problem can be solved if
EXT:solr would index page for exact user groups, just like old good
crawler+indexed_search do. TYPO3 access filter inside Solr server should
filter results by the exact group list. That would solve the issue. The
question is: will DKD make it or not? :)
--
Dmitry Dulepov
TYPO3 CMS core & security teams member
Love gorillas.
More information about the TYPO3-project-solr
mailing list