Re: Catalog index for cioppino.twothumbs

David Siedband <[email protected]> Thu, 13 Aug 2015 12:42:37 +0200
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
--===============7397579852492589925==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_71CF2B1F-CF6A-4CA9-A166-93DD4556F624"


--Apple-Mail=_71CF2B1F-CF6A-4CA9-A166-93DD4556F624
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Andreas,

>> I=E2=80=99ve installed cioppino.twothumbs 1.7 into one of my Plone =
4.3 sites.
>>=20
>> I=E2=80=99m interested to sort catalog search results based on their =
rating.
>>=20
>> When I look at portal_catalog, I see an index named =
=E2=80=9Cpositive_ratings", but it seems to be empty: no distinct =
values, no objects indexed.
>>=20
>> Is this a bug, or an unfinished feature?  Anyone have indexing =
working for cioppino.twothumbs ratings=E2=80=A6  advice about how to =
fix/implement?
>=20
> I use it for a project with Dexterity content types and it seemed to
> work as expected (https://github.com/tdf/tdf.extensionsuploadcenter). =
I
> get indexed ratings in portal_catalog.

Hmm, what are the index names you=E2=80=99re seeing?  Is it =
=E2=80=9Cpositive_ratings=E2=80=9D or something else.

I=E2=80=99m calling the rating view inline, in order to integrate it =
with Ploneboard.  The votes are recorded just fine, and the ratings =
persist through page-reloads.

What should I be looking for to debug this?  Some sort of event being =
triggered by the vote action?

Thanks,
--
David Siedband
http://zentraal.com




--Apple-Mail=_71CF2B1F-CF6A-4CA9-A166-93DD4556F624
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi Andreas,<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><blockquote type=3D"cite" class=3D"">I=E2=80=99ve=
 installed cioppino.twothumbs 1.7 into one of my Plone 4.3 sites.<br =
class=3D""><br class=3D"">I=E2=80=99m interested to sort catalog search =
results based on their rating.<br class=3D""><br class=3D"">When I look =
at portal_catalog, I see an index named =E2=80=9Cpositive_ratings", but =
it seems to be empty: no distinct values, no objects indexed.<br =
class=3D""><br class=3D"">Is this a bug, or an unfinished feature? =
&nbsp;Anyone have indexing working for cioppino.twothumbs ratings=E2=80=A6=
 &nbsp;advice about how to fix/implement?<br class=3D""></blockquote><br =
class=3D"">I use it for a project with Dexterity content types and it =
seemed to<br class=3D"">work as expected (<a =
href=3D"https://github.com/tdf/tdf.extensionsuploadcenter" =
class=3D"">https://github.com/tdf/tdf.extensionsuploadcenter</a>). I<br =
class=3D"">get indexed ratings in portal_catalog.<br =
class=3D""></blockquote><br class=3D"">Hmm, what are the index names =
you=E2=80=99re seeing? &nbsp;Is it =E2=80=9Cpositive_ratings=E2=80=9D or =
something else.<br class=3D""><br class=3D"">I=E2=80=99m calling the =
rating view inline, in order to integrate it with Ploneboard. &nbsp;The =
votes are recorded just fine, and the ratings persist through =
page-reloads.<br class=3D""><br class=3D"">What should I be looking for =
to debug this? &nbsp;Some sort of event being triggered by the vote =
action?<br class=3D""><br class=3D"">Thanks,<br class=3D"">--<br =
class=3D"">David Siedband<br class=3D""><a href=3D"http://zentraal.com" =
class=3D"">http://zentraal.com</a><br class=3D""><br class=3D""><div =
apple-content-edited=3D"true" class=3D""><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px;  "><br class=3D""></span>

</div>
<br class=3D""></body></html>=

--Apple-Mail=_71CF2B1F-CF6A-4CA9-A166-93DD4556F624--


--===============7397579852492589925==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============7397579852492589925==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users

--===============7397579852492589925==--