[TYPO3-Solr] Problem: the same page appears twice in search results
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Feb 27 14:54:37 CET 2013
Hi!
We have an interesting situation with indexing protected content. Setup:
==================================
page: uid=134,fe_group=68
|- ce #1: group=0
|- ce #2: group=68
==================================
Indexing this page leads to two entries in the solr index with the
following data:
==================================
<doc>
<str name="access">134:68/c:0</str>
<str name="id">
a338c9ed1e9a5abd900865b06bea55be/pages/132/134/0/0/0,68
</str>
<int name="uid">134</int>
</doc>
<doc>
<str name="access">134:68/c:68</str>
<str name="id">
a338c9ed1e9a5abd900865b06bea55be/pages/132/134/0/0/68
</str>
<int name="uid">134</int>
</doc>
==================================
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.
We probably can get rid of the issue by setting groups to 68 for all
content elements on this page. But it would be hard to explain the
customer why he should do so in future.
Is this a known issue? How to avoid it?
The issue is quite urgent :(
--
Dmitry Dulepov
TYPO3 CMS core & security teams member
Love gorillas.
More information about the TYPO3-project-solr
mailing list