Re: Catalog index for cioppino.twothumbs
Andreas Mantke <[email protected]> Fri, 14 Aug 2015 23:56:37 +0200
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============7811095612834190380==
Content-Type: multipart/alternative;
boundary="------------020403090902090406090906"
This is a multi-part message in MIME format.
--------------020403090902090406090906
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
Hi David,
Am 13.08.2015 um 12:42 schrieb David Siedband:
> Hi Andreas,
>
>>> Ive installed cioppino.twothumbs 1.7 into one of my Plone 4.3 sites.
>>>
>>> Im interested to sort catalog search results based on their rating.
>>>
>>> When I look at portal_catalog, I see an index named
>>> positive_ratings", but it seems to be empty: no distinct values, no
>>> objects indexed.
>>>
>>> Is this a bug, or an unfinished feature? Anyone have indexing
>>> working for cioppino.twothumbs ratings
advice about how to
>>> fix/implement?
>>
>> 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 youre seeing? Is it positive_ratings
> or something else.
it is positive_ratings.
I only use the product with
<div tal:content="structure project/@@rate-if-you-dare"/> in the page
template. And some of my catalog querries are sorted by positive_ratings.
Regards,
Andreas
--
## Developer LibreOffice
## Freie Office-Suite für Linux, Mac, Windows
## http://LibreOffice.org
## Support the Document Foundation (http://documentfoundation.org)
## Meine Seite: http://www.amantke.de
--------------020403090902090406090906
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi David,<br>
<br>
Am 13.08.2015 um 12:42 schrieb David Siedband:<br>
</div>
<blockquote
cite="mid:67D648C5-0A97-4A0E-83AE-1015BA5033F5-3oGj5KeRYLrZ1NkodEmWbg@public.gmane.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi Andreas,<br class="">
<br class="">
<blockquote type="cite" class="">
<blockquote type="cite" class="">Ive installed
cioppino.twothumbs 1.7 into one of my Plone 4.3 sites.<br
class="">
<br class="">
Im interested to sort catalog search results based on their
rating.<br class="">
<br class="">
When I look at portal_catalog, I see an index named
positive_ratings", but it seems to be empty: no distinct
values, no objects indexed.<br class="">
<br class="">
Is this a bug, or an unfinished feature? Anyone have indexing
working for cioppino.twothumbs ratings
advice about how to
fix/implement?<br class="">
</blockquote>
<br class="">
I use it for a project with Dexterity content types and it
seemed to<br class="">
work as expected (<a moz-do-not-send="true"
href="https://github.com/tdf/tdf.extensionsuploadcenter"
class="">https://github.com/tdf/tdf.extensionsuploadcenter</a>).
I<br class="">
get indexed ratings in portal_catalog.<br class="">
</blockquote>
<br class="">
Hmm, what are the index names youre seeing? Is it
positive_ratings or something else.<br class="">
</blockquote>
<br>
it is positive_ratings.<br>
<br>
I only use the product with<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9,0pt;"><span style="background-color:#efefef;"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;">div </span><span style="background-color:#efefef;">tal:content=</span><span style="color:#008000;font-weight:bold;">"structure project/@@rate-if-you-dare"</span><span style="color:#008000;background-color:#efefef;font-weight:bold;"> </span><span style="background-color:#efefef;">/>
in the page template.
And some of my catalog querries are sorted by positive_ratings.
</span>
</pre>
Regards,<br>
Andreas<br>
<pre class="moz-signature" cols="72">--
## Developer LibreOffice
## Freie Office-Suite für Linux, Mac, Windows
## <a class="moz-txt-link-freetext" href="http://LibreOffice.org">http://LibreOffice.org</a>
## Support the Document Foundation (<a class="moz-txt-link-freetext" href="http://documentfoundation.org">http://documentfoundation.org</a>)
## Meine Seite: <a class="moz-txt-link-freetext" href="http://www.amantke.de">http://www.amantke.de</a>
</pre>
</body>
</html>
--------------020403090902090406090906--
--===============7811095612834190380==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
--===============7811095612834190380==
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
--===============7811095612834190380==--