[Zope3-Users] TextIndexNG ranking questions

Andreas Jung lists at zopyx.com
Tue Apr 15 07:18:33 EDT 2008



--On 15. April 2008 12:51:15 +0200 Thierry Florac <thierry.florac at onf.fr> 
wrote:

>
>   Hi,
>
> I'm currently using TextIndexNG-3.2.0 as well as other zc.catalog
> indexes in a Zope-3.3.1 application.
> Indexing several fields as well as external files seems OK, but now I'm
> facing a few interrogations about searching and ranking :
>
> 1. I've created TXNG indexes with a "term_frequencies" storage and
> ranking enabled => OK
>
> 2. I'm now using "hurry.query" package to run queries on a set of
> catalogs ; it's generally OK but my main question are :
>
> - how can I use TXNG ranking feature when running a single query against
> several indexes (actually I have to run queries against several
> ValueIndex indexes, matching workflow status and publication date, and
> one or two TextIndexNG indexes -- one for title and another one for
> content) ? How can I be sure that my results order is matching
> ranking ??

Using the ranking of TextIndexNG makes basially only sense when you perform 
a query against the index alone - not in combination with queries against 
other fields.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080415/e9956878/attachment.bin


More information about the Zope3-users mailing list